summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [3.10] GH-100942: Fix incorrect cast in property_copy(). (GH-100965). (#101009)Nikita Sobolev2023-01-153-3/+23
| | | | | (cherry picked from commit 94fc7706b7bc3d57cdd6d15bf8e8c4499ae53a69) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* [3.10] gh-101021: Document binary parameters as bytes (GH-101024). (#101052)Barry Warsaw2023-01-154-8/+8
| | | | | | | (cherry picked from commit 49cae39ef020eaf242607bb2d2d193760b9855a6) Co-authored-by: Bob Kline <bkline@users.noreply.github.com> Co-authored-by: Bob Kline <bkline@users.noreply.github.com>
* gh-100668: Clarify how sqlite3 maps parameters onto placeholders (GH-100960)Miss Islington (bot)2023-01-141-9/+17
| | | | | | (cherry picked from commit 206f05a46b426eb374f724f8e7cd42f2f9643bb8) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* [3.10] GH-100573: Fix server hang caused by os.stat() on named pipe ↵Miss Islington (bot)2023-01-133-0/+46
| | | | | | (Windows) (GH-100959) (#101020) (cherry picked from commit 1bc7a736837272b15ad3a7aa472977bc720d1033)
* [3.10] gh-100160: Remove any deprecation warnings in ↵Serhiy Storchaka2023-01-137-49/+29
| | | | | | | | | asyncio.get_event_loop() (GH-100412) (GH-100970) Some deprecation warnings will reappear (in a slightly different form) in 3.12. Co-authored-by: Guido van Rossum <guido@python.org>. (cherry picked from commit 1b2459dc64b1c3eea89312ea9bf422f8d7c75bb2)
* [3.10] gh-100931: Test all `pickle` protocols in `test_slice` (GH-100932). ↵Nikita Sobolev2023-01-121-1/+3
| | | | | | | | | (GH-100978) (cherry picked from commit 8795ad1bd0d6ee031543fcaf5a86a60b37950714) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Automerge-Triggered-By: GH:AlexWaygood
* [3.10] gh-100871: Improve `copy` module tests (GH-100872) (#100975)Nikita Sobolev2023-01-122-2/+44
| | | | | (cherry picked from commit 729ab9b622957fef0e9b494af9a71ab02986c741) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* GH-100894: Updated the doc for `sys.winver` to clarify its usual contents ↵Miss Islington (bot)2023-01-121-1/+1
| | | | | | | (GH-100913) (cherry picked from commit d9dff4c8b5ab41c47af002ad7fb083c953e75f31) Co-authored-by: ram vikram singh <ramvikrams243@gmail.com>
* [3.10] GH-100892: Fix race in clearing `threading.local` (GH-100922). (#100938)Kumar Aditya2023-01-114-15/+70
| | | | | (cherry picked from commit 762745a124cbc297cf2fe6f3ec9ca1840bb2e873) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* [3.10] gh-100916: Convert argument to appropriate type (GH-100917) (GH-100919)Miss Islington (bot)2023-01-101-1/+1
| | | Co-authored-by: Yao-Ching Huang <tom4996131207@gmail.com>
* [3.10] Fix typos in Doc folder (GH-100880). (#100915)Hugo van Kemenade2023-01-101-1/+1
| | | Co-authored-by: Semen Zhydenko <semen.zhydenko@gmail.com>
* gh-100180: Update macOS installer to OpenSSL 1.1.1s (GH-100908)Miss Islington (bot)2023-01-103-21/+4
| | | | | (cherry picked from commit 57a5259a438c717755fc667fcbedb515ef8e0c85) Co-authored-by: Ned Deily <nad@python.org>
* gh-100893: update bpo reference in Mac README (GH-100905)Miss Islington (bot)2023-01-101-3/+3
| | | | | (cherry picked from commit be23a202426385ad99dcb2611152783780c7bc42) Co-authored-by: Ned Deily <nad@python.org>
* gh-100180: Update Windows installer to OpenSSL 1.1.1s (GH-100903)Steve Dower2023-01-103-4/+5
|
* bpo-28356: Document os.rename() behavior on Windows for differing volumes ↵Miss Islington (bot)2023-01-091-0/+2
| | | | | | | (GH-27376) (cherry picked from commit e098137cd3250af05f19380590b8dec79dc5942f) Co-authored-by: Ryan Ozawa <ryan.ozawa21@gmail.com>
* GH-81061: Fix refcount issue when returning `None` from a `ctypes.py_object` ↵Miss Islington (bot)2023-01-093-8/+24
| | | | | | | callback (GH-13364) (cherry picked from commit 837ba052672d1a5f85a46c1b6d4b6e7d192af6f3) Co-authored-by: dgelessus <dgelessus@users.noreply.github.com>
* [3.10] Update copyright year in README (GH-100863) (GH-100865)Ned Deily2023-01-091-4/+4
| | | Co-authored-by: HARSHA VARDHAN <75431678+Thunder-007@users.noreply.github.com>
* [3.10] Update copyright years to 2023. (gh-100850)Benjamin Peterson2023-01-0810-14/+14
| | | | | | | | | | * [3.10] Update copyright years to 2023. (gh-100848). (cherry picked from commit 11f99323c2ae0ec428c370a335695e3d8d4afc1d) Co-authored-by: Benjamin Peterson <benjamin@python.org> * Update additional copyright years to 2023. Co-authored-by: Ned Deily <nad@python.org>
* [3.10] gh-100689: Revert "bpo-41798: pyexpat: Allocate the expat_CAPI on the ↵Miss Islington (bot)2023-01-082-40/+28
| | | | | | | | | | | | | | heap memory (GH-24061)" (GH-100745) (#100847) gh-100689: Revert "bpo-41798: pyexpat: Allocate the expat_CAPI on the heap memory (GH-24061)" (GH-100745) * gh-100689: Revert "bpo-41798: pyexpat: Allocate the expat_CAPI on the heap memory (GH-24061)" This reverts commit 7c83eaa536d2f436ae46211ca48692f576c732f0. (cherry picked from commit b034fd3e5926c63a681a211087b4c666834c7525) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.10] gh-100776: Fix misleading default value in help(input) (GH-100788) ↵Shantanu2023-01-083-4/+5
| | | | | | | (#100842) (cherry picked from commit a2141882f259e21bb09fa0b7cba8142147b9e3d7) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* gh-100783: fix os.path.join documentation (GH-100811)Miss Islington (bot)2023-01-081-11/+12
| | | | | | | | | - Use "drive", not "drive letter", because of UNC paths - Previous components are not thrown away from relative drive letters - Use "segment" instead of "component" for consistency with pathlib - Other miscellaneous improvements (cherry picked from commit 53455a319f3f2e5609fca2a313ea356fba318665) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* gh-100824: Fix typo in the documentation of ↵Miss Islington (bot)2023-01-081-2/+2
| | | | | | | unittest.TestLoader.testNamePatterns (GH-100825) (cherry picked from commit 6d3bc4a795e7a60f665e41b2d4b6803f3844fc48) Co-authored-by: busywhitespace <busywhitespace@tuta.io>
* [3.10] gh-100673: Removed erroneous note in the get_type_hints docs ↵Alex Waygood2023-01-071-4/+0
| | | | | | | | | | | (#100701) (GH-100826) Removed erroneous note in the get_type_hints docs typing.get_type_hints still includes base class type hints. (cherry picked from commit deaf090699a7312cccb0637409f44de3f382389b) Automerge-Triggered-By: GH:AlexWaygood
* gh-99026 update dataclasses docs for when annotations are inspected (gh-100798)Miss Islington (bot)2023-01-061-2/+2
| | | | | | update dataclasses docs for when annotations are inspected (cherry picked from commit 659c2607f5b44a8a18a0840d1ac39df8a3219dd5) Co-authored-by: Akshit Tyagi <37214399+exitflynn@users.noreply.github.com>
* [3.10] gh-90104: avoid RecursionError on recursive dataclass field repr ↵Carl Meyer2023-01-063-21/+40
| | | | | | | | | (gh-100756) (GH-100785) Avoid RecursionError on recursive dataclass field repr (cherry picked from commit 0a7936a38f0bab1619ee9fe257880a51c9d839d5) Automerge-Triggered-By: GH:ericvsmith
* gh-87691: clarify use of anchor in pathlib docs (GH-100782)Miss Islington (bot)2023-01-061-8/+8
| | | | | | | | | | | | | | This is feedback from https://github.com/python/cpython/pull/100737GH-discussion_r1062968696 This matches the wording from the `os.path.join` docs better: https://docs.python.org/3/library/os.path.htmlGH-os.path.join In particular, the previous use of "anchor" was incorrect given the pathlib definition of "anchor". (cherry picked from commit 2f2fa03ff3d566b675020787e23de8fb4ca78e99) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Barney Gale <barney.gale@gmail.com>
* gh-87691: add an absolute path pathlib example in / operator docs (GH-100737)Miss Islington (bot)2023-01-051-1/+8
| | | | | | | The behaviour is fully explained a couple paragraphs above, but it may be useful to have a brief example to cover the behaviour. (cherry picked from commit 1ae619c911ec8e096f83eeb7cc57fcd966950a3d) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Automerge-Triggered-By: GH:hauntsaninja
* GH-100766: Note that locale.LC_MESSAGES is not universal (GH-100768)Miss Islington (bot)2023-01-051-0/+3
| | | Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
* gh-100739: Respect mock spec when checking for unsafe prefixes (GH-100740)Miss Islington (bot)2023-01-043-1/+18
| | | | | | (cherry picked from commit 7f1eefc6f4843f0fca60308f557a71af11d18a53) Co-authored-by: Christian Klein <167265+cklein@users.noreply.github.com> Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.10] gh-81611: Improve `range` paragraph in 8.3 of language reference ↵Miss Islington (bot)2023-01-041-3/+2
| | | | | | | | | | | (GH-98353) (#100705) gh-81611: Improve `range` paragraph in 8.3 of language reference (GH-98353) (cherry picked from commit 8b1f1251215651c4ef988622345c5cb134e54d69) Co-authored-by: 4l4k4z4m <alakazamjoined@gmail.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* docs: fix `ssizeobjargproc` parameters (GH-100736)Miss Islington (bot)2023-01-041-1/+2
| | | | | (cherry picked from commit 5fb1c08e15b864d8ea9353a0e013166e2e0e2160) Co-authored-by: David Lechner <david@lechnology.com>
* GH-86508: skip binding to local addresses of different family in ↵Miss Islington (bot)2023-01-043-2/+50
| | | | | | | `asyncio.open_connection` (GH-100615) (cherry picked from commit ba8dcdbcab5fd9989be6c9a51002394e782c463c) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* [3.10] gh-95882: Add tests for traceback from contextlib context managers ↵Irit Katriel2023-01-032-0/+108
| | | | (GH-95883) (#100715)
* gh-100700: Remove Date and Release fields in whatsnew/3.9 (GH-100730)Zachary Ware2023-01-031-2/+0
|
* fix `grammer` -> `grammar` typo in expressions.rst (GH-100683)Miss Islington (bot)2023-01-021-1/+1
| | | | | | (cherry picked from commit 7feb6d2f85d69fbabfc0598d8947124883167f12) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Automerge-Triggered-By: GH:AlexWaygood
* gh-100428: Make int documentation more accurate (GH-100436)Miss Islington (bot)2023-01-021-11/+15
| | | | | | | | | | | | - Remove first link to lexical definition of integer literal, since it doesn't apply (differs in handling of leading zeros, base needs to be explicitly specified, unicode digits are allowed) - Better describe handling of leading zeros, unicode digits, underscores - Base 0 does not work exactly as like a code literal, since it allows Unicode digits. Link code literal to lexical definition of integer literal. (cherry picked from commit edfbf56f4ca6588dfd20b53f534a4465e43c82bd) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* gh-99953: Purge mention of numeric param style from sqlite3 docs (GH-100630)Miss Islington (bot)2023-01-011-5/+1
| | | | | | The PEP-249 numeric style has never been supported by sqlite3. (cherry picked from commit b7a68ab824249ebf053b8149ebb83cd8578781c9) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-100201: Document behavior with a bare `yield` statement (GH-100416)Miss Islington (bot)2023-01-011-1/+3
| | | | | | (cherry picked from commit 1aab269d4acbf0b29573ad0a21c54fddee233243) Co-authored-by: ram vikram singh <ramvikrams243@gmail.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-96773 Fix documentation of socket backlog (GH-96778)Miss Islington (bot)2023-01-011-2/+2
| | | | | (cherry picked from commit 1d1480fefc6ae77d14d6eff007b180ff5d1cd5d4) Co-authored-by: Mehrdad Moradizadeh <mhrddmoradii@gmail.com>
* IDLE - fix module browser test (GH-100647)Miss Islington (bot)2023-01-011-2/+1
| | | | | (cherry picked from commit 1f6c87ca7b9351b2e5c5363504796fce0554c9b8) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-100633 Tutorial: Fix dataclasses import (GH-100638)Miss Islington (bot)2022-12-311-1/+1
| | | | | | import dataclass not dataclasses from dataclasses (cherry picked from commit 98308dbeb110198ebe28bdb7720d3671b3e7f57b) Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
* GH-85979: Clarify specification of `object.__await__` (GH-22320)Miss Islington (bot)2022-12-311-0/+8
| | | | | | (cherry picked from commit f59c7f8edd5ba5f6c1954383542a2292bcf51d91) Co-authored-by: Paolo Lammens <lammenspaolo@gmail.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* gh-100616: Document 'attr' parameter for window.vline() in curses module ↵Miss Islington (bot)2022-12-302-3/+5
| | | | | | | | (GH-24961) (cherry picked from commit f4fcfdf8c593611f98b9358cc0c5604c15306465) Co-authored-by: mathieui <mathieui@users.noreply.github.com> Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* [3.10] gh-100583: Improve the `pydoc` documentation (GH-100590) (#100607)Miss Islington (bot)2022-12-291-4/+4
| | | | | | gh-100583: Improve the `pydoc` documentation (GH-100590) (cherry picked from commit 7223d50b9785bc7b0cd76dcc68d97dabcbade4b6) Co-authored-by: ram vikram singh <ramvikrams243@gmail.com>
* GH-100101: Clarify documentation of zip's strict option (GH-100103)Miss Islington (bot)2022-12-281-4/+14
| | | | | (cherry picked from commit cf1c09818032df3080c2cd9e7edb5f657213dc83) Co-authored-by: JustAnotherArchivist <JustAnotherArchivist@users.noreply.github.com>
* gh-55688: Add note about ending backslashes for raw strings (GH-94768)Miss Islington (bot)2022-12-282-0/+45
| | | | | | (cherry picked from commit b95b1b3b25b0a93a22c7d58ac5bd5870e62070a8) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> Co-authored-by: hauntsaninja <hauntsaninja@gmail.com>
* gh-100553: Improve accuracy of sqlite3.Row iter test (GH-100555)Miss Islington (bot)2022-12-281-2/+8
| | | | | (cherry picked from commit 3dc48dabd48864039951715816e07986a4828d80) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.10] gh-99535: Add test for inheritance of annotations and update ↵Jelle Zijlstra2022-12-273-0/+32
| | | | | | | documentation (GH-99990) (#100509) (cherry picked from commit f5b7b19bf10724d831285fb04e00f763838bd555) Co-authored-by: MonadChains <monadchains@gmail.com>
* [3.10] gh-100520: Fix `rst` markup in `configparser` docstrings (GH-100524) ↵Miss Islington (bot)2022-12-261-36/+37
| | | | | | | | | | (#100534) gh-100520: Fix `rst` markup in `configparser` docstrings (GH-100524) (cherry picked from commit 199507b81a302ea19f93593965b1e5088195a6c5) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.10] gh-92446: Improve argparse choices docs (GH-94627) (#100529)Shantanu2022-12-261-6/+6
| | | | | | | | Based on the definition of the collections.abc classes, it is more accurate to use "sequence" instead of "container" when describing argparse choices. (cherry picked from commit ad3c99e521) Co-authored-by: Guy Yagev <yourlefthandman8@gmail.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>