- 01 Mar, 2018 3 kayıt (commit)
-
-
Jon Wayne Parrott yazdı
-
Eric V. Smith yazdı
-
Alexey Izbyshev yazdı
-
- 28 Şub, 2018 4 kayıt (commit)
-
-
James Walker yazdı
-
Cheryl Sabella yazdı
The new code also runs faster.
-
Ned Deily yazdı
-
Steve Dower yazdı
-
- 27 Şub, 2018 12 kayıt (commit)
-
-
Terry Jan Reedy yazdı
-
Serhiy Storchaka yazdı
* Revert "bpo-31961: subprocess now accepts path-like args (GH-4329)" This reverts commit dd42cb71.
-
Ned Deily yazdı
-
Ned Deily yazdı
-
Antoine Pitrou yazdı
The long build queues that plagued macOS builds on Travis seem to be a thing of the past now.
-
Paul Ganssle yazdı
* Add What's New entry for addition of datetime.timezone to the C API Closes bpo-10381 * Add what's new entry for date and datetime optimizations Closes bpo-32403
-
Christian Heimes yazdı
OpenSSL 1.1 has introduced a new API to set the minimum and maximum supported protocol version. The API is easier to use than the old OP_NO_TLS1 option flags, too. Since OpenSSL has no call to set minimum version to highest supported, the implementation emulate maximum_version = MINIMUM_SUPPORTED and minimum_version = MAXIMUM_SUPPORTED by figuring out the minumum and maximum supported version at compile time. Signed-off-by: Christian Heimes <christian@python.org>
-
Christian Heimes yazdı
Direct instantiation of SSLSocket and SSLObject objects is now prohibited. The constructors were never documented, tested, or designed as public constructors. The SSLSocket constructor had limitations. For example it was not possible to enabled hostname verification except was ssl_version=PROTOCOL_TLS_CLIENT with cert_reqs=CERT_REQUIRED. SSLContext.wrap_socket() and SSLContext.wrap_bio are the recommended API to construct SSLSocket and SSLObject instances. ssl.wrap_socket() is also deprecated. The only test case for direct instantiation was added a couple of days ago for IDNA testing. Signed-off-by: Christian Heimes <christian@python.org>
-
Christian Heimes yazdı
The ssl module function ssl.wrap_socket() has been de-emphasized and deprecated in favor of the more secure and efficient SSLContext.wrap_socket() method. Signed-off-by: Christian Heimes <christian@python.org>
-
Christian Heimes yazdı
* bpo-32947: OpenSSL 1.1.1-pre1 / TLS 1.3 fixes Misc fixes and workarounds for compatibility with OpenSSL 1.1.1-pre1 and TLS 1.3 support. With OpenSSL 1.1.1, Python negotiates TLS 1.3 by default. Some test cases only apply to TLS 1.2. Other tests currently fail because the threaded or async test servers stop after failure. I'm going to address these issues when OpenSSL 1.1.1 reaches beta. OpenSSL 1.1.1 has added a new option OP_ENABLE_MIDDLEBOX_COMPAT for TLS 1.3. The feature is enabled by default for maximum compatibility with broken middle boxes. Users should be able to disable the hack and CPython's test suite needs it to verify default options. Signed-off-by: Christian Heimes <christian@python.org>
-
Eric V. Smith yazdı
bpo-32960: For dataclasses, disallow inheriting frozen from non-frozen classes and vice-versa, (GH-5919) This restriction will be relaxed at a future date.
-
Joffrey F yazdı
-
- 26 Şub, 2018 8 kayıt (commit)
-
-
Tobotimus yazdı
-
Nitish Chandra yazdı
When comprehensions switched to using a nested scope, the old code for generating a temporary name to hold the accumulation target became redundant, but was never actually removed. Patch by Nitish Chandra.
-
Sergey Fedoseev yazdı
-
animalize yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Terry Jan Reedy yazdı
-
Eric V. Smith yazdı
unsafe_hash=False is now the default. It is the same behavior as the old hash=None parameter. unsafe_hash=True will try to add __hash__. If it already exists, TypeError is raised.
-
- 25 Şub, 2018 9 kayıt (commit)
-
-
-
Mario Corchero yazdı
-
Cheryl Sabella yazdı
By default `print` adds spaces between its arguments.
-
Andrew Svetlov yazdı
* Support sendfile on Windows Proactor event loop naively.
-
Aaron Gallagher yazdı
This code never did anything correct or useful. The class attribute will never be affected, and the condition will never be true.
-
Christian Heimes yazdı
Signed-off-by: Christian Heimes <christian@python.org>
-
Christian Heimes yazdı
The ctypes module used to depend on indirect linking for dlopen. The shared extension is now explicitly linked against libdl on platforms with dl. Signed-off-by: Christian Heimes <christian@python.org>
-
Christian Heimes yazdı
Add tests to verify connection with secp384r1 ECDH curves.
-
Cheryl Sabella yazdı
The 'optimization' is for space in the executable file, not for run time.
-
- 24 Şub, 2018 4 kayıt (commit)
-
-
Christian Heimes yazdı
The ssl module now detects missing NPN support in LibreSSL. Co-Authored-By: Bernard Spil <brnrd@FreeBSD.org> Signed-off-by: Christian Heimes <christian@python.org>
-
Christian Heimes yazdı
* The SSLSocket is no longer implemented on top of SSLObject to avoid an extra level of indirection. * Owner and session are now handled in the internal constructor. * _ssl._SSLSocket now uses the same method names as SSLSocket and SSLObject. * Channel binding type check is now handled in C code. Channel binding is always available. The patch also changes the signature of SSLObject.__init__(). In my opinion it's fine. A SSLObject is not a user-constructable object. SSLContext.wrap_bio() is the only valid factory.
-
Benjamin Peterson yazdı
obmalloc has (empty) macros for locking in the allocator. These aren't needed in CPython; we rely on the GIL.
-
Ned Deily yazdı
-