Message162670
Michael, I don’t think your proposed change would be considered favorably: importing .pyc or .pyo is well defined for CPython and the -O switch is really required for .pyo. However you may be able to import them anyway without any change to Python if you write a custom importer (more info in PEP 302 and the import docs) which reuses the low-level imp module to find and load .pyo files. |
|
Date |
User |
Action |
Args |
2012-06-12 13:15:58 | eric.araujo | set | recipients:
+ eric.araujo, terry.reedy, vstinner, lebigot, docs@python, mherrmann.at |
2012-06-12 13:15:57 | eric.araujo | set | messageid: <1339506957.81.0.336240976747.issue12982@psf.upfronthosting.co.za> |
2012-06-12 13:15:57 | eric.araujo | link | issue12982 messages |
2012-06-12 13:15:56 | eric.araujo | create | |
|