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 xdegaye
Recipients Jurko.Gospodnetić, georg.brandl, kay, r.david.murray, xdegaye
Date 2014-04-13.20:12:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397419958.53.0.652966869394.issue21161@psf.upfronthosting.co.za>
In-reply-to
Content
The NameError exception occuring on a generator expression referencing a local variable when the generator is called within exec() is the object of multiple entries in the bug tracker, see issue 13557.

msg 149096 in this issue suggests using exec(code, locals()) to fix the problem. It seems that what does currently the do_interact() method, and what is proposed in the patch is the recommended practice to handle this problem.
History
Date User Action Args
2014-04-13 20:12:38xdegayesetrecipients: + xdegaye, georg.brandl, r.david.murray, Jurko.Gospodnetić, kay
2014-04-13 20:12:38xdegayesetmessageid: <1397419958.53.0.652966869394.issue21161@psf.upfronthosting.co.za>
2014-04-13 20:12:38xdegayelinkissue21161 messages
2014-04-13 20:12:38xdegayecreate