diff options
| author | Georg Brandl <georg@python.org> | 2012-10-10 16:56:22 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2012-10-10 16:56:22 +0200 |
| commit | dbcf32686bff5bf68650b68c3cdbfb3ec03e4fa1 (patch) | |
| tree | a3c1b2486a982852e9809d582a4c8eb5eac51d15 /Lib/idlelib/PyShell.py | |
| parent | 40b4284929f2b6eb8e8c2cb524b390cacde6a3a5 (diff) | |
| parent | 4e4ce2b43abcd9ed4af0cf12730ffb393ac9a5f8 (diff) | |
| download | cpython-dbcf32686bff5bf68650b68c3cdbfb3ec03e4fa1.tar.gz | |
merge 3.3
Diffstat (limited to 'Lib/idlelib/PyShell.py')
| -rw-r--r-- | Lib/idlelib/PyShell.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 50d6182ab6..142c924b95 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -1008,7 +1008,10 @@ class PyShell(OutputWindow): self.close() return False else: - nosub = "==== No Subprocess ====" + nosub = ("==== No Subprocess ====\n\n" + + "WARNING: Running IDLE without a Subprocess is deprecated\n" + + "and will be removed in a later version. See Help/IDLE Help\n" + + "for details.\n\n") sys.displayhook = rpc.displayhook self.write("Python %s on %s\n%s\n%s" % @@ -1295,7 +1298,8 @@ USAGE: idle [-deins] [-t title] [file]* idle [-dns] [-t title] - [arg]* -h print this help message and exit - -n run IDLE without a subprocess (see Help/IDLE Help for details) + -n run IDLE without a subprocess (DEPRECATED, + see Help/IDLE Help for details) The following options will override the IDLE 'settings' configuration: @@ -1373,6 +1377,8 @@ def main(): if o == '-i': enable_shell = True if o == '-n': + print(" Warning: running IDLE without a subprocess is deprecated.", + file=sys.stderr) use_subprocess = False if o == '-r': script = a |
