This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, berker.peksag, gennad, georg.brandl, ncoghlan, oquanox, pitrou, rock
Date 2015-01-23.15:44:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1422027888.95.0.860786132822.issue21862@psf.upfronthosting.co.za>
In-reply-to
Content
This change will cause the module to be imported twice:
    progname = runpy.run_module(args[0])['__file__']
... and then the runctx() call.

What about something like:
    code = "runpy.run_module(modname, run_name='__main__')"
    globs = { 'runpy': runpy, 'modname': args[0] }
History
Date User Action Args
2015-01-23 15:44:49amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, georg.brandl, ncoghlan, pitrou, gennad, berker.peksag, rock, oquanox
2015-01-23 15:44:48amaury.forgeotdarcsetmessageid: <1422027888.95.0.860786132822.issue21862@psf.upfronthosting.co.za>
2015-01-23 15:44:48amaury.forgeotdarclinkissue21862 messages
2015-01-23 15:44:48amaury.forgeotdarccreate