| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Issue #26100:
* Add subprocess._optim_args_from_interpreter_flags()
* Add test.support.optim_args_from_interpreter_flags()
* Use new functions in distutils, test_cmd_line_script, test_compileall and
test_inspect
The change enables test_details() test of test_inspect when -O or -OO command
line option is used.
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
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.
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The underlying zlib library stores sizes in “unsigned int”. The corresponding
Python parameters are all sizes of buffers filled in by zlib, so it is okay
to reduce higher values to the UINT_MAX internal cap. OverflowError is still
raised for sizes that do not fit in Py_ssize_t.
Sizes are now limited to Py_ssize_t rather than unsigned long, because Python
byte strings cannot be larger than Py_ssize_t. Previously this could result
in a SystemError on 32-bit platforms.
This resolves a regression in the gzip module when reading more than UINT_MAX
or LONG_MAX bytes in one call, introduced by revision 62723172412c.
|
|/ /
| |
| |
| | |
Patches by Jacek Kołodziej.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
|
| | |
|
| |
| |
| |
| | |
Patch by Christie Wilson.
|
| | |
|
| |
| |
| |
| | |
compare the public APIs of two modules or classes.
|
| |
| |
| |
| |
| |
| | |
The concept of .pyo files no longer exists. Now .pyc files have an
optional `opt-` tag which specifies if any extra optimizations beyond
the peepholer were applied.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| | |
multiple threads.
|
| |
| |
| |
| | |
multiple threads.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
-Og does not optimize the C code, it's just "fast debugging".
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| | |
test.support.fs_is_case_insensitive()
|
| |
| |
| |
| | |
test.support.fs_is_case_insensitive()
|
|\ \
| |/
| |
| |
| | |
Also, remove support.run_doctest() since there is no doctests in
test_urllib2 and urllib.request.
|
| |
| |
| |
| |
| | |
Also, remove support.run_doctest() since there is no doctests in
test_urllib2 and urllib.request.
|
| |
| |
| |
| | |
SuppressCrashReports should be used in test subprocesses that test invalid conditions.
|
|/
|
|
| |
Patch by Ezio Melotti.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
When running tests in subprocesses with the regrtest -j option, a bug
in Cocoa Tk can result in a Tcl segfault. Avoid the problem by forcing
Tk to fully initialize as an OS X gui process before destroying the
Tcl instance and creating another. (Original patch by Serhiy Storchaka)
|
|
|
|
|
|
| |
ConnectionRefusedError exceptions wrapped by urllib.error.URLError.
This change should fix sporadic failures in test_urllib2net.
|
|
|
|
|
|
| |
Adds `load_package_tests` function to test.support, uses it in test_asyncio,
test_email, test_json, test_tools, test_importlib and all test_importlib
sub-packages to implement test discovery.
|
|
|
|
| |
Sort also imports in support/__init__.py
|
|
|
|
| |
directory, not os.path.isdir()
|
|
|
|
| |
This changeset also includes cleanup allowed by this behavior change.
|
|
|
|
|
| |
cause GUI tests to segfault in Cocoa Tk when run under regrtest -j
(multiple threads running subprocesses).
|
|
|
|
|
|
|
|
|
| |
test_support._is_gui_available is now defined the same way on every
platform, and now includes the Windows-specific check that had been in the
Windows version of _is_gui_available and the OSX-specific check that was
in tkinter.test.support.check_tk_availability. Also, every platform
checks whether Tk can be instantiated (if the platform-specific checks
passed).
|
|
|
|
| |
OpenBSD 5.5.
|
|
|
|
| |
OpenBSD older than 5.5
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
in test_pathlib.
Purposefully designed to work from a specified directory in case
multiple file systems are used on the system.
|
|\ \
| |/
| |
| |
| | |
on a system with SO_REUSEPORT defined in the headers but run on a system
with an OS kernel that does not support that reasonably new socket option.
|
| |
| |
| |
| |
| | |
on a system with SO_REUSEPORT defined in the headers but run on a system
with an OS kernel that does not support that reasonably new socket option.
|
| |
| |
| |
| | |
each other divide __all__ in sub-sections so that it can be used as a quick-reference doc
|
| | |
|