[Python-Dev] PEP-8 wart... it recommends short names because of DOS

Serhiy Storchaka storchaka at gmail.com
Wed Oct 21 03:44:19 EDT 2015


On 21.10.15 04:25, Gregory P. Smith wrote:
> https://www.python.org/dev/peps/pep-0008/#names-to-avoid
>
> /"Since module names are mapped to file names, and some file systems are
> case insensitive and truncate long names, it is important that module
> names be chosen to be fairly short -- this won't be a problem on Unix,
> but it may be a problem when the code is transported to older Mac or
> Windows versions, or DOS."/
>
> There haven't been computers with less than 80 character file or path
> name element length limits in wide use in decades... ;)

We should also avoid special file names like con.py or lpt1.py.




More information about the Python-Dev mailing list