summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [3.9] bpo-43723: Revert IDLE doc change (GH-25174)Miss Islington (bot)2021-04-160-0/+0
| | | | | | Change threading.activeCount to synonym threading.active_count. (cherry picked from commit 56c76df6e861322bdff77bfb21e5cd55fbacfad2) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.8] bpo-43723: Backport IDLE doc change (GH-25174)Terry Jan Reedy2021-04-161-1/+1
| | | Cherry-picked from 9825bdfbd5c966abf1f1b7264992d722a94c9613
* bpo-37741: make importlib.metadata docs discoverable through a module ↵Miss Islington (bot)2021-04-151-0/+5
| | | | | | | | directive. (GH-25415) Automerge-Triggered-By: GH:jaraco (cherry picked from commit 23acadcc1c75eb74b2459304af70d97a35001b34) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* bpo-43777: Drop description of "pip search" command from tutorial (GH-25287)Miss Islington (bot)2021-04-141-13/+2
| | | | | (cherry picked from commit 133705b85cc25d1e6684d32f8943ca288fadfda0) Co-authored-by: Bob Kline <bkline@users.noreply.github.com>
* [3.8] bpo-43811: Test multiple OpenSSL versions on GHA (GH-25360) (GH-25392)Miss Islington (bot)2021-04-133-2/+64
| | | | | | | | | | | The new checks are only executed when one or more OpenSSL-related files are modified. The checks run a handful of networking and hashing test suites. All SSL checks are optional. This PR also introduces ccache to speed up compilation. In common cases it speeds up configure and compile time from about 90 seconds to less than 30 seconds. Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 8fa1489365e7af8b90286c97db55a2dc60a05cde) Co-authored-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: GH:tiran
* bpo-43816: Add extern "C" to Include/cpython/pyctype.h (GH-25365)Miss Islington (bot)2021-04-131-0/+6
| | | | | | Signed-off-by: Andrew V. Jones <andrew.jones@vector.com> (cherry picked from commit 54db51c9114ac49030832f5134979ca866ffd21c) Co-authored-by: Andrew V. Jones <andrewvaughanj@gmail.com>
* [3.8] bpo-43799: OpenSSL 3.0.0: declare OPENSSL_API_COMPAT 1.1.1 (GH-25329) ↵Christian Heimes2021-04-133-20/+24
| | | | | | (GH-25383) Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit a4833883c9b81b6b272cc7c5b67fa1658b65304c)
* [3.8] bpo-42248: [Enum] ensure exceptions raised in ``_missing_`` are ↵Ethan Furman2021-04-123-13/+51
| | | | | | | released (GH-25350). (GH-25369) (cherry picked from commit 8c14f5a787b21d5a1eae5d5ee981431d1c0e055f) Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
* bpo-41561: Fix testing with OpenSSL 1.0.2 (GH-25355)Miss Islington (bot)2021-04-121-1/+4
| | | | | | Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 3447750073aff229b049e4ccd6217db2811dcfd1) Co-authored-by: Christian Heimes <christian@python.org>
* Fix description of behaviour of an exception class in 'from' clause ↵Miss Islington (bot)2021-04-111-4/+7
| | | | | | | | | (GH-24303) (GH-25342) (cherry picked from commit 79650d0118b0a8861428b9dd063089de405cf137) Co-authored-by: Mark Dickinson <mdickinson@enthought.com> Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
* bpo-43739: Add type declaration Doc/extending/extending.rst example (GH-25332)Miss Islington (bot)2021-04-102-1/+2
|
* Add ignore file for the abidump check (GH-25322)Pablo Galindo2021-04-092-1/+11
|
* bpo-43105: Importlib now resolves relative paths when creating module spec ↵Steve Dower2021-04-099-2743/+3016
| | | | objects from file locations (GH-25121)
* bpo-38820: OpenSSL 3.0.0: Use supported hashing algos in doc test (GH-25319)Miss Islington (bot)2021-04-091-2/+2
| | | | | | | | | ripemd160 is not available in OpenSSL 3.0.0's default crypto provider. It's only present in legacy provider. Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 2d7fdc90731e132f9d6b43852ee112f25831394b) Co-authored-by: Christian Heimes <christian@python.org>
* [3.8] bpo-43788: Generate version specific _ssl_data.h (GH-25300) (GH-25311)Christian Heimes2021-04-097-83/+15092
| | | | | (cherry picked from commit 150af7543214e1541fa582374502ac1cd70e8eb4) Co-authored-by: Christian Heimes <christian@python.org>
* bpo-43794: OpenSSL 3.0.0: set OP_IGNORE_UNEXPECTED_EOF by default (GH-25309)Miss Islington (bot)2021-04-094-1/+20
| | | | | | Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 6f37ebc61e9e0d13bcb1a2ddb7fc9723c04b6372) Co-authored-by: Christian Heimes <christian@python.org>
* [3.8] bpo-43789: OpenSSL 3.0.0 Don't call passwd callback again in error ↵Miss Islington (bot)2021-04-092-0/+9
| | | | | | | case (GH-25303) (GH-25306) (cherry picked from commit d3b73f32ef7c693a6ae8c54eb0e62df3b5315caf) Co-authored-by: Christian Heimes <christian@python.org>
* [3.8] bpo-43791: Skip TLS 1.0/1.1 tests under OpenSSL 3.0.0 (GH-25304) ↵Miss Islington (bot)2021-04-092-0/+7
| | | | | | | | | | | (GH-25308) Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 5151d642004c59cce58d669be85d9a5e987f51d3) Co-authored-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: GH:tiran
* Add CI step to check changes in the exported ABI (GH-25232)Pablo Galindo2021-04-093-0/+16046
|
* bpo-39674: Fix collections ABC deprecation notice (GH-25281)Markus Gerstel2021-04-081-1/+1
| | | | | | The deprecation originally slated for 3.9 was deferred to 3.10 (bpo-39674, GH-18545) and the documentation on the 3.8 release was updated accordingly (GH-18748). However the deprecation notice in the code was left as is, and still indicates deprecation with 3.9.
* [3.8] bpo-43087: Fix error in ctypes "Incomplete Types" doc (GH-24404)Miss Islington (bot)2021-04-081-2/+2
| | | | | | | | The previous "Fundamental data types" section says a c_char_p must be bytes (or None). (cherry picked from commit 14829b09eb652f457cf837836909169746a810f0) Co-authored-by: Zackery Spytz <zspytz@gmail.com> Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* Fix broken test for MutableSet.pop() (GH-25209) (GH-25270)Miss Islington (bot)2021-04-071-2/+6
|
* [3.8] bpo-36540: Improve doc of function definition regarding ↵Saiyang Gou2021-04-071-2/+8
| | | | | | | positional-only arguments (GH-25235) (GH-25260) (cherry picked from commit 58d72cab89cf9652acc0bf0007aa20b2bcc98499) Co-authored-by: Saiyang Gou <gousaiyang@163.com>
* bpo-42999: Expand and clarify pathlib.Path.link_to() documentation. (GH-24294)Steve Dower2021-04-072-17/+30
| | | Co-authored-by: Barney Gale <barney.gale@gmail.com>
* Improve CDN purge script (GH-25251)Miss Islington (bot)2021-04-071-0/+3
| | | | | (cherry picked from commit e35dd556e1adb4fc8b83e5b75ac59e428a8b5460) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-43075: Fix ReDoS in urllib AbstractBasicAuthHandler (GH-24391)Miss Islington (bot)2021-04-072-1/+2
| | | | | | | | | | Fix Regular Expression Denial of Service (ReDoS) vulnerability in urllib.request.AbstractBasicAuthHandler. The ReDoS-vulnerable regex has quadratic worst-case complexity and it allows cause a denial of service when identifying crafted invalid RFCs. This ReDoS issue is on the client side and needs remote attackers to control the HTTP server. (cherry picked from commit 7215d1ae25525c92b026166f9d5cac85fb1defe1) Co-authored-by: Yeting Li <liyt@ios.ac.cn>
* bpo-43745: Actually updates Windows release to OpenSSL 1.1.1k. (GH-25213)Miss Islington (bot)2021-04-063-2/+4
| | | | | | | Earlier releases were mislabelled and included 1.1.1i again. The tag/directory name is updated to ensure that builds get the fresh bits. However, the openssl-bin-1.1.1k tag in the repository has been forcibly updated, so fresh builds will be fine even without this change. (cherry picked from commit 611aa39142f156508945ac312724474c493a6691) Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.8] Fix blurb for bpo-43176. (GH-25215) (GH-25218)Miss Islington (bot)2021-04-061-1/+1
| | | | | | | | (cherry picked from commit 1744c96ebc98b240f2564f75191097704b37244f) Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com> Automerge-Triggered-By: GH:ericvsmith
* bpo-43176: Fix processing of empty dataclasses (GH-24484)Miss Islington (bot)2021-04-063-1/+26
| | | | | | | | When a dataclass inherits from an empty base, all immutability checks are omitted. This PR fixes this and adds tests for it. Automerge-Triggered-By: GH:ericvsmith (cherry picked from commit 376ffc6ac491da74920aed1b8e35bc371cb766ac) Co-authored-by: Iurii Kemaev <6885137+hbq1@users.noreply.github.com>
* bpo-36470: Allow dataclasses.replace() to handle InitVars with default ↵Miss Islington (bot)2021-04-053-1/+21
| | | | | | | | | | | | values (GH-20867) (GH-25201) Co-Authored-By: Claudiu Popa <pcmanticore@gmail.com> Automerge-Triggered-By: GH:ericvsmith (cherry picked from commit 75220674c07abfc90c2cd7862d04cfa2e2354450) Co-authored-by: Zackery Spytz <zspytz@gmail.com> Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* Fix typo in turtledemo.two_canvases. (GH-25194)Miss Islington (bot)2021-04-051-1/+1
| | | | | (cherry picked from commit 4e2ef7084185d2220003b4b5538e3d8190b2dcd6) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-43705: Document that SyntaxError's offsets are 1-indexed (GH-25153)Miss Islington (bot)2021-04-021-3/+19
| | | | | | | | Changed the inline mentions of the attributes into a proper attribute list like `SystemExit` has. Automerge-Triggered-By: GH:gvanrossum (cherry picked from commit b2a91e0c9ee18b50cc86b21211c2258520a9f5d0) Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
* Post 3.8.9Łukasz Langa2021-04-021-1/+1
|
* Merge tag 'v3.8.9' into 3.8Łukasz Langa2021-04-0230-75/+285
|\ | | | | | | Python 3.8.9
| * Python 3.8.9v3.8.9Łukasz Langa2021-04-0230-75/+285
| |
* | [3.9] bpo-26053: Fix args echoed by pdb run command (GH-25149)Miss Islington (bot)2021-04-023-1/+15
|/ | | | | | | | | | | | * bpo-26053: Fix args echoed by pdb run command (GH-22033) (cherry picked from commit 652bfdee9495dca241d48278742fe035b7a82bdb) * bpo-26053: Fix test_pdb.test_issue26053() (GH-25139) (cherry picked from commit bd4ab8e73906a4f12d5353f567228b7c7497baf7) (cherry picked from commit 7ad56e254519047aeb9c669b9ea2f2bf0acfd401) Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
* bpo-43700: Replace Zulip badge with Discourse badge (GH-25141)Miss Islington (bot)2021-04-021-3/+3
| | | | | | Automerge-Triggered-By: GH:zware (cherry picked from commit bef7b26f7229f8b7cde843118a7bc7e2b00f0372) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* Doc: io: Remove "In-memory streams" section (GH-24927)Miss Islington (bot)2021-04-011-10/+0
| | | | (cherry picked from commit b045cdaf341f80b7d1e4804b932b6e415600c2e1) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* Fix grammar in enum documentation. (GH-24689)Miss Islington (bot)2021-04-011-1/+1
| | | | | | | | | There is an extra `s` in the singular word `method`. Reported in docs mailing list by Steven Nguyen. Automerge-Triggered-By: GH:Mariatta (cherry picked from commit f193874056fb185305084b79b32d2745ce9be7cf) Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
* bpo-37945: Fix test_locale.test_getsetlocale_issue1813() (GH-25110) (GH-25113)Miss Islington (bot)2021-03-312-1/+9
| | | | | | Skip the test if setlocale() fails. (cherry picked from commit f3ab670fea75ebe177e3412a5ebe39263cd428e3) Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-42225: IDLE - document two unix-related problems. (GH-25078)Miss Islington (bot)2021-03-313-9/+39
| | | | | | | 1. Bad IP masquerade rules can prevent startup. 2. X cannot handle some complex colored chars. (cherry picked from commit 1b4a9c7956d5dc64f8002f62bf0faae2d1892f90) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-43399: Fix ElementTree.extend not working on iterators (GH-24751)Miss Islington (bot)2021-03-304-1/+7
| | | | | (cherry picked from commit 51a85ddce8b336addcb61b96f04c9c5edef07296) Co-authored-by: Alex Prengère <2138730+alexprengere@users.noreply.github.com>
* [3.8] bpo-43631: Update to OpenSSL 1.1.1k (GH-25024) (GH-25089)Christian Heimes2021-03-3011-17/+18
| | | | | | | | Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: GH:tiran. (cherry picked from commit a54fc683f237d8f0b6e999a63aa9b8c0a45b7fef) Co-authored-by: Christian Heimes <christian@python.org>
* bpo-43637: Fix a possible memory leak in winreg.SetValueEx() (GH-25038)Miss Islington (bot)2021-03-301-0/+1
| | | | | (cherry picked from commit dfeec347f21b86879ba8f27f567bb275b243f1bc) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-33164: blake2: Fix Coverity scan (GH-25060)Miss Islington (bot)2021-03-304-4/+4
| | | | | (cherry picked from commit 068ebf9729d440cef03e4c57e3db83c851146172) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* bpo-43660: Fix crash when displaying exceptions with custom values for ↵Miss Islington (bot)2021-03-293-1/+20
| | | | | | | sys.stderr (GH-25075) (cherry picked from commit 09b90a037d18f5d4acdf1b14082e57bda78e85d3) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* bpo-43562: fix test_ssl to skip on unreachable network (GH-24937) (GH-25047)Miss Islington (bot)2021-03-291-0/+2
| | | | | | | | This test checks result code of the connection directly, so it never raises an exception that can be suppressed by `support.transient_internet`. Directly support skipping the test in case of unreachable network. (cherry picked from commit 29c451c6989c3c94fa0a9facf187c24f3cbf2420) Co-authored-by: Carl Meyer <carl@oddbird.net> Co-authored-by: Carl Meyer <carl@oddbird.net>
* bpo-35883: Py_DecodeLocale() escapes invalid Unicode characters (GH-24843) ↵Miss Islington (bot)2021-03-294-69/+148
| | | | | | | | | | | | | | | | | (GH-24906) Python no longer fails at startup with a fatal error if a command line argument contains an invalid Unicode character. The Py_DecodeLocale() function now escapes byte sequences which would be decoded as Unicode characters outside the [U+0000; U+10ffff] range. Use MAX_UNICODE constant in unicodeobject.c. (cherry picked from commit 9976834f807ea63ca51bc4f89be457d734148682) Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-43659: Fix test_curses on AIX (GH-25074)Miss Islington (bot)2021-03-291-0/+1
| | | | | | | | curses.update_lines_cols() is only defined when the curses library provides either resizeterm() or resize_term() functions which are optional and are not provided on AIX. (cherry picked from commit c8b5738810516df5722caf049003e9b319427bec) Co-authored-by: Michael Felt <aixtools@users.noreply.github.com>
* bpo-35930: Raising an exception raised in a "future" instance will create ↵Miss Islington (bot)2021-03-292-15/+25
| | | | | | | | | | | | reference cycles (GH-24995) (#25071) Before: https://lists.es.python.org/pipermail/general/attachments/20201229/0c14bc58/attachment-0002.png After: https://lists.es.python.org/pipermail/general/attachments/20201229/0c14bc58/attachment-0003.png (cherry picked from commit 32430aadadf6e012e39167d3c18a24e49fb84874) Co-authored-by: Jesús Cea <jcea@jcea.es> Co-authored-by: Jesús Cea <jcea@jcea.es>