summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-32999: Fix ABC.__subclasscheck__ crash (GH-6002)INADA Naoki2018-03-073-12/+45
|
* bpo-32969: Expose some missing constants in zlib and fix the doc (GH-5988)Xiang Zhang2018-03-074-23/+44
|
* bpo-33009: Fix inspect.signature() for single-parameter partialmethods. ↵Yury Selivanov2018-03-063-1/+13
| | | | (GH-6004)
* bpo-33005: Fix _PyGILState_Reinit() (#6001)Victor Stinner2018-03-062-4/+27
| | | | | | | | Fix a crash on fork when using a custom memory allocator (ex: using PYTHONMALLOC env var). _PyGILState_Reinit() and _PyInterpreterState_Enable() now use the default RAW memory allocator to allocate a new interpreters mutex on fork.
* Fix strncpy warning with gcc 8 (#5840)Siddhesh Poyarekar2018-03-061-2/+2
| | | | | The length in strncpy is one char too short and as a result it leads to a build warning with gcc 8. Comment out the strncpy since the interpreter aborts immediately after anyway.
* bpo-32991: Restore expectation that inspect.getfile raises TypeError on ↵Jason R. Coombs2018-03-052-3/+20
| | | | | | | | | | namespace package (GH-5980) * bpo-32991: Add test capturing expectation. DocTestFinder.find should return an empty list for doctests in a namespace package. * bpo-32991: Restore expectation that inspect.getfile on a namespace package raises TypeError.
* bpo-33001: Prevent buffer overrun in os.symlink (GH-5989)Steve Dower2018-03-053-28/+73
|
* Add What's New for issues 32303 and 32305 (GH-5994)Barry Warsaw2018-03-051-0/+8
|
* bpo-32984: IDLE - set __file__ for startup files (GH-5981)Terry Jan Reedy2018-03-052-0/+10
| | | | | | | | | Like Python, IDLE optionally runs one startup file in the Shell window before presenting the first interactive input prompt. For IDLE, option -s runs a file named in environmental variable IDLESTARTUP or PYTHONSTARTUP; -r file runs file. Python sets __file__ to the startup file name before running the file and unsets it before the first prompt. IDLE now does the same when run normally, without the -n option.
* bpo-30147: Add re.escape changes to 3.7 What's New (GH-5978)Cheryl Sabella2018-03-041-0/+4
|
* bpo-32857: Raise error when tkinter after_cancel() is called with None. ↵Cheryl Sabella2018-03-043-3/+115
| | | | (GH-5701)
* closes bpo-32980 Remove _PyFrame_Init (GH-5965)Thomas Nyberg2018-03-043-12/+0
|
* bpo-32981: Fix catastrophic backtracking vulns (#5955)Jamie Davis2018-03-046-4/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Prevent low-grade poplib REDOS (CVE-2018-1060) The regex to test a mail server's timestamp is susceptible to catastrophic backtracking on long evil responses from the server. Happily, the maximum length of malicious inputs is 2K thanks to a limit introduced in the fix for CVE-2013-1752. A 2KB evil response from the mail server would result in small slowdowns (milliseconds vs. microseconds) accumulated over many apop calls. This is a potential DOS vector via accumulated slowdowns. Replace it with a similar non-vulnerable regex. The new regex is RFC compliant. The old regex was non-compliant in edge cases. * Prevent difflib REDOS (CVE-2018-1061) The default regex for IS_LINE_JUNK is susceptible to catastrophic backtracking. This is a potential DOS vector. Replace it with an equivalent non-vulnerable regex. Also introduce unit and REDOS tests for difflib. Co-authored-by: Tim Peters <tim.peters@gmail.com> Co-authored-by: Christian Heimes <christian@python.org>
* Fix missing coroutine declaration in the asyncio documentation. (#5964)Joongi Kim2018-03-031-1/+1
|
* bpo-32964: Reuse a testing implementation of the path protocol in tests. (#5930)Serhiy Storchaka2018-03-0211-103/+70
|
* bpo-30607: Use external python-doc-theme (GH-2017)Jon Wayne Parrott2018-03-0112-585/+80
|
* Fixed incorrect default value for dataclass unsafe_hash. (GH-5949)Eric V. Smith2018-03-011-2/+2
|
* bpo-32903: Fix a memory leak in os.chdir() on Windows (GH-5801)Alexey Izbyshev2018-03-012-7/+9
|
* 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.