mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-38077: IDLE no longer adds 'argv' to the user namespace (GH-15818)
This only happened when initializing the subprocess to run a module. This recent bug only affected 3.7.4 and 3.8.0b2 to 3.8.0b4.
This commit is contained in:
parent
b5381f6697
commit
c59295a1ca
3 changed files with 6 additions and 1 deletions
|
@ -3,6 +3,9 @@ Released on 2019-10-20?
|
||||||
======================================
|
======================================
|
||||||
|
|
||||||
|
|
||||||
|
bpo-38077: IDLE no longer adds 'argv' to the user namespace when
|
||||||
|
initializing it. This bug only affected 3.7.4 and 3.8.0b2 to 3.8.0b4.
|
||||||
|
|
||||||
bpo-38401: Shell restart lines now fill the window width, always start
|
bpo-38401: Shell restart lines now fill the window width, always start
|
||||||
with '=', and avoid wrapping unnecessarily. The line will still wrap
|
with '=', and avoid wrapping unnecessarily. The line will still wrap
|
||||||
if the included file name is long relative to the width.
|
if the included file name is long relative to the width.
|
||||||
|
|
|
@ -164,7 +164,7 @@ class ScriptBinding:
|
||||||
_sys.argv = argv
|
_sys.argv = argv
|
||||||
import os as _os
|
import os as _os
|
||||||
_os.chdir({dirname!r})
|
_os.chdir({dirname!r})
|
||||||
del _sys, _basename, _os
|
del _sys, argv, _basename, _os
|
||||||
\n""")
|
\n""")
|
||||||
interp.prepend_syspath(filename)
|
interp.prepend_syspath(filename)
|
||||||
# XXX KBK 03Jul04 When run w/o subprocess, runtime warnings still
|
# XXX KBK 03Jul04 When run w/o subprocess, runtime warnings still
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
IDLE no longer adds 'argv' to the user namespace when initializing it. This
|
||||||
|
bug only affected 3.7.4 and 3.8.0b2 to 3.8.0b4.
|
Loading…
Add table
Add a link
Reference in a new issue