[issue13267] Add an option to disable importing orphaned bytecode files

2011-10-26 Thread Nick Coghlan
Nick Coghlan added the comment: This feature is unnecessary now that PEP 3147 has been adopted. The way it works in 3.2+ is that orphaned bytecode files inside __pycache__ are always ignored, while bytecode files that live directly in the source directories are always imported. This handles

[issue13267] Add an option to disable importing orphaned bytecode files

2011-10-26 Thread Petri Lehtinen
New submission from Petri Lehtinen : This has been discussed in python-ideas approx. two years ago: http://mail.python.org/pipermail/python-ideas/2009-December/006635.html It seems to me that having an opt-in command-line option, environment variable and sys variable to disable loading orphane