[New-bugs-announce] [issue38077] IDLE leaking ARGV into globals() namespace

Raymond Hettinger report at bugs.python.org
Mon Sep 9 17:13:04 EDT 2019

New submission from Raymond Hettinger <raymond.hettinger at gmail.com>:


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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list