[issue11374] pkgutil.extend_path do not recognize py{c,o} file
Éric Araujo
report at bugs.python.org
Wed Jun 1 20:17:25 CEST 2011
Éric Araujo <merwok at netwok.org> added the comment:
Hi, thanks for the report and patch. I think the code should not find byte-compiled files if sys.dont_write_bytecode is true, and it should not find pyo files when sys.flags.optimize has a certain value (I don’t remember if it’s 1 or 2). It also requires tests.
----------
nosy: +eric.araujo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11374>
_______________________________________
More information about the Python-bugs-list
mailing list