| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bugfix: This test wasn't being run because it was skipping based on the
presence of Py_ENABLE_SHARED rather than its value. It is always present
on POSIX systems but defaults to 0.
Refactoring: Move the environment variables that can be ignored into a
function. Parse the list from the child process and filter out the ones
to exclude in the parent before checking that the rest is empty.
Feature: Adds always present environment variables to ignore when
running in a Gentoo sandbox so that the test can pass there.
|
|
|
|
| |
Replace `an ModuleNotFoundError` with `a ModuleNotFoundError`.
Replace `an path` with `a path`.
|
| |
|
| |
|
|
|
|
| |
Instead use keyword only arguments to os.register_at_fork for each of the scenarios.
Updates the documentation for clarity.
|
| |
|
| |
|
|
|
|
|
| |
Rather than saving the Python object and calling PyObject_IsTrue()
every time when the boolean argument is used, call it only once and
save C boolean value.
|
|
|
|
|
|
| |
* bpo-16500: Use register_at_fork() in the threading module
* Update comment at top of _after_fork()
|
|
|
|
|
| |
Patch by Cheryl Sabella.
|
|
|
|
|
|
| |
* Doc nits for bpo-16500
* Fix more references
|
|
|
| |
Coverage is now 100%
|
|
|
|
|
|
| |
* bpo-30492: Allow make clinic to work out of tree.
* Use os.curdir instead of "." as the default value.
|
|
|
| |
Patch by Cheryl Sabella.
|
|
|
|
|
| |
Extension modules listed after the *disabled* marker are not built at all,
neither by the Makefile nor by setup.py.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bpo-16500: Allow registering at-fork handlers
* Address Serhiy's comments
* Add doc for new C API
* Add doc for new Python-facing function
* Add NEWS entry + doc nit
|
|
|
| |
Calling Ctypes functions is deprecated in 3.6.2 and will be removed in 3.7
|
| |
|
|
|
| |
Also document that some attributes may be None.
|
|
|
| |
Unlikely to the simplejson module, json.JSONDecodeError doesn't accept the end argument.
|
|
|
|
|
|
|
| |
The "iterable iterable" phrasing created confusion between the term
reference and the parameter name.
This simplifies the phrasing to just use the parameter name
without linking directly to the term definition.
|
|
|
|
|
|
|
|
| |
* correct __slots__ documentation with minimal changes
* add multiple inheritance info
* remove mapping from description
|
|
|
|
|
|
|
|
|
|
| |
Partially clarify the subprocess convenience API documentation by
explicitly listing the `cwd` parameter in their abbreviated signatures.
While this has been merged as an improvement, it doesn't fully
resolve the issue, as the `cwd` should also be covered in the
"Frequently Used Arguments" section, and the fact these APIs
pass unlisted keyword arguments down to the lower level APIs
is currently still unclear.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#1683)
* bpo-30414: multiprocesing.Queue._feed do not break from main loop on exc
Queue background running thread was not handling exceptions correctly.
Any exception occurred inside thread (putting unpickable object) cause
feeder to finish running. After that every message put into queue is
silently ignored.
* bpo-30414: multiprocesing.Queue._feed do not break from main loop on exc
Queue background running thread was not handling exceptions correctly.
Any exception occurred inside thread (putting unpickable object) cause
feeder to finish running. After that every message put into queue is
silently ignored.
|
| |
|
| |
|
| |
|
|
|
|
| |
not found (GH-972)
|
|
|
|
|
| |
Running under coverage sometimes causes 'in comparison' to be added to the end of the RecursionError message, which is acceptable.
Patched by Maria Mckinley
|
|
|
|
|
|
|
|
|
| |
Clean up `Misc/README.AIX` for addressed known issues.
- Issues that have been marked fixed: #11184, #11185
- Issues resolved by new AIX version: #1745108
- Issues resolved, but not yet marked fixed/closed: #11188
Signed-off-by: Eric N. Vander Weele <ericvw@gmail.com>
|
| |
|
|
|
|
|
|
| |
The library does not enforce compliance with the HTTP protocol,
so violations are not technically disallowed. Extend the stream's
description to avoid suggesting that intentional protocol violations are
not supported.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
http.server.SimpleHTTPRequestHandler and http.server module (#1776)
* bpo-28707: call the constructor of SimpleHTTPRequestHandler in the test with a mock object
* bpo-28707: Add the directory parameter to http.server.SimpleHTTPRequestHandler and http.server module
|
|
|
|
| |
This helps people in weird FIPS mode environments where common things
like MD5 are not available in the binary as a matter of policy.
|
| |
|
|
|
| |
(patch by Nick Coghlan)
|
| |
|
|
|
| |
(patch by Nick Coghlan)
|
|
|
|
|
| |
* Revert "Fixed a typo in the HTMLParser.feed docstrings. The docstring started with an 'r', like a The docstring was correct. I read the patch in opposite direction, as *adding* the "r" prefix.
This reverts commit 5ba185039f1bd465d3f82531324fd3fe1ee42f0c.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Improves test_underpth_nosite_file to reveal why it fails.
* Enable building with Windows 10 SDK.
* Fix WinSDK detection
* Fix initialization on Windows when a ._pth file exists.
* Fix tabs
* Adds comment about Py_GetPath call.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Drop handshake_done and peer_cert members from PySSLSocket struct. The
peer certificate can be acquired from *SSL directly.
SSL_get_peer_certificate() does not trigger any network activity.
Instead of manually tracking the handshake state, simply use
SSL_is_init_finished().
In combination these changes fix auto-handshake for non-blocking
MemoryBIO connections.
Signed-off-by: Christian Heimes <christian@python.org>
|
| |
|
| |
|
|
|
|
|
| |
Zach: (#1757)
use faulthandler._sigsegv() and ctypes.util.find_library('c')
|