Author lemburg
Recipients lemburg
Date 2012-09-24.17:02:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348506161.12.0.954547119673.issue16027@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-09-24 17:02:41lemburgsetrecipients: + lemburg
2012-09-24 17:02:41lemburgsetmessageid: <1348506161.12.0.954547119673.issue16027@psf.upfronthosting.co.za>
2012-09-24 17:02:40lemburglinkissue16027 messages
2012-09-24 17:02:40lemburgcreate