| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
due to test_hash_randomization expecting a different seed per process.
|
|/ / |
|
| |
| |
| |
| | |
Patch by Christie Wilson.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Patch by Jamiel Almeida.
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
*any* kwarg supplied to _assert_python causes it to not append -E to the
command line flags so without='-E' does effectively work.
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
-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.
|
|
|
|
| |
not to stderr. Patch by Berker Peksag and Michael Dickens.
|
|
|
|
|
| |
(test.regrtest and test.script_helper enable faulthandler module in
subprocesses).
|
| |
|
|
|
|
| |
by default. It can be re-enabled with the `-X showrefcount` option.
|
|\ |
|
| |\ |
|
| | | |
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | | |
Serhiy Storchaka.
|
| | | |
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | | |
where passed to the interpreter. Patch by Hieu Nguyen.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | | |
Patch by Victor Stinner.
|
| |\ \
| | |/
| | |
| | | |
Patch by Victor Stinner.
|
| | |
| | |
| | |
| | | |
Patch by Victor Stinner.
|
| | |
| | |
| | |
| | | |
sys.stdout and sys.stderr are now using "\r\n" newline on Windows, as Python 2.
|
| | |
| | |
| | |
| | |
| | | |
These constants are used to test functions with non-ASCII data, especially
filenames.
|
| | |
| | |
| | |
| | | |
Patch by Alon Horev with update by Alexey Kachayev.
|
|/ /
| |
| |
| |
| |
| | |
all.
Thanks to Armin Rigo and Alexey Kachayev.
|
| |
| |
| |
| | |
sys.stdout and sys.stderr are now using "\r\n" newline on Windows, as Python 2.
|
| | |
|
|\ \
| |/ |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
........
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
........
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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*
........
|
|\ \ \
| |/ /
| | |
| | |
| | | |
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).
|
| | |
| | |
| | |
| | |
| | | |
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).
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
to flush it at shutdown and print an error.
This also adds a test for issue #5319, whose resolution introduced the issue.
|
| | |
| | |
| | |
| | |
| | |
| | | |
to flush it at shutdown and print an error.
This also adds a test for issue #5319, whose resolution introduced the issue.
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | | |
Patch by Francisco Martín Brugué.
|