New submission from Raymond Hettinger <raymond.hettin...@gmail.com>:
Reproducer: 1) Turn-on IDLE 2) Create an empty file called: tmp.py 3) Press F5 to run the empty file 4) In the output shell window, type dir() which gives >>> dir() ['__annotations__', '__builtins__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', 'argv'] ---------- assignee: terry.reedy components: IDLE messages: 351552 nosy: rhettinger, terry.reedy priority: high severity: normal status: open title: IDLE leaking ARGV into globals() namespace type: behavior versions: Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38077> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com