Author lemburg
Recipients lemburg
Date 2012-09-24.17:02:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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 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:41lemburgsetrecipients: + lemburg
2012-09-24 17:02:41lemburgsetmessageid: <>
2012-09-24 17:02:40lemburglinkissue16027 messages
2012-09-24 17:02:40lemburgcreate