summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-44786: Fix a warning in RE in c-analyzer (GH-28351) (GH-28353)Miss Islington (bot)2021-09-152-2/+3
| | | | | | (cherry picked from commit 1a9ef5798525bbb39a16c8af5c435b97352ee027) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-45195: Fix test_readline.test_nonascii() (GH-28329) (GH-28333)Miss Islington (bot)2021-09-152-1/+6
| | | | | | | Fix test_readline.test_nonascii(): sometimes, the newline character is not written at the end, so don't expect it in the output. (cherry picked from commit 797c8eb9ef511f0c25f10a453b35c4d2fe383c30) Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-45193: Restore IDLE completion boxes on Ubuntu (GH-28343)Miss Islington (bot)2021-09-151-1/+1
| | | | | | | | | The line that should not have been needed on macOS tk 8.6.8 but was, should not be a problem on Ubuntu, but is. It is not needed on macOS tk 8.6.11, installed with 3.10. Disable it but leave it for now in case some system needs it. (cherry picked from commit 1afc7b3219b24c951bb4e6b7e1ead904228de074) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-45020: Don't test IDLE with frozen module. (GH-28344)Miss Islington (bot)2021-09-151-2/+2
| | | | | | Otherwise, test would need special import. (cherry picked from commit 369bf949ccbb689cd4638b29b4c0c12db79b927c) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-4356: Mention the new key arguments for the bisect module APIs in the ↵Miss Islington (bot)2021-09-141-0/+6
| | | | | | | | | 3.10 What's new (GH-28339) (GH-28340) (cherry picked from commit 1aaa85949717e4ab2ed700e58762f0a3ce049a37) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* bpo-45196: prevent unittest crash on address sanitizer builds (GH-28331)Miss Islington (bot)2021-09-142-3/+20
| | | | | (cherry picked from commit b668cdfa09e9bdfcfddaadd23dbd455d5f667383) Co-authored-by: junyixie <xiejunyi.arch@bytedance.com>
* bpo-45156: Fixes inifite loop on unittest.mock.seal() (GH-28300) (GH-28326)Miss Islington (bot)2021-09-143-6/+70
| | | | | | | | | Fixes infinite loop on unittest.mock.seal() of mocks created by unittest.create_autospec(). Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> (cherry picked from commit 7f60c9e1c6e22cc0e846a872c318570926cd3094) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* bpo-42135 Correct version slated for importlib.find_loader removal ↵Miss Islington (bot)2021-09-132-1/+4
| | | | | | | | | | (GH-28312) (GH-28321) importlib.find_loader should also be slated for 3.12 like the others in GH-25169 and as documented in https://docs.python.org/3.11/whatsnew/3.10.htmlGH-deprecated. (cherry picked from commit 9f93018b69d72cb48d3444554261ae3b0ea00c93) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* bpo-35474: Fix mimetypes.guess_all_extensions() potentially mutating list ↵Miss Islington (bot)2021-09-133-8/+20
| | | | | | | | | | (GH-28286) (GH-28289) * Calling guess_all_extensions() with strict=False potentially mutated types_map_inv. * Mutating the result of guess_all_extensions() mutated types_map_inv. (cherry picked from commit 97ea18ecede8bfd33d5ab2dd0e7e2aada2051111) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-45182: Fix incorrect use of requires_zlib in test_bdist_rpm (GH-28305)Miss Islington (bot)2021-09-131-2/+2
| | | | | | It is a decorator factory and should be always followed by "()". (cherry picked from commit 9260e6739865c966c3ec6c5c289e0b96f848403e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.10] bpo-45126: Fix ref. leak in `sqlite3.Connection.__init__` (GH-28231). ↵Erlend Egeberg Aasland2021-09-131-0/+1
| | | | (GH-28298)
* IDLE: adjust Python version in doc url for 3.10+ (GH-28228)Miss Islington (bot)2021-09-101-5/+7
| | | | | | | | Expression 'python_version()[:3]' truncated '3.10.0' to '3.1' instead of '3.10'. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit b74c819fab86bedc9b962ea42cfb9b5893fd2dda) Co-authored-by: giovanniwijaya <16949408+giovanniwijaya@users.noreply.github.com>
* bpo-9811: [doc] strftime handling of unsupported format specifiers is ↵Miss Islington (bot)2021-09-101-1/+2
| | | | | | | platform dependent (GH-28264) (GH-28277) (cherry picked from commit e86bcfa58080f152f242c756f625f4015671f168) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* bpo-44964: Correct the note about the f_lasti field (GH-28208) (GH-28276)Miss Islington (bot)2021-09-102-4/+4
| | | | | (cherry picked from commit ab327f2929589407595a3de95727c8ab34ddd4af) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* bpo-44219: Mention GH-28250 is a deadlock bugfix (GH-28261) (GH-28274)Miss Islington (bot)2021-09-101-1/+2
| | | | | (cherry picked from commit 296b7100705ef52aece3378b0ae42c33a58526e1) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [3.10] Fix typos in pep384_macrocheck.py (GH-28220) (GH-28272)Miss Islington (bot)2021-09-101-2/+2
| | | | | | | | | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 4338aeeb9e07607f17bbada8ebfd97e7cc7a203c) Co-authored-by: Ikko Ashimine <eltociear@gmail.com> Automerge-Triggered-By: GH:Fidget-Spinner
* bpo-45024 and bpo-23864: Document how interface testing works with the ↵Miss Islington (bot)2021-09-102-63/+168
| | | | collections ABCs (GH-28218) (GH-28266)
* bpo-45067 - Verify the version of ncurses for extended color support feature ↵Miss Islington (bot)2021-09-092-2/+7
| | | | | | | | | | | | | | | | | usage. (GH-28260) * issue45067 - Fix _curses compilation in CentOS 7. Verify the version of ncurses for extended color support feature usage. The function extended_color_content was introduced in 2017. The ncurses-devel package in CentOS 7 had a older version ncurses resulted in compilation error. For compiling ncurses with extended color support, we verify the version of the ncurses library. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit 794430700defb913512f871b701a888aa730de81) Co-authored-by: Senthil Kumaran <senthil@python.org>
* Fix minor typo in 3.10.rst (GH-28253) (GH-28259)Miss Islington (bot)2021-09-091-1/+1
| | | | | | | (cherry picked from commit 73668541357caa813e7daa8792fab6fdf755a07f) Co-authored-by: D.Lintin <diantolintin3@gmail.com> Co-authored-by: D.Lintin <diantolintin3@gmail.com>
* bpo-44219: Release the GIL during isatty syscalls (GH-28250) (GH-28255)Miss Islington (bot)2021-09-093-2/+20
| | | | | | | | | Release the GIL while performing isatty() system calls on arbitrary file descriptors. In particular, this affects os.isatty(), os.device_encoding() and io.TextIOWrapper. By extension, io.open() in text mode is also affected. (cherry picked from commit 06148b1870fceb1a21738761b8e1ac3bf654319b) Co-authored-by: Vincent Michel <vxgmichel@gmail.com>
* bpo-44860: Update test_sysconfig for posix_user platlib (GH-28235) (GH-28251)Miss Islington (bot)2021-09-093-1/+14
| | | | | | | Update test_sysconfig.test_user_similar() for the posix_user scheme: "platlib" doesn't use sys.platlibdir. (cherry picked from commit 49acac00c08838d8080ce00d02c05284b94f8fb2) Co-authored-by: Victor Stinner <vstinner@python.org>
* Fix small mistake in fileinput documentation (GH-28241)Miss Islington (bot)2021-09-091-1/+1
| | | | | (cherry picked from commit 5afb570d2e21d4c4e91802c4948569302f9c1a7b) Co-authored-by: Jean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com>
* [3.10] bpo-20499: Rounding error in statistics.pvariance (GH-28230) (GH-28248)Raymond Hettinger2021-09-093-52/+51
|
* [3.10] bpo-45083: Include the exception class qualname when formatting an ↵Miss Islington (bot)2021-09-087-36/+78
| | | | | | | | | | | | exception (GH-28119) (GH-28134) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> (cherry picked from commit b4b6342848ec0459182a992151099252434cc619) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> * Use a private version of _PyType_GetQualName Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [3.10] bpo-45056: Remove trailing unused constants from co_consts (GH-28109) ↵Łukasz Langa2021-09-087-4616/+4654
| | | | | | | (GH-28125) (cherry picked from commit 55c4a92fc1abfe388335071f1d64b3addfa5793f) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* bpo-45118: Fix regrtest second summary for re-run tests (GH-28183) (GH-28214)Miss Islington (bot)2021-09-081-4/+7
| | | | | | | Fix regrtest second summary when using -w/--verbose2 command line option: lists re-run tests in the second test summary. (cherry picked from commit c4ea45d7d2c02674db2fdb96c7eee89324d2dc64) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy ↵Serhiy Storchaka2021-09-0835-13/+139
| | | | | | | (GH-28005) (GH-28027) (cherry picked from commit 2a8127cafe1d196f858a3ecabf5f1df3eebf9a12) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-45121: Fix RecursionError when calling Protocol.__init__ from a ↵Miss Islington (bot)2021-09-083-0/+17
| | | | | | | subclass' __init__ (GH-28206) (GH-28232) (cherry picked from commit c11956a8bddd75f02ccc7b4da7e4d8123e1f3c5f) Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
* bpo-38820: Test with OpenSSL 3.0.0 final (GH-28205)Miss Islington (bot)2021-09-082-2/+6
| | | | | | Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit cc7c6801945c6a7373553b78bd899ce09681ec0a) Co-authored-by: Christian Heimes <christian@python.org>
* Remove documentation for non-existing socket class attributes (GH-28029)Miss Islington (bot)2021-09-071-3/+0
| | | | | | The functions in question are available on the module-level only. (cherry picked from commit 34d82ce7cb82a8f5e2e83417d66d9aa319f3bb69) Co-authored-by: Matti Picus <matti.picus@gmail.com>
* bpo-24888: Clarify subprocess.check_call propagates exceptions if unable to ↵Miss Islington (bot)2021-09-071-0/+2
| | | | | | | start process (GH-28018) (cherry picked from commit 19a304ba990481f0381a5316096b6b3cf2dff381) Co-authored-by: DonnaDia <37962843+DonnaDia@users.noreply.github.com>
* Add more itertool recipes (GH-28165)Miss Islington (bot)2021-09-072-2/+43
| | | | | (cherry picked from commit 750368cbcd20393026f3bf695195f1a2cba490b5) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-45104: Clarify when __init__ is called (GH-28210)Miss Islington (bot)2021-09-071-1/+1
| | | | | (cherry picked from commit fa15df77f02ba4a66ba0b71989381a426038be01) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* Post 3.10.0rc2Pablo Galindo2021-09-071-1/+1
|
* Python 3.10.0rc2v3.10.0rc2Pablo Galindo2021-09-0770-152/+695
|
* bpo-45123: PyAiter_Check and PyObject_GetAiter fix & rename. (GH-28194) ↵Miss Islington (bot)2021-09-0711-10793/+5870
| | | | | | | (GH-28199) Fix PyAiter_Check to only check for the `__anext__` presense (not for `__aiter__`). Rename `PyAiter_Check()` to `PyAIter_Check()`, `PyObject_GetAiter()` -> `PyObject_GetAIter()`.
* bpo-44964: Add a note explaining the new semantics of f_last_i in frame ↵Miss Islington (bot)2021-09-072-2/+9
| | | | | | | objects (GH-28200) (cherry picked from commit fa2c0b85a8d5c9486661083afdf38cbaadb3432a) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* bpo-44860: Make sysconfig posix_user not depend on platlibdir (GH-27655) ↵Miss Islington (bot)2021-09-072-1/+3
| | | | | | | (GH-28197) (cherry picked from commit a5c6bcf24479934fe9c5b859dd1cf72685a0003a) Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
* bpo-44963: Implement send() and throw() methods for anext_awaitable objects ↵Miss Islington (bot)2021-09-073-22/+270
| | | | | | | | (GH-27955) Co-authored-by: Yury Selivanov <yury@edgedb.com> (cherry picked from commit 533e725821b15e2df2cd4479a34597c1d8faf616) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* Update idlelib/help.html to include idle.rst spelling fix (GH-28191)Miss Islington (bot)2021-09-071-13/+7
| | | | | | The idle.rst fix was GH-27903 two weeks ago. (cherry picked from commit f05ad9202896f21ca9717f5c9f4b933b7f5b6550) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Fix typo in a comment in Modules/_ssl.c: s/validata/validate/ (GH-27993) ↵Miss Islington (bot)2021-09-061-1/+1
| | | | | (GH-27997) (cherry picked from commit 28db1f61f20352c02e4ae1518e5aeb6505df3045)
* bpo-45052: Unskips a failing `test_shared_memory_basics` test (GH-28182)Miss Islington (bot)2021-09-062-2/+7
| | | | | (cherry picked from commit 19871fce3b74fc3f37e334a999e00d0ef65a8f1e) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* More useful OrderedDict LRU recipes (GH-28164)Miss Islington (bot)2021-09-051-19/+76
| | | | | (cherry picked from commit c860d30fa055ada336c75157b488c7baafb5bdad) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* Check that 'configure' is generated by GNU Autoconf 2.69 (GH-28152) (GH-28155)Miss Islington (bot)2021-09-051-0/+2
| | | | (cherry picked from commit 6beaf2ffaecd92955c5b3c579f184cbecc222636)
* bpo-45102: unittest: add tests for skipping and errors in cleanup (GH-28166)Miss Islington (bot)2021-09-051-0/+138
| | | | | (cherry picked from commit 28264269de9ff88d9ee7110fc56ac2d2db275bec) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-44571: Add itertool recipe for a variant of takewhile() (GH-28167)Miss Islington (bot)2021-09-052-1/+77
| | | | | (cherry picked from commit 91be41ad933e24bff26353a19f56447e17fb6367) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-45042: Now test classes decorated with `requires_hashdigest` are not ↵Miss Islington (bot)2021-09-044-6/+22
| | | | | | | | skipped (GH-28060) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit dd7b816ac87e468e2fa65ce83c2a03fe1da8503e) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* bpo-45030: Fix integer overflow in __reduce__ of the range iterator (GH-28000)Miss Islington (bot)2021-09-043-18/+27
| | | | | | | It happened with fast range iterator when the calculated stop = start + step * len was out of the C long range. (cherry picked from commit 936f6a16b9ef85bd56b18a247b962801e954c30e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.10] bpo-45097: Add more tests for shutdown_asyncgens() (GH-28154) (GH-28159)Miss Islington (bot)2021-09-041-0/+80
| | | | | | | * bpo-45097: Add more tests for shutdown_asyncgens() (GH-28154) (cherry picked from commit c2970fdec52788b6d9ff419ab7e31f255d87433d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Add What's New for dataclass keyword-only parameters. (GH-28158) (GH-28163)Miss Islington (bot)2021-09-041-1/+60
| | | | | | | (cherry picked from commit a1ba3597d2d2dd5e5d73f42b1174ab5e0a2cd224) Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com> Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>