New submission from Giambattista Bloisi: site.py ha two limitations that make difficult to use pth files on my linux installation (gobolinux): - it does not process pth files that are located in directories that are already present in os.path at the time the main method is invoked - it does not process directory recursively
Please find attached a patch that solves both. Basically known_paths became a set representing the directories that have been processed. Duplicates in os.path are avoided by looking directly into it. ---------- components: Library (Lib) files: site.py.patch messages: 57432 nosy: gbloisi severity: normal status: open title: pth files not loaded at startup type: behavior versions: Python 2.5 Added file: http://bugs.python.org/file8739/site.py.patch __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1431> __________________________________
site.py.patch
Description: Binary data
_______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com