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 <rep...@bugs.python.org> <http://bugs.python.org/issue8943> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com