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 belopolsky
Recipients belopolsky, eli.bendersky, terry.reedy
Date 2010-07-21.04:22:44
SpamBayes Score 0.009289541
Marked as misclassified No
Message-id <AANLkTikUTh_1UF4fSgimEVuKZ5wr7ab6NMtI1K8iC9w7@mail.gmail.com>
In-reply-to <1279685603.48.0.352825379998.issue9317@psf.upfronthosting.co.za>
Content
On Wed, Jul 21, 2010 at 12:13 AM, Eli Bendersky <report@bugs.python.org> wrote:
..
> I'm investigating further, but this may very well be caused by different behavior
> of `f_code.co_filename` between Python 2 and 3.

I am afraid I am a step ahead of you.  The culprit is

           t.run('exec(%r)' % (script,))

line in 3.x instead of

            t.run('execfile(%r)' % (progname,))

in 2.x
History
Date User Action Args
2010-07-21 04:22:47belopolskysetrecipients: + belopolsky, terry.reedy, eli.bendersky
2010-07-21 04:22:45belopolskylinkissue9317 messages
2010-07-21 04:22:44belopolskycreate