Mailing List Archive

[issue8943] Bug in InteractiveConsole
Michael Dorman added the comment:

I'd suggest this is an issue in the doc for the InteractiveInterpreter class.

Try locals=global() and your problem goes away. (namespace == __main__)...

----------
keywords: +patch
nosy: +mjdorma
Added file: http://bugs.python.org/file26917/issue8943.diff

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue8943>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue8943] Bug in InteractiveConsole [ In reply to ]
Changes by Michael Dorman <mjdorma@gmail.com>:


----------
nosy: +ncoghlan

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue8943>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com