Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:

On Wed, Jul 21, 2010 at 12:13 AM, Eli Bendersky <rep...@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

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9317>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to