aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_cmd_line.py
Commit message (Collapse)AuthorAge
...
* Merge debug print removal with 3.3.Ezio Melotti2012-11-23
|\
| * Merge debug print removal with 3.2.Ezio Melotti2012-11-23
| |\
| | * Remove debug print.Ezio Melotti2012-11-23
| | |
* | | #16306: merge with 3.3.Ezio Melotti2012-11-23
|\| |
| * | #16306: merge with 3.2.Ezio Melotti2012-11-23
| |\|
| | * #16306: report only the first unknown option and add more tests. Patch by ↵Ezio Melotti2012-11-23
| | | | | | | | | | | | Serhiy Storchaka.
* | | #16309: avoid using deprecated method and turn docstring in a comment.Ezio Melotti2012-11-23
| | |
* | | #16306: merge with 3.3.Ezio Melotti2012-11-18
|\| |
| * | #16306: merge with 3.2.Ezio Melotti2012-11-18
| |\|
| | * #16306: Fix multiple error messages when unknown command line parameters ↵Ezio Melotti2012-11-18
| | | | | | | | | | | | where passed to the interpreter. Patch by Hieu Nguyen.
| * | Issue #16218, #16444: Backport improvment on tests for non-ASCII charactersVictor Stinner2012-11-12
| | |
* | | Issue #15001: fix segfault on "del sys.module['__main__']"Hynek Schlawack2012-11-07
|\| | | | | | | | | | | Patch by Victor Stinner.
| * | Issue #15001: fix segfault on "del sys.module['__main__']"Hynek Schlawack2012-11-07
| |\| | | | | | | | | | Patch by Victor Stinner.
| | * Issue #15001: fix segfault on "del sys.module['__main__']"Hynek Schlawack2012-11-07
| | | | | | | | | | | | Patch by Victor Stinner.
| | * Close #13119: use "\r\n" newline for sys.stdout/err on WindowsVictor Stinner2012-08-04
| | | | | | | | | | | | sys.stdout and sys.stderr are now using "\r\n" newline on Windows, as Python 2.
* | | Issue #16414: Add support.FS_NONASCII and support.TESTFN_NONASCIIVictor Stinner2012-11-06
| | | | | | | | | | | | | | | These constants are used to test functions with non-ASCII data, especially filenames.
* | | Issue #7317: Display full tracebacks when an error occurs asynchronously.Andrew Svetlov2012-11-03
| | | | | | | | | | | | Patch by Alon Horev with update by Alexey Kachayev.
* | | Issue #16309: Make PYTHONPATH= behavior the same as if PYTHONPATH not set at ↵Andrew Svetlov2012-11-03
|/ / | | | | | | | | | | all. Thanks to Armin Rigo and Alexey Kachayev.
* | Close #13119: use "\r\n" newline for sys.stdout/err on WindowsVictor Stinner2012-08-04
| | | | | | | | sys.stdout and sys.stderr are now using "\r\n" newline on Windows, as Python 2.
* | enable hash randomization by defaultBenjamin Peterson2012-02-21
| |
* | Merge 3.2: Issue #13703 plus some related test suite fixes.Georg Brandl2012-02-21
|\|
| * Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵Georg Brandl2012-02-20
| |\ | | | | | | | | | | | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
| | * Issue #13703: add a way to randomize the hash values of basic types (str, ↵Georg Brandl2012-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
| | * Merged revisions 86081 via svnmerge fromBrian Curtin2010-11-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86081 | brian.curtin | 2010-11-01 09:00:33 -0500 (Mon, 01 Nov 2010) | 2 lines Close subprocess pipes to clear ResourceWarning messages in debug mode. ........
| | * Merged revisions 80116 via svnmerge fromVictor Stinner2010-04-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r80116 | victor.stinner | 2010-04-16 17:10:27 +0200 (ven., 16 avril 2010) | 2 lines Issue #7605: Fix test_cmd_line if the current working directory is not ASCII ........
| | * Merged revisions 73715 via svnmerge fromGeorg Brandl2009-08-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.python.org/python/branches/py3k ........ r73715 | benjamin.peterson | 2009-07-01 01:06:06 +0200 (Mi, 01 Jul 2009) | 1 line convert old fail* assertions to assert* ........
* | | Issue #7111: Python can now be run without a stdin, stdout or stderr stream.Antoine Pitrou2011-11-28
|\| | | | | | | | | | | | | | It was already the case with Python 2. However, the corresponding sys module entries are now set to None (instead of an unusable file object).
| * | Issue #7111: Python can now be run without a stdin, stdout or stderr stream.Antoine Pitrou2011-11-28
| | | | | | | | | | | | | | | It was already the case with Python 2. However, the corresponding sys module entries are now set to None (instead of an unusable file object).
* | | Issue #13444: When stdout has been closed explicitly, we should not attempt ↵Antoine Pitrou2011-11-26
|\| | | | | | | | | | | | | | | | | to flush it at shutdown and print an error. This also adds a test for issue #5319, whose resolution introduced the issue.
| * | Issue #13444: When stdout has been closed explicitly, we should not attempt ↵Antoine Pitrou2011-11-26
| | | | | | | | | | | | | | | | | | to flush it at shutdown and print an error. This also adds a test for issue #5319, whose resolution introduced the issue.
* | | Merge #10206: add test for previously fixed bug.R David Murray2011-06-24
|\| |
| * | #10206: add test for previously fixed bug.R David Murray2011-06-24
| | | | | | | | | | | | Patch by Francisco Martín Brugué.
| * | Merged revisions 88530 via svnmerge fromVictor Stinner2011-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88530 | victor.stinner | 2011-02-23 13:07:37 +0100 (mer., 23 févr. 2011) | 4 lines Issue #11272: Fix input() and sys.stdin for Windows newline On Windows, input() strips '\r' (and not only '\n'), and sys.stdin uses universal newline (replace '\r\n' by '\n'). ........
* | | Remove traces of division_warning left over from Python 2 (#10998)Éric Araujo2011-03-26
| | |
* | | Normalize the encoding names for Latin-1 and UTF-8 toMarc-André Lemburg2011-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'latin-1' and 'utf-8'. These are optimized in the Python Unicode implementation to result in more direct processing, bypassing the codec registry. Also see issue11303.
* | | Issue #11272: Fix input() and sys.stdin for Windows newlineVictor Stinner2011-02-23
|/ / | | | | | | | | On Windows, input() strips '\r' (and not only '\n'), and sys.stdin uses universal newline (replace '\r\n' by '\n').
* | Issue #10601: sys.displayhook uses 'backslashreplace' error handler onVictor Stinner2010-12-04
| | | | | | | | UnicodeEncodeError.
* | Use script_helper in one more testAntoine Pitrou2010-11-09
| |
* | Close subprocess pipes to clear ResourceWarning messages in debug mode.Brian Curtin2010-11-01
| |
* | Issue #10089: Add support for arbitrary -X options on the command-line.Antoine Pitrou2010-10-21
| | | | | | | | They can be retrieved through a new attribute `sys._xoptions`.
* | Issue #4388: On Mac OS X, decode command line arguments from UTF-8, instead ofVictor Stinner2010-10-20
| | | | | | | | | | | | | | the locale encoding. If the LANG (and LC_ALL and LC_CTYPE) environment variable is not set, the locale encoding is ISO-8859-1, whereas most programs (including Python) expect UTF-8. Python already uses UTF-8 for the filesystem encoding and to encode command line arguments on this OS.
* | Move non-ascii test from test_run_code() to a new function: test_non_ascii()Victor Stinner2010-10-20
| |
* | Move test_undecodable_code() from test_sys to test_cmd_lineVictor Stinner2010-10-20
| |
* | Add some debug output in verbose modeAntoine Pitrou2010-10-08
| |
* | Better Python spawning primitives in test.script_helper, forAntoine Pitrou2010-10-08
| | | | | | | | easier writing of unit tests and better error reporting.
* | Issue #8202: Set sys.argv[0] to -m rather than -c while searching for the ↵Nick Coghlan2010-08-17
| | | | | | | | module to execute. Also updates all the cmd_line_script tests to validate the setting of sys.path[0] and the current working directory
* | Issue #7605: Fix test_cmd_line if the current working directory is not ASCIIVictor Stinner2010-04-16
| |
* | Merged revisions 78093 via svnmerge fromGeorg Brandl2010-03-14
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78093 | georg.brandl | 2010-02-07 18:03:15 +0100 (So, 07 Feb 2010) | 1 line Remove unused imports in test modules. ........
* | use assert[Not]In where appropriateBenjamin Peterson2010-01-19
| | | | | | | | A patch from Dave Malcolm.
* | Merged revisions ↵Nick Coghlan2009-11-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 76286-76287,76289-76294,76296-76299,76301-76305,76307,76310-76311,76313-76322 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r76286 | nick.coghlan | 2009-11-15 17:30:34 +1000 (Sun, 15 Nov 2009) | 1 line Issue #6816: expose the zipfile and directory execution mechanism to Python code via the runpy module. Also consolidated some script execution functionality in the test harness into a helper module and removed some implementation details from the runpy module documentation. ........ r76321 | nick.coghlan | 2009-11-16 13:55:51 +1000 (Mon, 16 Nov 2009) | 1 line Account for another cache when hunting ref leaks ........ r76322 | nick.coghlan | 2009-11-16 13:57:32 +1000 (Mon, 16 Nov 2009) | 1 line Allow for backslashes in file paths passed to the regex engine ........