- 15 Eyl, 2017 10 kayıt (commit)
-
-
Christian Heimes yazdı
Signed-off-by: Christian Heimes <christian@python.org>
-
Christian Heimes yazdı
Replaces PROTOCOL_TLSv* and PROTOCOL_SSLv23 with PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER. Signed-off-by: Christian Heimes <christian@python.org>
-
Christian Heimes yazdı
SSLSocket.wrap_bio() and SSLSocket.wrap_socket() hard-code SSLObject and SSLSocket as return types. In the light of future deprecation of ssl.wrap_socket() module function and direct instantiation of SSLSocket, it is desirable to make the return type of SSLSocket.wrap_bio() and SSLSocket.wrap_socket() customizable. Signed-off-by: Christian Heimes <christian@python.org>
-
Terry Jan Reedy yazdı
'Strip trailing whitespace' is not limited to spaces. Wording caters to beginners who do know know the meaning of 'whitespace'. Multiline string literals are not skipped. * News blurb.
-
Paul Romano yazdı
-
Michael Seifert yazdı
-
Victor Stinner yazdı
Give 30 seconds to join_process(), instead of 5 or 10 seconds, to wait until the process completes.
-
Victor Stinner yazdı
Call the .join() method of threading.Timer timers to prevent the "threading_cleanup() failed to cleanup 1 threads" warning.
-
Serhiy Storchaka yazdı
-
Barry Warsaw yazdı
* Add Py_UNREACHABLE() as an alias to abort(). * Use Py_UNREACHABLE() instead of assert(0) * Convert more unreachable code to use Py_UNREACHABLE() * Document Py_UNREACHABLE() and a few other macros.
-
- 14 Eyl, 2017 20 kayıt (commit)
-
-
Terry Jan Reedy yazdı
Enabled by default was a temporary expedient. The fix is to add a user override to enable.
-
Feanil Patel yazdı
New -n flag allow overriding localhost with custom value, for example to run from containers.
-
Victor Stinner yazdı
Fix Coverity CID 1417587: _PyMem_Initialize() contains code which is never executed. Replace the runtime check with a build assertion.
-
Victor Stinner yazdı
join_thread() joins a thread but raises an AssertionError if the thread is still alive after timeout seconds.
-
Victor Stinner yazdı
Call thread.join() to prevent the "dangling thread" warning.
-
Victor Stinner yazdı
Use _thread.count() to wait until threads exit. The new context manager prevents the "dangling thread" warning.
-
Victor Stinner yazdı
Call thread.join() to prevent the "dangling thread" warning.
-
scoder yazdı
* Avoid calling "PyObject_GetAttrString()" (and potentially executing user code) with a live exception set. * Ignore only AttributeError on attribute lookups in ElementTree.XMLParser() and propagate all other exceptions.
-
Oren Milman yazdı
bpo-31471: Fix assertion failure in subprocess.Popen() on Windows, in case env has a bad keys() method. (#3580)
-
Łukasz Langa yazdı
This makes the default behavior (without specifying `globalns` manually) more predictable for users, finds the right globalns automatically. Implementation for classes assumes has a `__module__` attribute and that module is present in `sys.modules`. It does this recursively for all bases in the MRO. For modules, the implementation just uses their `__dict__` directly. This is backwards compatible, will just raise fewer exceptions in naive user code. Originally implemented and reviewed at https://github.com/python/typing/pull/470.
-
Eric Snow yazdı
A bunch of code currently uses PyInterpreterState.modules directly instead of PyImport_GetModuleDict(). This complicates efforts to make changes relative to sys.modules. This patch switches to using PyImport_GetModuleDict() uniformly. Also, a number of related uses of sys.modules are updated for uniformity for the same reason. Note that this code was already reviewed and merged as part of #1638. I reverted that and am now splitting it up into more focused parts.
-
Victor Stinner yazdı
* bpo-31234: Join threads in test_hashlib Use thread.join() to wait until the parallel hash tasks complete rather than using events. Calling thread.join() prevent "dangling thread" warnings. * test_hashlib: minor PEP 8 coding style fixes
-
Victor Stinner yazdı
Call thread.join() on threads to prevent the "dangling threads" warning.
-
Łukasz Langa yazdı
Some of the proxied methods use internal Logger state which isn't proxied, causing failures if an adapter is applied to another adapter. This commit fixes the issue, adds a new test for the use case.
-
Victor Stinner yazdı
Cast Py_buffer.len (Py_ssize_t, signed) to size_t (unsigned) to prevent the following warning: Modules/_ssl.c:3089:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
-
Eric Snow yazdı
Resolves bpo-31420. (This was accidentally reverted when in #3565.)
-
Eric Snow yazdı
PR #1638, for bpo-28411, causes problems in some (very) edge cases. Until that gets sorted out, we're reverting the merge. PR #3506, a fix on top of #1638, is also getting reverted.
-
Serhiy Storchaka yazdı
-
sww yazdı
The `blake2b` function does not take the `data` keyword argument. The hex digest returned by sign was a string, whereas compare_digest expects bytes-like objects. Typo fix: compare_digesty -> compare_digest
-
Xiang Zhang yazdı
-
- 13 Eyl, 2017 10 kayıt (commit)
-
-
Mariatta yazdı
Update the link from Misc/NEWS to Misc/NEWS.d
-
Victor Stinner yazdı
Try to fix the "Warning -- threading_cleanup() failed to cleanup 1 threads" warning in test.lock_tests: wait a little bit longer to give time to the threads to complete. Warning seen on test_thread and test_importlib.
-
Ivan Levkivskyi yazdı
* Copy changes to typing from upstream repo * Add NEWS entry
-
Oren Milman yazdı
bpo-31418: Fix an assertion failure in PyErr_WriteUnraisable() in case of an exception with a bad __module__ attribute. (#3539)
-
Victor Stinner yazdı
support.threading_cleanup() waits for 1 second before emitting a warning if there are threads running in the background. With this change, it now emits the warning immediately, to be able to catch bugs more easily.
-
Joel Schaerer yazdı
Explicitly state that communicate() closes stdin after writing input to it.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Clear also self.server_thread attribute in TestTimeouts.tearDown().
-
Victor Stinner yazdı
Call POP3.close(), don't close close directly the sock attribute.
-
Victor Stinner yazdı
-