Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-32457: Improves handling of denormalized executable path when launching ↵ | Steve Dower | 2018-02-22 | 1 | -0/+12 |
| | | | | Python (GH-5756) (#5818) | ||||
* | [3.6] Improves the ability to build in CI (GH-5730) | Steve Dower | 2018-02-18 | 1 | -6/+5 |
| | |||||
* | bpo-32329: Fix sys.flags.hash_randomization (#4875) | Victor Stinner | 2017-12-15 | 1 | -2/+7 |
| | | | | sys.flags.hash_randomization is now properly set to 0 when hash randomization is turned off by PYTHONHASHSEED=0. | ||||
* | Issue #26919: On Android, operating system data is now always encoded/decoded | Xavier de Gaye | 2016-12-15 | 1 | -4/+5 |
| | | | | | to/from UTF-8, instead of the locale encoding to avoid inconsistencies with os.fsencode() and os.fsdecode() which are already using UTF-8. | ||||
* | Issue #28532: Show sys.version when -V option is supplied twice | INADA Naoki | 2016-11-21 | 1 | -1/+1 |
| | |||||
* | Merge spelling and grammar fixes from 3.5 | Martin Panter | 2016-08-05 | 1 | -1/+1 |
|\ | |||||
| * | Fix spelling and grammar in documentation and code comments | Martin Panter | 2016-08-04 | 1 | -1/+1 |
| | | |||||
* | | * Re-fix issue #19284: Don't generate the no-op -R command line | Gregory P. Smith | 2015-12-14 | 1 | -3/+15 |
|\ \ | |/ | | | | | | | | | | | | | parameter to "enable" the always on sys.flags.hash_randomization in _args_from_interpreter_flags() used by multiprocessing and some unittests. This simplifies the code. * assert_python_ok docstring typo fix. * Fix test_cmd_line not to fail if PYTHONHASHSEED is set to a fixed seed. | ||||
| * | * Re-fix issue #19284: Don't generate the no-op -R command line | Gregory P. Smith | 2015-12-14 | 1 | -3/+15 |
| |\ | | | | | | | | | | | | | | | | | | | | | | parameter to "enable" the always on sys.flags.hash_randomization in _args_from_interpreter_flags() used by multiprocessing and some unittests. This simplifies the code. * assert_python_ok docstring typo fix. * Fix test_cmd_line not to fail if PYTHONHASHSEED is set to a fixed seed. | ||||
| | * | Fix test_cmd_line not to fail if PYTHONHASHSEED is set to a fixed seed | Gregory P. Smith | 2015-12-14 | 1 | -3/+15 |
| | | | | | | | | | | | | due to test_hash_randomization expecting a different seed per process. | ||||
* | | | Issue #5319: New Py_FinalizeEx() API to exit with status 120 on failure | Martin Panter | 2015-11-30 | 1 | -1/+2 |
|/ / | |||||
* | | Issue #9517: Move script_helper to the support package. | Berker Peksag | 2015-05-06 | 1 | -3/+3 |
| | | | | | | | | Patch by Christie Wilson. | ||||
* | | Merge: #23925: stop (eg) PYTHONSTARTUP from causing test_cmd_line failure. | R David Murray | 2015-04-14 | 1 | -1/+5 |
|\ \ | |/ | |||||
| * | #23925: stop (eg) PYTHONSTARTUP from causing test_cmd_line failure. | R David Murray | 2015-04-14 | 1 | -1/+5 |
| | | | | | | | | Patch by Jamiel Almeida. | ||||
* | | Suppress assert dialogs in test_cmd_line. | Steve Dower | 2015-03-08 | 1 | -1/+2 |
| | | |||||
* | | Skip some tests that require a subinterpreter launched with -E or -I when the | Gregory P. Smith | 2015-02-04 | 1 | -1/+3 |
|\ \ | |/ | | | | | | | | | | | | | interpreter under test is being run in an environment that requires the use of environment variables such as PYTHONHOME in order to function at all. Adds a test.script_helper.interpreter_requires_environment() function to be used with @unittest.skipIf on stdlib test methods requiring this. | ||||
| * | Skip some tests that require a subinterpreter launched with -E or -I when the | Gregory P. Smith | 2015-02-04 | 1 | -1/+3 |
|/ | | | | | | | | interpreter under test is being run in an environment that requires the use of environment variables such as PYTHONHOME in order to function at all. Adds a private test.script_helper._interpreter_requires_environment() function to be used with @unittest.skipIf on stdlib test methods requiring this. | ||||
* | revert 7b833bd1f509. I misread the side effect that the code was triggering. | Gregory P. Smith | 2015-01-23 | 1 | -2/+4 |
| | | | | | *any* kwarg supplied to _assert_python causes it to not append -E to the command line flags so without='-E' does effectively work. | ||||
* | Remove the unimplemented but ignored without='-E' parameters being passed to | Gregory P. Smith | 2015-01-23 | 1 | -4/+2 |
| | | | | | | script_helper.assert_python_failure(). No such feature has ever existed, thus it doesn't do what the comment claims. (It does add a 'without' variable to the environment of the child process but that was not intended) | ||||
* | 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 ........ |