[Python-ideas] 'from os.path import FILE, DIR' or internal structure of filenames

Nick Coghlan ncoghlan at gmail.com
Sun Sep 29 02:21:43 CEST 2013

Note that any remaining occurrences of non-absolute values in __file__ are
generally considered bugs in the import system. However, we tend not to fix
them in maintenance releases, since converting relative paths to absolute
paths runs a risk of breaking user code.

We're definitely *not* going to further pollute the module namespace with
values that can be trivially and reliably derived from existing values.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130929/576fc976/attachment.html>

More information about the Python-ideas mailing list