Mercurial > cpython-lru_cache-weakref
diff Lib/idlelib/PyShell.py @ 40094:6670dda4b27d 2.5
Bug #813342: Start the IDLE subprocess with -Qnew if the parent
is started with that option.
(backport from rev. 52295)
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Thu, 12 Oct 2006 07:57:24 +0000 |
| parents | d9660f51b056 |
| children | 787b969d37f0 |
line wrap: on
line diff
--- a/Lib/idlelib/PyShell.py Thu Oct 12 07:38:08 2006 +0000 +++ b/Lib/idlelib/PyShell.py Thu Oct 12 07:57:24 2006 +0000 @@ -351,6 +351,8 @@ def build_subprocess_arglist(self): w = ['-W' + s for s in sys.warnoptions] + if 1/2 > 0: # account for new division + w.append('-Qnew') # Maybe IDLE is installed and is being accessed via sys.path, # or maybe it's not installed and the idle.py script is being # run from the IDLE source directory.
