[issue38077] IDLE leaking ARGV into globals() namespace

2020-10-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since I opened the followup issue, yes. Thanks for noticing. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue38077] IDLE leaking ARGV into globals() namespace

2020-10-10 Thread Irit Katriel
Irit Katriel added the comment: This seems complete, can it be closed? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread Vedran Čačić
Vedran Čačić added the comment: I just want to express my delight, Terry, about your desire to solve the root of the problem instead of just fixing a particular instance. (This is not the first time I witnessed that.) It's a big part of the reason why I love Python so much. -- nosy:

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset 64947dc81a94692fa8ed21c2199a19a0188150ad by Miss Islington (bot) in branch '3.7': bpo-38077: IDLE no longer adds 'argv' to the user namespace (GH-15818) https://github.com/python/cpython/commit/64947dc81a94692fa8ed21c2199a19a0188150ad

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset 29bde48ade5dbd5d88cfe309653014c84bebb89c by Miss Islington (bot) in branch '3.8': bpo-38077: IDLE no longer adds 'argv' to the user namespace (GH-15818) https://github.com/python/cpython/commit/29bde48ade5dbd5d88cfe309653014c84bebb89c

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +15468 pull_request: https://github.com/python/cpython/pull/15820 ___ Python tracker ___

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +15467 pull_request: https://github.com/python/cpython/pull/15819 ___ Python tracker ___

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset c59295a1ca304f37ca136dd7efca9e560db27d28 by Terry Jan Reedy in branch 'master': bpo-38077: IDLE no longer adds 'argv' to the user namespace (GH-15818) https://github.com/python/cpython/commit/c59295a1ca304f37ca136dd7efca9e560db27d28

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +15466 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15818 ___ Python tracker ___

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified that 'argv' (bound to sys.argv) appears for all three versions after running an editor file, but not when Shell is started normally, without a file. The immediate culprit is the runcommand code in runscript, lines 156-168. As part of the patch

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread Raymond Hettinger
Change by Raymond Hettinger : -- versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38077] IDLE leaking ARGV into globals() namespace

2019-09-09 Thread Raymond Hettinger
New submission from Raymond Hettinger : 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__',