summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-27752: improve documentation of csv.Dialect (GH-26795)Miss Islington (bot)2021-08-062-11/+24
| | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 0ffdced3b64ba5886fcde64266a31a15712da284) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* bpo-44605: Teach @total_ordering() to work with metaclasses (GH-27633) ↵Miss Islington (bot)2021-08-063-12/+41
| | | | (GH-27640)
* bpo-44756: [docs] revert automated virtual environment creation on `make ↵Miss Islington (bot)2021-08-063-5/+16
| | | | | | | | html` (GH-27635) It turned out to be disruptive for downstream distributors. (cherry picked from commit 55fa87b1ef46bbb9db7612b2dc2dd7fb039d9bc3) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-44822: Don't truncate `str`s with embedded NULL chars returned by ↵Miss Islington (bot)2021-08-063-3/+41
| | | | | | | `sqlite3` UDF callbacks (GH-27588) (cherry picked from commit 8f010dc920e1f6dc6a357e7cc1460a7a567c05c6) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-40928: notify users running test_decimal on macOS of malloc warnings ↵Miss Islington (bot)2021-08-063-1/+26
| | | | | | | | | | | (GH-26783) * When trying to allocate very large regions on macOS, malloc does not fail silently. It sends a noisy error out to STDERR * This provides a helper function to warn the user, and provides the warning for test_decimal, which consistently generates these warnings on macOS. Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 15d3c14df32a35ac69898a7852115722e30d7857) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* bpo-44524: Fix an issue wherein `_GenericAlias._name` was not properly set ↵Miss Islington (bot)2021-08-063-61/+191
| | | | | | | | | for specialforms (GH-27614) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 8bdf12e99a3dc7ada5f85bba79c2a9eb9931f5b0) Co-authored-by: Bas van Beek <43369155+BvB93@users.noreply.github.com>
* bpo-44849: Fix os.set_inheritable() on FreeBSD 14 with O_PATH (GH-27623)Miss Islington (bot)2021-08-062-3/+8
| | | | | | | | Fix the os.set_inheritable() function on FreeBSD 14 for file descriptor opened with the O_PATH flag: ignore the EBADF error on ioctl(), fallback on the fcntl() implementation. (cherry picked from commit c24896c0e3b32c8a9f614ef51366007b67d5c665) Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-44584: Deprecate PYTHONTHREADDEBUG env var (GH-27065)Miss Islington (bot)2021-08-067-1/+49
| | | | | | | | The threading debug (PYTHONTHREADDEBUG environment variable) is deprecated in Python 3.10 and will be removed in Python 3.12. This feature requires a debug build of Python. (cherry picked from commit 4d77691172aae81bdcbb0ea75839d0e896c43781) Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-44679: [doc] fix typo in unittest.mock.rst (GH-27618)Miss Islington (bot)2021-08-051-1/+1
| | | | | (cherry picked from commit 938e84b4fa410f1a86f5e0708ebc3af6bb8efb0e) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* [3.10] bpo-44838: Refine the custom syntax errors for invalid 'if' ↵Pablo Galindo Salgado2021-08-054-554/+621
| | | | | | | | | | | expressions (GH-27615). (GH-27616) … (cherry picked from commit f5cbea6b1b5fc39cca377c6cc93f222916015fc4) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Automerge-Triggered-By: GH:lysnikolaou
* bpo-44801: Check arguments in substitution of ParamSpec in Callable (GH-27585)Miss Islington (bot)2021-08-044-37/+89
| | | | | (cherry picked from commit 3875a6954741065b136650db67ac533bc70a3eac) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-42958: Improve description of shallow= in filecmp.cmp docs (GH-27166)Miss Islington (bot)2021-08-043-4/+10
| | | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Alexander Vandenbulcke <alexander.vandenbulcke95@gmail.com> (cherry picked from commit a8dc4893d2b28827e82447326ea47759c161a722) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* [doc] bpo-43066: zipfile - add note on leading slash in the filename arg ↵Miss Islington (bot)2021-08-042-1/+7
| | | | | | | | (GH-26899) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 7c5dab4340032eb15d3797d8b601ef11649bbab3) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* Fix typo in 'xml.dom.minidom' documentation (GH-27602)Miss Islington (bot)2021-08-041-1/+1
| | | | | (cherry picked from commit cc77193127381be16467ad10f421d3ba147ed972) Co-authored-by: Cristián Maureira-Fredes <cmaureir@users.noreply.github.com>
* Fix 404 link to the pyporting mailing list (GH-27320)Miss Islington (bot)2021-08-041-3/+3
| | | | | | | Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 977d99d1cca6ddd87fe6f218bca46e7ef105bd72) Co-authored-by: Rohit Nishad <47008599+rohitnishad613@users.noreply.github.com>
* Note that tp_clear and m_clear are not always called (GH-27581)Miss Islington (bot)2021-08-042-0/+12
| | | | | (cherry picked from commit 10faada709561663d6b1f623d308ff45e3808cca) Co-authored-by: Petr Viktorin <encukou@gmail.com>
* Fix hyperlink conflict in turtle docs (GH-27592)Miss Islington (bot)2021-08-041-12/+16
| | | | | (cherry picked from commit 3d2b4c6f18d7e644e5850d2af74ac5dc530eb24c) Co-authored-by: Harry <harry.lees@gmail.com>
* bpo-41886: Fix documented type of PyType_Type (GH-22454)Miss Islington (bot)2021-08-031-1/+1
| | | | | (cherry picked from commit ac811f9b5a68ce8756911ef2c8be83b46696018f) Co-authored-by: da-woods <dw-git@d-woods.co.uk>
* Ensure LICENSE.txt file is generated even in PGO builds (GH-27580) (GH-27582)Steve Dower2021-08-031-3/+1
|
* bpo-44808: fixes test for interactive inspect getsource of a class (GH-27571)Miss Islington (bot)2021-08-031-12/+8
| | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 58325971de0faf330c9c38269dae8315a0746e59) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* bpo-41737: expand doc for NotADirectoryError (GH-27471)Miss Islington (bot)2021-08-031-2/+4
| | | | | (cherry picked from commit f7c23a99cd4f8179b6ba2cffaeb78b852c0f6488) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* bpo-39091: Fix segfault when Exception constructor returns non-exception for ↵Miss Islington (bot)2021-08-034-4/+44
| | | | | | | | gen.throw. (GH-17658) (GH-27572) Co-authored-by: Benjamin Peterson <benjamin@python.org> (cherry picked from commit 83ca46b7784b7357d82ec47b33295e09ed7380cb) Co-authored-by: Noah <33094578+coolreader18@users.noreply.github.com>
* Post 3.10.0rc1Pablo Galindo2021-08-021-1/+1
|
* Python 3.10.0rc1v3.10.0rc1Pablo Galindo2021-08-0270-5144/+7972
|
* bpo-44792: Improve syntax errors for if expressions (GH-27506) (GH-27565)Miss Islington (bot)2021-08-025-0/+48
| | | | | (cherry picked from commit 28b6dc9dd5d1ce6f8aff7e06d4ef9afdc2bc8332) Co-authored-by: Miguel Brito <5544985+miguendes@users.noreply.github.com>
* bpo-44782: Improve OrderedDict recipe for LRU cache variants (GH-27536)Miss Islington (bot)2021-08-021-16/+32
| | | | | (cherry picked from commit 54f185b6d321a6354aef2b2886c766677f487ecb) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-35183: Add typical examples to os.path.splitext docs (GH-27286) (GH-27563)Miss Islington (bot)2021-08-022-7/+27
| | | | | (cherry picked from commit aa0894b3792901adb91e5f6d049154b7bcb980ec) Co-authored-by: Jake Stockwin <jake.stockwin@optimorlabs.com>
* bpo-44785: Silence deprecation warnings in test_pickle (GH-27538)Miss Islington (bot)2021-08-021-1/+5
| | | | | (cherry picked from commit 36d952d228582b0ffc7a86c520d4ddbe8943d803) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-44806: Fix __init__ in subclasses of protocols (GH-27545)Miss Islington (bot)2021-08-023-2/+48
| | | | | | | Non-protocol subclasses of protocol ignore now the __init__ method inherited from protocol base classes. (cherry picked from commit 043cd60abed09edddc7185bcf7d039771acc734d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Document PyMember_GetOne and PyMember_SetOne (GH-27555)Miss Islington (bot)2021-08-021-0/+15
| | | | | (cherry picked from commit d382bde220b4c07cce2b924ffeb7525ea1a969f4) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* doc: "Mac OS " -> "macOS" (GH-27534)Miss Islington (bot)2021-08-021-1/+1
| | | | | (cherry picked from commit 1342248f3a2b321b7b00867f47c92ba6549f9497) Co-authored-by: partev <petrosyan@gmail.com>
* bpo-44808: Fix test_inspect in refleak mode (GH-27544)Miss Islington (bot)2021-08-021-1/+2
| | | | | (cherry picked from commit 626d397cc1612ea5eef153dd910834c2ee00ddbd) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* doc: "Mac OS X" -> "macOS" (GH-27535)Miss Islington (bot)2021-08-021-3/+3
| | | | | (cherry picked from commit 414dcb13aaa4fd42f264fdee47782dede5c83d6c) Co-authored-by: partev <petrosyan@gmail.com>
* bpo-44781: make distutils test suppress deprecation warning from import ↵Miss Islington (bot)2021-08-021-2/+5
| | | | | | | distutils (GH-27485) (GH-27540) (cherry picked from commit a9134fa2ffb7e4684c980325dd5444afca596586) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* bpo-44667: Treat correctly lines ending with comments and no newlines in the ↵Miss Islington (bot)2021-08-023-1/+15
| | | | | | | Python tokenizer (GH-27499) (GH-27500) (cherry picked from commit b6bde9fc42aecad5be0457198d17cfe7b481ad79) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* bpo-44793: Fix checking the number of arguments when subscribe a generic ↵Miss Islington (bot)2021-08-023-8/+15
| | | | | | | | | | | type with ParamSpec parameter. (GH-27515) For example Callable[P, T][[int], str, float] will now raise an error. Use also term "arguments" instead of "parameters" in error message for too few/many arguments. (cherry picked from commit f92b9133ef67e77605cbd315b6b6c81036ce110e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Remove beta release note from macOS installer displays (GH-27531)Ned Deily2021-08-012-11/+1
|
* bpo-44784: Apply changes from importlib_metadata 4.6.3 (GH-27508) (#27510)Miss Islington (bot)2021-08-012-6/+14
| | | | | | | | | | Addressing issues with tests under error on warnings. Automerge-Triggered-By: GH:jaraco (cherry picked from commit 1cf8424a62db38a041d421a46618e025bbb87f89) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* bpo-34013: Don't consider a grouped expression when reporting legacy print ↵Miss Islington (bot)2021-08-013-6/+17
| | | | | | | syntax errors (GH-27521) (cherry picked from commit 208a7e957b812ad3b3733791845447677a704f3e) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* bpo-44794: Merge tests for typing.Callable and collection.abc.Callable ↵Miss Islington (bot)2021-07-313-117/+141
| | | | | | | (GH-27507) (cherry picked from commit be4cb9089aaf58d5f90da5f9fa66dc3c6763b5a2) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Trivial typo in docstring (#27504)Miss Islington (bot)2021-07-311-1/+1
| | | | | | | (cherry picked from commit 4b4227b907a262446b9d276c274feda2590a4e6e) Co-authored-by: Jesús Cea <jcea@jcea.es> Co-authored-by: Jesús Cea <jcea@jcea.es>
* bpo-44648: Fix error type in inspect.getsource() in interactive session ↵Miss Islington (bot)2021-07-303-1/+21
| | | | | | | (GH-27171) (GH-27495) (cherry picked from commit 48a62559dfaf775e4f1cc56b19379c799e8e2587) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* bpo-43625: Enhance csv sniffer has_headers() to be more accurate (GH-26939) ↵Miss Islington (bot)2021-07-304-8/+56
| | | | | | | (GH-27494) (cherry picked from commit ceea579ccc51791f3e115155d6f27905bc7544a9) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* bpo-42892: fix email multipart attribute error (GH-26903) (GH-27492)Miss Islington (bot)2021-07-303-3/+36
| | | | | (cherry picked from commit e3f877c32d7cccb734f45310f26beeec793364ce) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* bpo-41911: Update docs for various expressions (GH-27470) (GH-27490)Miss Islington (bot)2021-07-301-7/+34
| | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 4bd9caafb64589288e5171087070bde726178c58) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* bpo-44666: Use default encoding as fallback for compile_file (GH-27236) ↵Miss Islington (bot)2021-07-304-3/+13
| | | | | | | | | | (GH-27488) When sys.stdout.encoding is None compile_file will fall back to sys.getdefaultencoding to encode/decode error messages. Co-authored-by: Stefan Hoelzl <stefan.hoelzl@posteo.de> Co-authored-by: Mickaël Schoentgen <contact@tiger-222.fr> (cherry picked from commit 80f07076294bc09a55ed76d9bbf307404eef25e6)
* bpo-44753: Don't use logfile extension when determining old files to be ↵Miss Islington (bot)2021-07-301-1/+2
| | | | | deleted (GH-27475) (GH-27487) (cherry picked from commit 6ff890380971752299325bd28eab80ec936975cf)
* [3.10] Fail the CI if an optional module fails to compile (GH-27466). (GH-27481)Pablo Galindo Salgado2021-07-305-7746/+5002
| | | | | (cherry picked from commit 7cad0bee80a536c7e47f54cf43174175834f30a0) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27478)Miss Islington (bot)2021-07-3039-58/+58
| | | | | (cherry picked from commit be42c06bb01206209430f3ac08b72643dc7cad1c) Co-authored-by: Noah Kantrowitz <noah@coderanger.net>
* Doc: Change errant 3.10.0 to 3.10, to match other mentions (GH-27459) (GH-27479)Miss Islington (bot)2021-07-301-2/+2
| | | | | (cherry picked from commit f4367ba3c533fc2dc9e32aa431d674f715b911f2) Co-authored-by: Ori Avtalion <ori@avtalion.name>