summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix typo in logging doc: picked -> pickled (GH-5942)James Walker2018-02-281-1/+1
|
* bpo-32940: IDLE: Simplify StringTranslatePseudoMapping in pyparse (GH-5862)Cheryl Sabella2018-02-283-89/+32
| | | The new code also runs faster.
* Fix 3.8 whatsnew changelog linkNed Deily2018-02-281-1/+1
|
* Minor improvements to the Windows build/release process (GH-5935)Steve Dower2018-02-283-8/+12
|
* bpo-30928: Update idlelib/NEWS.txt, possibly for 3.7.0b2 (GH-5932)Terry Jan Reedy2018-02-271-0/+16
|
* Revert "bpo-31961: subprocess now accepts path-like args (GH-4329)" (#5912)Serhiy Storchaka2018-02-274-51/+9
| | | | | | * Revert "bpo-31961: subprocess now accepts path-like args (GH-4329)" This reverts commit dd42cb71f2cb02f3a32f016137b12a146bc0d0e2.
* Update macOS installer resourcesNed Deily2018-02-273-35/+25
|
* bpo-32901: update macOS 10.9+ installer to Tcl/Tk 8.6.8Ned Deily2018-02-273-6/+28
|
* bpo-31355: Travis-CI: re-enable macOS job (#5858)Antoine Pitrou2018-02-272-4/+18
| | | | The long build queues that plagued macOS builds on Travis seem to be a thing of the past now.
* bpo-10381, bpo-32403: What's new entries for changes to datetime (gh-5814)Paul Ganssle2018-02-271-0/+10
| | | | | | | | | | * 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
* bpo-31453: Add setter for min/max protocol version (#5259)Christian Heimes2018-02-276-27/+471
| | | | | | | | | | | | 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>
* bpo-32951: Disable SSLSocket/SSLObject constructor (#5864)Christian Heimes2018-02-275-84/+107
| | | | | | | | | | | | | | | | 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>
* bpo-28124: deprecate ssl.wrap_socket() (#5888)Christian Heimes2018-02-273-182/+218
| | | | | | | 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>
* bpo-32947: OpenSSL 1.1.1-pre1 / TLS 1.3 fixes (#5663)Christian Heimes2018-02-279-74/+131
| | | | | | | | | | | | | | | | | | * 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>
* bpo-32960: For dataclasses, disallow inheriting frozen from non-frozen ↵Eric V. Smith2018-02-273-29/+77
| | | | | classes and vice-versa, (GH-5919) This restriction will be relaxed at a future date.
* bpo-32713: Fix tarfile.itn for large/negative float values. (GH-5434)Joffrey F2018-02-273-1/+11
|
* bpo-32222: Fix pygettext skipping docstrings for funcs with arg typehints ↵Tobotimus2018-02-263-4/+102
| | | | (GH-4745)
* bpo-32836: Remove obsolete code from symtable pass (GH-5680)Nitish Chandra2018-02-263-26/+1
| | | | | | | 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.
* bpo-32147: Improved perfomance of binascii.unhexlify(). (GH-4586)Sergey Fedoseev2018-02-264-33/+13
|
* bpo-32394: Remove some TCP options on old version Windows. (GH-5523)animalize2018-02-264-0/+101
|
* Revert unneccessary changes made in bpo-30296 and apply other improvements. ↵Serhiy Storchaka2018-02-264-5/+6
| | | | (GH-2624)
* bpo-32922: dbm.open() now encodes filename with the filesystem encoding. ↵Serhiy Storchaka2018-02-268-19/+134
| | | | (GH-5832)
* Fix 'deecorator' typo in test/test_dataclasses (GH-5899)Terry Jan Reedy2018-02-261-1/+1
|
* bpo-32929: Dataclasses: Change the tri-state hash parameter to the boolean ↵Eric V. Smith2018-02-263-195/+235
| | | | | unsafe_hash. (#5891) 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.
* Update PR template file, don't reference bpo 12345 (GH-5897)Mariatta2018-02-251-1/+0
| | | Fixes https://github.com/python/core-workflow/issues/223
* bpo-31454: Include information about "import X as Y" in Modules tutorial ↵Mario Corchero2018-02-251-0/+19
| | | | | | (GH-4041)
* bpo-25059: Clarify the print separator usage in tutorial (GH-5879)Cheryl Sabella2018-02-251-1/+1
| | | By default `print` adds spaces between its arguments.
* bpo-32622: Native sendfile on windows (#5565)Andrew Svetlov2018-02-257-93/+431
| | | * Support sendfile on Windows Proactor event loop naively.
* Delete a broken threading.local example (#5870)Aaron Gallagher2018-02-251-5/+1
| | | This code never did anything correct or useful. The class attribute will never be affected, and the condition will never be true.
* bpo-30622: Fix NPN for OpenSSL 1.1.1-pre1 (#5876)Christian Heimes2018-02-252-25/+30
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-32647: Link ctypes extension with libdl. (#5550)Christian Heimes2018-02-252-0/+6
| | | | | | 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>
* bpo-31809: test secp ECDH curves (#4036)Christian Heimes2018-02-252-0/+53
| | | Add tests to verify connection with secp384r1 ECDH curves.
* bpo-17232: Clarify docs for -O and -OO command line options (#5839)Cheryl Sabella2018-02-254-6/+23
| | | The 'optimization' is for space in the executable file, not for run time.
* bpo-30622: Improve NPN support detection (#5859)Christian Heimes2018-02-244-11/+42
| | | | | | 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>
* bpo-24334: Cleanup SSLSocket (#5252)Christian Heimes2018-02-245-117/+183
| | | | | | | | | | | | | * 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.
* remove vestigal locking from obmalloc (GH-5805)Benjamin Peterson2018-02-241-39/+0
| | | obmalloc has (empty) macros for locking in the allocator. These aren't needed in CPython; we rely on the GIL.
* bpo-32931: fix macOS 10.9+ installer c++ compiler name (#5855)Ned Deily2018-02-241-1/+1
|
* bpo-31966: Fixed WindowsConsoleIO.write() for writing empty data. (GH-5754)Serhiy Storchaka2018-02-243-0/+8
|
* bpo-32819: Simplify and improve ssl.match_hostname (#5620)Christian Heimes2018-02-243-57/+117
| | | | | | | ssl.match_hostname() has been simplified and no longer depends on re and ipaddress module for wildcard and IP addresses. Error reporting for invalid wildcards has been improved. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-32916: IDLE: Change `str` to `code` in pyparse (GH-5830)Cheryl Sabella2018-02-245-102/+103
| | | Adjust tests and user modules to match.
* [bpo-28414] Make all hostnames in SSL module IDN A-labels (GH-5128)Christian Heimes2018-02-247-111/+163
| | | | | | | | | | | | Previously, the ssl module stored international domain names (IDNs) as U-labels. This is problematic for a number of reasons -- for example, it made it impossible for users to use a different version of IDNA than the one built into Python. After this change, we always convert to A-labels as soon as possible, and use them for all internal processing. In particular, server_hostname attribute is now an A-label, and on the server side there's a new sni_callback that receives the SNI servername as an A-label rather than a U-label.
* Update the Pull_request_template.md file (GH-5841)Mariatta2018-02-231-2/+19
| | | Changed the template to be inside a comment tag.
* Exhaustively test dataclass hashing when no hash= value is provided. This is ↵Eric V. Smith2018-02-231-0/+73
| | | | in anticipation of changing how non-default hashing is handled. (#5834)
* bpo-32923: Unittest doc: replace `whilst` with `while` (GH-5833)Mariatta2018-02-231-1/+1
| | | | `whilst` and `while` are both english words, `whilst` is not as commonly used. This can be confusing to readers whose primary language is not english.
* bpo-32901: Update Tcl and Tk versions to 8.6.8 (GH-5823)Steve Dower2018-02-233-4/+5
|
* bpo-32087: Doc: Make "deprecated-removed" directive translatable (GH-4473)cocoatomo2018-02-232-5/+8
|
* ipaddress: Use str.isascii() instead of frozenset (GH-5811)INADA Naoki2018-02-231-3/+2
|
* bpo-30028: make test.support.temp_cwd() fork-safe (GH-1066)Anselm Kruis2018-02-233-1/+35
| | | | Make test.support.temp_cwd() fork-safe. The context manager test.support.temp_cwd() no longer removes the temporary directory when executing in a process other than the parent it entered from. If a forked child exits the context manager it won't do the cleanup.
* bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter ↵Serhiy Storchaka2018-02-2219-4383/+4497
| | | | | | | | | to compiler. (GH-5006) Co-authored-by: Mark Shannon <mark@hotpy.org> Co-authored-by: Antoine Pitrou <antoine@python.org>
* bpo-32838: Fix Python versions in the table of magic numbers. (#5658)Serhiy Storchaka2018-02-222-149/+152
|