- 06 Eyl, 2017 7 kayıt (commit)
-
-
Miss Islington (bot) yazdı
* call remove_done_callback in finally section * Optimize get_event_loop and _get_running_loop * rename _loop_pid as loop_pid and add blurb news * rename _loop_pid as loop_pid and add blurb news * add back _RunningLoop * Update 2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst * Update 2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst (cherry picked from commit 80bbe6a7)
-
Victor Stinner yazdı
-
Miss Islington (bot) yazdı
In case PROTOCOL_TLS_SERVER is used for both client context and server context, the test thread dies with OSError. Catch OSError to avoid traceback on sys.stderr Signed-off-by:
Christian Heimes <christian@python.org> (cherry picked from commit 305e56c2)
-
Zachary Ware yazdı
(cherry picked from commit f801322e)
-
Benjamin Peterson yazdı
(cherry picked from commit 60dbed18)
-
Victor Stinner yazdı
(cherry picked from commit 1de4705d)
-
- 05 Eyl, 2017 11 kayıt (commit)
-
-
Victor Stinner yazdı
* bpo-31170: Update libexpat from 2.2.3 to 2.2.4 Fix copying of partial characters for UTF-8 input (libexpat bug 115): https://github.com/libexpat/libexpat/issues/115 * Add NEWS entry. (cherry picked from commit 759e30ec)
-
Victor Stinner yazdı
Running under coverage sometimes causes 'in comparison' to be added to the end of the RecursionError message, which is acceptable. Patched by Maria Mckinley (cherry picked from commit 3480ef9d)
-
Christian Heimes yazdı
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>. (cherry picked from commit 66dc33b6)
-
Christian Heimes yazdı
(cherry picked from commit e503ca52)
-
Christian Heimes yazdı
The ssl and hashlib modules now call OPENSSL_add_all_algorithms_noconf() on OpenSSL < 1.1.0. The function detects CPU features and enables optimizations on some CPU architectures such as POWER8. Patch is based on research from Gustavo Serra Scalet. Signed-off-by:
Christian Heimes <christian@python.org> (cherry picked from commit c941e623)
-
Christian Heimes yazdı
Include sys/sysmacros.h for major(), minor(), and makedev(). GNU C libray plans to remove the functions from sys/types.h. Signed-off-by:
Christian Heimes <christian@python.org> (cherry picked from commit 75b96186)
-
Christian Heimes yazdı
(cherry picked from commit 8adc73c2)
-
Christian Heimes yazdı
* Change NPN detection: Version breakdown, support disabled (pre-patch/post-patch): - pre-1.0.1: OPENSSL_NPN_NEGOTIATED will not be defined -> False/False - 1.0.1 and 1.0.2: OPENSSL_NPN_NEGOTIATED will not be defined -> False/False - 1.1.0+: OPENSSL_NPN_NEGOTIATED will be defined and OPENSSL_NO_NEXTPROTONEG will be defined -> True/False Version breakdown support enabled (pre-patch/post-patch): - pre-1.0.1: OPENSSL_NPN_NEGOTIATED will not be defined -> False/False - 1.0.1 and 1.0.2: OPENSSL_NPN_NEGOTIATED will be defined and OPENSSL_NO_NEXTPROTONEG will not be defined -> True/True - 1.1.0+: OPENSSL_NPN_NEGOTIATED will be defined and OPENSSL_NO_NEXTPROTONEG will not be defined -> True/True * Refine NPN guard: - If NPN is disabled, but ALPN is available we need our callback - Make clinic's ssl behave the same way This created a working ssl module for me, with NPN disabled and ALPN enabled for OpenSSL 1.1.0f. Concerns to address: The initial commit for NPN support into OpenSSL [1], had the OPENSSL_NPN_* variables defined inside the OPENSSL_NO_NEXTPROTONEG guard. The question is if that ever made it into a release. This would need an ugly hack, something like: GH-if defined(OPENSSL_NO_NEXTPROTONEG) && \ !defined(OPENSSL_NPN_NEGOTIATED) GH- define OPENSSL_NPN_UNSUPPORTED 0 GH- define OPENSSL_NPN_NEGOTIATED 1 GH- define OPENSSL_NPN_NO_OVERLAP 2 GH-endif [1] https://github.com/openssl/openssl/commit/68b33cc5c7 (cherry picked from commit b2d096bd)
-
Ned Deily yazdı
-
Ned Deily yazdı
-
larryhastings yazdı
-
- 04 Eyl, 2017 8 kayıt (commit)
-
-
Gregory P. Smith yazdı
-
Gregory P. Smith yazdı
(cherry picked from commit c9d6dbc2)
-
Gregory P. Smith yazdı
* [3.6] bpo-22536: Set the filename in FileNotFoundError. (GH-3194) Have the subprocess module set the filename in the FileNotFoundError exception raised on POSIX systems when the executable or cwd are missing. (cherry picked from commit 8621bb5d) * bpo-22536 [3.6] (GH-3202) skip non-windows tests.
-
Benjamin Peterson yazdı
This comment hasn't been true since Python 3.0. (cherry picked from commit b84efddb9a87d515029bac943812b66eb3486eb5)
-
Christian Heimes yazdı
Signed-off-by:
Christian Heimes <christian@python.org> (cherry picked from commit 002d6403)
-
larryhastings yazdı
Blurbify 3.6.
-
Segev Finer yazdı
(cherry picked from commit 1c1f8f30)
-
INADA Naoki yazdı
(cherry picked from commit a6296d34)
-
- 03 Eyl, 2017 5 kayıt (commit)
-
-
Gregory P. Smith yazdı
bpo-29212: Fix the ugly ThreadPoolExecutor thread name. Fixes the newly introduced ugly default thread name for concurrent.futures thread.ThreadPoolExecutor threads. They'll now resemble the old <=3.5 threading default Thread-x names by being named ThreadPoolExecutor-y_n.. (cherry picked from commit a3d91b43)
-
Gregory P. Smith yazdı
* [3.6] bpo-9146: Raise a ValueError if OpenSSL fails to init a hash func. (GH-1777) This helps people in weird FIPS mode environments where common things like MD5 are not available in the binary as a matter of policy. (cherry picked from commit 07244a83) * Include a NEWS entry.
-
Gregory P. Smith yazdı
subobjects, not subobjecs. (cherry picked from commit e9d978fd)
-
Antoine Pitrou yazdı
(cherry picked from commit 2ef37607)
-
Serhiy Storchaka yazdı
(cherry picked from commit bca4939d)
-
- 01 Eyl, 2017 4 kayıt (commit)
-
-
Christopher Wilcox yazdı
* Fixes #30581 by adding a path to use newer GetMaximumProcessorCount API on Windows calls to os.cpu_count() * Add NEWS.d entry for bpo-30581, os.cpu_count on Windows. * Tweak NEWS entry
-
Antoine Pitrou yazdı
[3.6] bpo-27144: concurrent.futures as_complete and map iterators do not keep reference to returned object (GH-1560) (#3266) bpo-27144: concurrent.futures as_complie and map iterators do not keep reference to returned object (cherry picked from commit 97e1b1c8)
-
Victor Stinner yazdı
Use a pool of integer objects toprevent false alarm when checking for memory block leaks. Fill the pool with values in -1000..1000 which are the most common (reference, memory block, file descriptor) differences. Co-Authored-By:
Antoine Pitrou <pitrou@free.fr> (cherry picked from commit 6c2feabc)
-
Victor Stinner yazdı
[3.6] bpo-31249: Fix ref cycle in ThreadPoolExecutor
-
- 31 Agu, 2017 1 kayıt (commit)
-
- 30 Agu, 2017 3 kayıt (commit)
-
-
Oren Milman yazdı
if pathname.replace('/', '\\') returns non-string. (cherry picked from commit 631fdee6)
-
Pauli Virtanen yazdı
Ctypes currently produces wrong pep3118 type codes for several types. E.g. memoryview(ctypes.c_long()).format gives "<l" on 64-bit platforms, but it should be "<q" instead for sizeof(c_long) == 8 The problem is that the '<>' endian specification in the struct syntax also turns on the "standard size" mode, which makes type characters have a platform-independent meaning, which does not match with the codes used internally in ctypes. The struct module format syntax also does not allow specifying native-size non-native-endian items. This commit adds a converter function that maps the internal ctypes codes to appropriate struct module standard-size codes in the pep3118 format strings. The tests are modified to check for this. (cherry picked from commit 07f1658a)
-
Terry Jan Reedy yazdı
[3.6] bpo-31051: Rearrange IDLE condigdialog GenPage into Window, Editor, and Help sections. (GH-3239) (#3240) (cherry picked from commit 390ead)
-
- 29 Agu, 2017 1 kayıt (commit)
-
-
Oren Milman yazdı
(cherry picked from commit ba7d7365)
-