Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Close #18754: Run Python child processes in isolated more in the test suite. | Victor Stinner | 2013-10-12 | 1 | -1/+1 |
| | |||||
* | Issue #16400: Add command line option for isolated mode. | Christian Heimes | 2013-08-10 | 1 | -0/+26 |
| | | | | | | | | | | -I Run Python in isolated mode. This also implies -E and -s. In isolated mode sys.path contains neither the script’s directory nor the user’s site-packages directory. All PYTHON* environment variables are ignored, too. Further restrictions may be imposed to prevent the user from injecting malicious code. | ||||
* | Issue #18338: `python --version` now prints version string to stdout, and | Serhiy Storchaka | 2013-07-11 | 1 | -2/+4 |
| | | | | not to stderr. Patch by Berker Peksag and Michael Dickens. | ||||
* | Issue #17206: Fix test_cmd_line and test_faulthandler for my previous change | Victor Stinner | 2013-06-25 | 1 | -5/+12 |
| | | | | | (test.regrtest and test.script_helper enable faulthandler module in subprocesses). | ||||
* | Issue #17516: do not create useless tuple: remove dummy commas in tests | Victor Stinner | 2013-03-26 | 1 | -2/+2 |
| | |||||
* | #17323: The "[X refs, Y blocks]" printed by debug builds has been disabled ↵ | Ezio Melotti | 2013-03-25 | 1 | -0/+28 |
| | | | | by default. It can be re-enabled with the `-X showrefcount` option. | ||||
* | Merge debug print removal with 3.3. | Ezio Melotti | 2012-11-23 | 1 | -4/+0 |
|\ | |||||
| * | Merge debug print removal with 3.2. | Ezio Melotti | 2012-11-23 | 1 | -4/+0 |
| |\ | |||||
| | * | Remove debug print. | Ezio Melotti | 2012-11-23 | 1 | -4/+0 |
| | | | |||||
* | | | #16306: merge with 3.3. | Ezio Melotti | 2012-11-23 | 1 | -3/+15 |
|\ \ \ | |/ / | |||||
| * | | #16306: merge with 3.2. | Ezio Melotti | 2012-11-23 | 1 | -3/+15 |
| |\ \ | | |/ | |||||
| | * | #16306: report only the first unknown option and add more tests. Patch by ↵ | Ezio Melotti | 2012-11-23 | 1 | -3/+15 |
| | | | | | | | | | | | | Serhiy Storchaka. | ||||
* | | | #16309: avoid using deprecated method and turn docstring in a comment. | Ezio Melotti | 2012-11-22 | 1 | -6/+6 |
| | | | |||||
* | | | #16306: merge with 3.3. | Ezio Melotti | 2012-11-18 | 1 | -1/+8 |
|\ \ \ | |/ / | |||||
| * | | #16306: merge with 3.2. | Ezio Melotti | 2012-11-18 | 1 | -1/+8 |
| |\ \ | | |/ | |||||
| | * | #16306: Fix multiple error messages when unknown command line parameters ↵ | Ezio Melotti | 2012-11-18 | 1 | -1/+8 |
| | | | | | | | | | | | | where passed to the interpreter. Patch by Hieu Nguyen. | ||||
| * | | Issue #16218, #16444: Backport improvment on tests for non-ASCII characters | Victor Stinner | 2012-11-12 | 1 | -3/+3 |
| | | | |||||
* | | | Issue #15001: fix segfault on "del sys.module['__main__']" | Hynek Schlawack | 2012-11-07 | 1 | -0/+12 |
|\ \ \ | |/ / | | | | | | | Patch by Victor Stinner. | ||||
| * | | Issue #15001: fix segfault on "del sys.module['__main__']" | Hynek Schlawack | 2012-11-07 | 1 | -0/+12 |
| |\ \ | | |/ | | | | | | | Patch by Victor Stinner. | ||||
| | * | Issue #15001: fix segfault on "del sys.module['__main__']" | Hynek Schlawack | 2012-11-07 | 1 | -0/+12 |
| | | | | | | | | | | | | Patch by Victor Stinner. | ||||
| | * | Close #13119: use "\r\n" newline for sys.stdout/err on Windows | Victor Stinner | 2012-08-03 | 1 | -0/+17 |
| | | | | | | | | | | | | 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_NONASCII | Victor Stinner | 2012-11-06 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | These constants are used to test functions with non-ASCII data, especially filenames. | ||||
* | | | Issue #7317: Display full tracebacks when an error occurs asynchronously. | Andrew Svetlov | 2012-11-03 | 1 | -1/+1 |
| | | | | | | | | | | | | Patch by Alon Horev with update by Alexey Kachayev. | ||||
* | | | Issue #16309: Make PYTHONPATH= behavior the same as if PYTHONPATH not set at ↵ | Andrew Svetlov | 2012-11-03 | 1 | -0/+17 |
|/ / | | | | | | | | | | | all. Thanks to Armin Rigo and Alexey Kachayev. | ||||
* | | Close #13119: use "\r\n" newline for sys.stdout/err on Windows | Victor Stinner | 2012-08-03 | 1 | -0/+17 |
| | | | | | | | | sys.stdout and sys.stderr are now using "\r\n" newline on Windows, as Python 2. | ||||
* | | enable hash randomization by default | Benjamin Peterson | 2012-02-21 | 1 | -2/+2 |
| | | |||||
* | | Merge 3.2: Issue #13703 plus some related test suite fixes. | Georg Brandl | 2012-02-20 | 1 | -0/+16 |
|\ \ | |/ | |||||
| * | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵ | Georg Brandl | 2012-02-20 | 1 | -0/+16 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | 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 Brandl | 2012-02-20 | 1 | -1/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 from | Brian Curtin | 2010-11-01 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 from | Victor Stinner | 2010-04-16 | 1 | -1/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 from | Georg Brandl | 2009-08-13 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Pitrou | 2011-11-28 | 1 | -0/+39 |
|\ \ \ | |/ / | | | | | | | | | | 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 Pitrou | 2011-11-28 | 1 | -0/+39 |
| | | | | | | | | | | | | | | | 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 Pitrou | 2011-11-26 | 1 | -0/+19 |
|\ \ \ | |/ / | | | | | | | | | | | | | 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 Pitrou | 2011-11-26 | 1 | -0/+19 |
| | | | | | | | | | | | | | | | | | | 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 Murray | 2011-06-24 | 1 | -0/+7 |
|\ \ \ | |/ / | |||||
| * | | #10206: add test for previously fixed bug. | R David Murray | 2011-06-24 | 1 | -0/+7 |
| | | | | | | | | | | | | Patch by Francisco Martín Brugué. | ||||
| * | | Merged revisions 88530 via svnmerge from | Victor Stinner | 2011-02-23 | 1 | -0/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Araujo | 2011-03-26 | 1 | -6/+0 |
| | | | |||||
* | | | Normalize the encoding names for Latin-1 and UTF-8 to | Marc-André Lemburg | 2011-02-25 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '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 newline | Victor Stinner | 2011-02-23 | 1 | -0/+26 |
|/ / | | | | | | | | | 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 on | Victor Stinner | 2010-12-04 | 1 | -0/+18 |
| | | | | | | | | UnicodeEncodeError. | ||||
* | | Use script_helper in one more test | Antoine Pitrou | 2010-11-09 | 1 | -28/+14 |
| | | |||||
* | | Close subprocess pipes to clear ResourceWarning messages in debug mode. | Brian Curtin | 2010-11-01 | 1 | -0/+1 |
| | | |||||
* | | Issue #10089: Add support for arbitrary -X options on the command-line. | Antoine Pitrou | 2010-10-21 | 1 | -0/+9 |
| | | | | | | | | They can be retrieved through a new attribute `sys._xoptions`. | ||||
* | | Issue #4388: On Mac OS X, decode command line arguments from UTF-8, instead of | Victor Stinner | 2010-10-20 | 1 | -0/+32 |
| | | | | | | | | | | | | | | 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 Stinner | 2010-10-20 | 1 | -7/+9 |
| | | |||||
* | | Move test_undecodable_code() from test_sys to test_cmd_line | Victor Stinner | 2010-10-20 | 1 | -0/+38 |
| | | |||||
* | | Add some debug output in verbose mode | Antoine Pitrou | 2010-10-08 | 1 | -0/+4 |
| | |