Message171163
pkgutil is used by runpy to run Python modules that are loaded via the -m command line switch.
Unfortunately, this doesn't work for frozen modules, since pkgutil doesn't know how to load their code object (this can be had via imp.get_code_object() for frozen modules).
We found the problem while working on eGenix PyRun (see http://www.egenix.com/products/python/PyRun/) which uses frozen modules extensively. We currently only target Python 2.x, so will have work around the problem with a patch, but Python 3.x still has the same problem. |
|
Date |
User |
Action |
Args |
2012-09-24 17:02:41 | lemburg | set | recipients:
+ lemburg |
2012-09-24 17:02:41 | lemburg | set | messageid: <1348506161.12.0.954547119673.issue16027@psf.upfronthosting.co.za> |
2012-09-24 17:02:40 | lemburg | link | issue16027 messages |
2012-09-24 17:02:40 | lemburg | create | |
|