[Python-Dev] os.defpath for Windows (original) (raw)

anatoly techtonik techtonik at gmail.com
Fri Dec 26 15:25:34 CET 2008


I can't see any logical reason for that. There should not be such a hack to avoid "magical bugs" when PATH is empty.

On Sun, Dec 21, 2008 at 11:19 AM, Yinon Ehrlich <yinon.me at gmail.com> wrote:

Hi,

just saw that os.defpath for Windows is defined as Lib/ntpath.py:30:defpath = '.;C:\bin' Most Windows machines I saw has no c:\bin directory. Any reason why it was defined this way ? Thanks, Yinon


Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/techtonik%40gmail.com

-- --anatoly t.



More information about the Python-Dev mailing list