summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | [doc] Clarify exception in `multiprocessing.cpu_count` (GH-23660) (GH-28433)Miss Islington (bot)2021-09-171-1/+2
| | | | | | | | | | | | | | | | Previous wording didn't explain the slightly unintuitive behavior. Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 24dbe30f8df80740704db3743d071b3218d1276e) Co-authored-by: Emmanuel Arias <eamanu@yaerobi.com>
* | Fix missing space with help for `-m compileall -o` (GH-27591) (GH-28430)Miss Islington (bot)2021-09-171-3/+3
| | | | | | | | | | (cherry picked from commit 74cc2453ae690be940cddfae8caf8216d8628c4a) Co-authored-by: Daniel Hahler <git@thequod.de>
* | bpo-42038: fix description of returned list of lines (GH-27529) (GH-28428)Miss Islington (bot)2021-09-171-6/+6
| | | | | | | | | | (cherry picked from commit aca0e08c5dcc11a8011697331931cde0b21270f2) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* | [doc] Add a missing apostrophe in a code example in venv.rst (GH-28391) ↵Miss Islington (bot)2021-09-171-1/+1
| | | | | | | | | | | | | | (GH-28425) (cherry picked from commit d22a700091af35ce52db0b1fbb02115bb6efbb1f) Co-authored-by: Arkaprabha Chakraborty <chakrabortyarkaprabha998@gmail.com>
* | bpo-45187: Fix dangling threads in test_socket.CreateServerFunctionalTest ↵Miss Islington (bot)2021-09-171-9/+3
| | | | | | | | | | | | | | (GH-28422) (cherry picked from commit 51ebb7f4f5e9bdcf8279a1d91be9569706f6bead) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* | bpo-45217: adds note that `allow_no_value` in `configparser` is optional ↵Miss Islington (bot)2021-09-171-1/+2
| | | | | | | | | | | | | | | | (GH-28396) (GH-28418) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit cb07838ab756564988b1ffd23871f1222a832446) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* | bpo-45187: Collect test_socket tests using unittest (GH-28317)Miss Islington (bot)2021-09-171-79/+5
| | | | | | | | | | | | | | | | Previously, test classes ISOTPTest, J1939Test, BasicUDPLITETest and UDPLITETimeoutTest were not included in the list of tests and were not run by regrtest. (cherry picked from commit 0361335b80b435ca3694981b41f8269e390eb892) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* | [3.10] bpo-45212: Fix dangling threads in skipped tests in test_socket ↵Serhiy Storchaka2021-09-171-11/+8
| | | | | | | | | | | | | | | | | | (GH-28361) (GH-28409) tearDown() is not called if setUp() raises an exception (including SkipTest). addCleanup() should be used for guaranteed execution of the cleanup code. (cherry picked from commit 7dacb70485a0910eb298c24b4d051720ca56fb91)
* | bpo-45228: Fix stack buffer overflow in parsing J1939 address (GH-28404)Miss Islington (bot)2021-09-172-8/+9
| | | | | | | | | | (cherry picked from commit 773319545ba60577bc140aa46eac83b360240b7a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* | Fix typo and add a module prefix (GH-28401)Miss Islington (bot)2021-09-171-2/+2
| | | | | | | | | | (cherry picked from commit 80d9ff16483b6c1898bcdcc811b5450b57a5e573) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* | bpo-45220: Avoid automatically selecting the Windows 11 SDK preview when ↵Miss Islington (bot)2021-09-162-0/+6
| | | | | | | | | | | | | | | | building (GH-28393) (GH-28394) (cherry picked from commit f4b94b1f57827083990272b5f282aa1493ae2bf4) Co-authored-by: Steve Dower <steve.dower@python.org>
* | docs: correct references to __isub__ etc (GH-28297)Miss Islington (bot)2021-09-161-132/+132
| | | | | | | | | | (cherry picked from commit 800bd01b6d365156403c3dde61765dc5fdbf64be) Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
* | bpo-45167: Fix deepcopying of GenericAlias (GH-28324) (GH-28367)Miss Islington (bot)2021-09-153-5/+28
| | | | | | | | | | (cherry picked from commit 5dce51a8875d9639786741e962b3cb208596b096) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* | bpo-45205: Make test_compileall quiet (GH-28356) (GH-28370)Miss Islington (bot)2021-09-151-2/+4
| | | | | | | | | | | | | | | | Make test_compileall quiet: test_year_2038_mtime_compilation() and test_larger_than_32_bit_times() of test_compileall no longer log "Compiling ..." messages to stdout. (cherry picked from commit cc057ff5227b3a4ded637caa7ba51b67b06abaaa) Co-authored-by: Victor Stinner <vstinner@python.org>
* | bpo-45207: Make test_gdb.test_pycfunction() quiet (GH-28355) (GH-28365)Miss Islington (bot)2021-09-151-3/+11
| | | | | | | | | | | | | | | | | | test_gdb.test_pycfunction() now ignores gdb stderr, it no longer logs messages like: Function "meth_varargs" not defined. (cherry picked from commit 84a6061e29e9dc13909bdf6f541f48c2a4f1d410) Co-authored-by: Victor Stinner <vstinner@python.org>
* | bpo-45089: Improve sqlite3 trace callback docs (GH-28238) (GH-28371)Miss Islington (bot)2021-09-151-5/+13
| | | | | | | | | | | | | | - Add link to str object and sqlite3 transaction control - Mention that exceptions are not propagated (cherry picked from commit 51056b40e711d84692d099ac8970077b33c7fafd) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* | bpo-45208: Make test_pdb.test_checkline_is_not_executable() quiet (GH-28354) ↵Miss Islington (bot)2021-09-151-13/+14
| | | | | | | | | | | | | | | | | | | | | | (GH-28363) test_pdb.test_checkline_is_not_executable() no longer writes output to stdout. Remove also unused variables 'f'. (cherry picked from commit e08e491a6ceea8ca105612df10147418c4e105b8) Co-authored-by: Victor Stinner <vstinner@python.org>
* | bpo-45193: News for IDLE PR_28343 (GH-28348)Miss Islington (bot)2021-09-151-0/+1
| | | | | | | | | | (cherry picked from commit 9d76d28867c28bcc881b851547a9cd7ac003ae88) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* | [3.10] bpo-34602: Quadruple stack size on macOS when compiling with UBSAN ↵Łukasz Langa2021-09-155-113/+146
| | | | | | | | | | | | | | (GH-27309) (GH-28280) (cherry picked from commit be9de8721d63b9d8e032d508069daf88c06542c6) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* | 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>