Message162673
Actually it's a lot easier than that, although it is very much a hack: just rename the .pyo files to .pyc, and python without -O will happily import them. Since the optimization happens when the bytecode is written, this does what you want. |
|
Date |
User |
Action |
Args |
2012-06-12 13:26:10 | r.david.murray | set | recipients:
+ r.david.murray, terry.reedy, vstinner, lebigot, eric.araujo, docs@python, mherrmann.at |
2012-06-12 13:26:10 | r.david.murray | set | messageid: <1339507570.11.0.0160915347923.issue12982@psf.upfronthosting.co.za> |
2012-06-12 13:26:09 | r.david.murray | link | issue12982 messages |
2012-06-12 13:26:08 | r.david.murray | create | |
|