summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* [3.10] gh-95876: Fix format string in pegen error location code (GH-95877 ↵Christian Heimes2022-08-111-0/+4
| | | | | | | (GH-95901) (cherry picked from commit b4c857d0fd74abb1ede6fe083c4fa3ca728b2b83) Co-authored-by: Christian Heimes <christian@python.org>
* gh-95605: Fix `float(s)` error message when `s` contains only whitespace ↵Miss Islington (bot)2022-08-101-0/+2
| | | | | | | | (GH-95665) (GH-95859) This PR fixes the error message from float(s) in the case where s contains only whitespace. (cherry picked from commit 97e9cfa75a80b54a0630b7371f35e368a12749d1) Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
* gh-91271: Document which parts of structs are in limited API/stable ABI ↵Petr Viktorin2022-08-052-3/+72
| | | | | (GH-32196) (GH-95711) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* gh-65802: IDLE - explain SaveAs and extensions (GH-95690)Miss Islington (bot)2022-08-051-0/+1
| | | | | | | | File name extensions may or may not be shown for the current name and are added in an OS-dependent manner if not given for the new name. (cherry picked from commit 9890f86ae2001d19e7a18fee5b13aa0dd6069aef) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-95423: Update winreg.DeleteKeyEx documentation and remove dynamic ↵Steve Dower2022-08-031-0/+1
| | | | | function load (GH-95521) Co-authored-by: Derek Kim <ddkim1024@gmail.com>
* gh-95609: update bundled pip to 22.2.2 (gh-95610)Miss Islington (bot)2022-08-031-0/+1
| | | | | (cherry picked from commit 3d9d45b22cb1e90bca2901eade4b3125aeadb8c9) Co-authored-by: Stéphane Bidoul <stephane.bidoul@gmail.com>
* gh-91207: Override stylesheet fingerprinting when building for HTML Help ↵CAM Gerlach2022-08-021-0/+2
| | | | (GH-95556)
* gh-95191: IDLE: Include prompts when saving Shell GH-95554 (#95558)Miss Islington (bot)2022-08-021-0/+1
| | | | | (cherry picked from commit b85411fc5e9e223a6bd44f89f674ee3b2e29b99e) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Python 3.10.6v3.10.6Pablo Galindo2022-08-0183-143/+824
|
* gh-95511: IDLE - fix Shell context menu copy-with-prompts bug (GH-95512)Miss Islington (bot)2022-08-011-0/+2
| | | | | | | | | If one selects whole lines, as the sidebar makes easy, do not add an extra line. Only move the end of a selection to the beginning of the next line when not already at the beginning of a line. (Also improve the surrounding code.) (cherry picked from commit fc31a13dc1799b8d972c1f4ea49f27090aed7f48) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.10] bpo-46053: Fix OSS audio support on NetBSD (GH-30065). (GH-95477)Thomas Klausner2022-07-311-0/+1
| | | | | (cherry picked from commit 2e7e3c4c109928870c1e33d8af36b78e92895594) Co-authored-by: Thomas Klausner <tk@giga.or.at>
* gh-95471: IDLE - Tweak Edit menu (GH-95481)Miss Islington (bot)2022-07-311-0/+1
| | | | | | Move `Select All` above `Cut` as it is used with `Cut` and `Copy` but not `Paste`. Add a separator between `Replace` and `Go to Line` to separate items that belong to the 'Edit-find' (above) and 'Edit-show' (below) IDLE github project topics. (cherry picked from commit 53357b3ee53d767c2da5cd77f9c47117903e9a44) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-95411: IDLE - Enable using the module browser with .pyw files (GH-95397)Miss Islington (bot)2022-07-301-0/+1
| | | | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 7e19e417b5df765dabab8d6550ec0e9d897c573e) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* [3.10] gh-95166: cancel map waited on future on timeout (GH-95169) (GH-95375)Łukasz Langa2022-07-291-0/+1
| | | | Co-authored-by: Thomas Grainger <tagrain@gmail.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* gh-89610: Add .pyi as a recognised extension for IDLE on macOS (GH-95393)Miss Islington (bot)2022-07-281-0/+2
| | | | | | | | This allows opening stub files by double clicking on them in the Finder. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 06fc249135e5b98a74fc0213e157e80412354659) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-86128: Add warning to ThreadPoolExecutor docs about atexit behaviour ↵Miss Islington (bot)2022-07-281-0/+1
| | | | | | | (GH-94008) (cherry picked from commit 7df2f4d78714707cfb30d83ca99ce84ef9934892) Co-authored-by: [object Object] <lucas.wiman@gmail.com>
* gh-95355: Check tokens[0] after allocating memory (GH-95356)Miss Islington (bot)2022-07-281-0/+1
| | | | | | | | GH-95355 Automerge-Triggered-By: GH:pablogsal (cherry picked from commit b946f529efb4a623ac4ad968d8091edb81ebdcdb) Co-authored-by: Honglin Zhu <zhuhonglin.zhl@alibaba-inc.com>
* [3.10] GH-93899: fix checks for eventfd flags (GH-95170). (#95345)Kumar Aditya2022-07-281-0/+1
| | | | | (cherry picked from commit 4dd099bafff14639ef5d2185965016d8f253353f) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* [3.10] gh-94938: Fix errror detection of unexpected keyword arguments ↵Serhiy Storchaka2022-07-281-0/+3
| | | | | | | | | | | | | | | (GH-94999) (GH-95354) When keyword argument name is an instance of a str subclass with overloaded methods __eq__ and __hash__, the former code could not find the name of an extraneous keyword argument to report an error, and _PyArg_UnpackKeywords() returned success without setting the corresponding cell in the linearized arguments array. But since the number of expected initialized cells is determined as the total number of passed arguments, this lead to reading NULL as a keyword parameter value, that caused SystemError or crash or other undesired behavior.. (cherry picked from commit ebad53a4dc1bb591820724a22cef9b8459185b5f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-95339: update bundled pip to 22.2.1 (gh-95340)Miss Islington (bot)2022-07-271-0/+1
| | | | | (cherry picked from commit 226d02bb109d08601fbccd645e9d67aee2e5bcdc) Co-authored-by: Stéphane Bidoul <stephane.bidoul@gmail.com>
* GH-95045: gc untrack _lsprof.Profiler before deallocating it (GH-95315)Miss Islington (bot)2022-07-271-0/+1
| | | | | | Automerge-Triggered-By: GH:pablogsal (cherry picked from commit deacf391d7a1b3ab49bffa16088b3500fdb4c435) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* gh-95280: Fix test_get_ciphers on systems without RSA key exchange (GH-95282)Miss Islington (bot)2022-07-271-0/+2
| | | | | (cherry picked from commit 565403038b75eb64ea483b2757ba30769246d853) Co-authored-by: Christian Heimes <christian@python.org>
* gh-95087: Fix IndexError in parsing invalid date in the email module (GH-95201)Miss Islington (bot)2022-07-251-0/+1
| | | | | | Co-authored-by: wouter bolsterlee <wouter@bolsterl.ee> (cherry picked from commit ea5ed0ba51c10cfdde7651a475438551964dfdfc) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-95212: make multiprocessing test case parallel-safe (GH-95213)Miss Islington (bot)2022-07-251-0/+2
| | | | | (cherry picked from commit 5956de16cd00e7e1cf5cbf3d7b4a930eaa928321) Co-authored-by: Christian Heimes <christian@python.org>
* gh-95199: upgrade bundled setuptools to 63.2.0 (gh-95200)Miss Islington (bot)2022-07-241-0/+1
| | | | | (cherry picked from commit 3c94d3395edbcd299cbdacd09660ed88e654eeef) Co-authored-by: Stéphane Bidoul <stephane.bidoul@gmail.com>
* gh-95194: upgrade bundled pip to 22.2 (gh-95195)Miss Islington (bot)2022-07-241-0/+1
| | | | | | upgrade bundled pip to 22.2 (cherry picked from commit 068ffafa5465e9388a940692d1720266a1b37257) Co-authored-by: Stéphane Bidoul <stephane.bidoul@gmail.com>
* gh-93157: Fix fileinput didn't support `errors` in `inplace` mode (GH-95128)Miss Islington (bot)2022-07-241-0/+2
| | | | | (cherry picked from commit 5c7f3bcdafedd60a385e8ca5403bc6b0b7a862b3) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* [3.10] gh-94930: skipitem() in getargs.c should return non-NULL on error ↵Miss Islington (bot)2022-07-191-0/+2
| | | | | | | | (GH-94931) (GH-94963) (cherry picked from commit 067f0da33506f70c36a67d5f3d8d011c8dae10c9) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* GH-91153: Handle mutating __index__ methods in bytearray item assignment ↵Miss Islington (bot)2022-07-191-0/+2
| | | | | | | (GH-94891) (cherry picked from commit f36589510b8708fa224d799d5b328deab558aa4e) Co-authored-by: Brandt Bucher <brandtbucher@microsoft.com>
* [3.10] gh-94949: Disallow parsing parenthesised ctx mgr with old ↵Shantanu2022-07-191-0/+1
| | | | | | | feature_version (GH-94950) (#94990) (cherry picked from commit 0daba822212cd5d6c63384a27f390f0945330c2b) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* [3.10] gh-94947: Disallow parsing walrus with feature_version < (3, 8) ↵Shantanu2022-07-181-0/+1
| | | | | | | | | | | | | | (GH-94948) (#94969) * gh-94947: Disallow parsing walrus with feature_version < (3, 8) * oops, commit the parser * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>. (cherry picked from commit ae0be5a53bb4caee3de4888341addd9c94133f2d) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* gh-94821: Fix autobind of empty unix domain address (GH-94826)Miss Islington (bot)2022-07-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When binding a unix socket to an empty address on Linux, the socket is automatically bound to an available address in the abstract namespace. >>> s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) >>> s.bind("") >>> s.getsockname() b'\x0075499' Since python 3.9, the socket is bound to the one address: >>> s.getsockname() b'\x00' And trying to bind multiple sockets will fail with: Traceback (most recent call last): File "/home/nsoffer/src/cpython/Lib/test/test_socket.py", line 5553, in testAutobind s2.bind("") OSError: [Errno 98] Address already in use Added 2 tests: - Auto binding empty address on Linux - Failing to bind an empty address on other platforms Fixes f6b3a07b7df6 (bpo-44493: Add missing terminated NUL in sockaddr_un's length (GH-26866) (cherry picked from commit c22f134211743cd5ad14cec1dd4f527bee542b4c) Co-authored-by: Nir Soffer <nsoffer@redhat.com>
* gh-94864: Fix PyArg_Parse* with deprecated format units "u" and "Z" (GH-94902)Miss Islington (bot)2022-07-171-0/+2
| | | | | | It returned 1 (success) when warnings are turned into exceptions. (cherry picked from commit 107c21c5d56682320b38c01b5575c1604a429239) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-94869: Fix the location in some expressions for multi-line f-string ast ↵Miss Islington (bot)2022-07-161-0/+2
| | | | | | | | | nodes (GH-94895) (#94911) (cherry picked from commit 2e9da8e3522764d09f1d6054a2be567e91a30812) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* gh-90844: Allow virtual environments to correctly launch when they have ↵Miss Islington (bot)2022-07-161-0/+2
| | | | | | | spaces in the path (GH-94903) (cherry picked from commit 4b4439daed3992a5c5a83b86596d6e00ac3c1203) Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.10] gh-94841: Ensure arena_map_get() is inlined in PyObject_Free() (GH-94842)Neil Schemenauer2022-07-151-0/+1
| | | | | Need to define ALWAYS_INLINE macro for 3.10. Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
* bpo-45924: Fix asyncio incorrect traceback when future's exception is raised ↵Miss Islington (bot)2022-07-111-0/+1
| | | | | | | | | multiple times (GH-30274) (#94748) (cherry picked from commit 86c1df18727568758cc329baddc1836e45664023) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* GH-94736: Fix _multiprocessing.SemLock subclassing (GH-94738)Miss Islington (bot)2022-07-111-0/+1
| | | | | | | | | | | | * fix allocator and deallocator * 📜🤖 Added by blurb_it. * code review Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit f5b76330cfb93e1ad1a77c71dafe719f6a808cec) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* [3.10] GH-94329: Don't raise on excessive stack consumption (GH-94421) (#94448)Mark Shannon2022-07-111-0/+2
|
* gh-94637: Release GIL in SSLContext.set_default_verify_paths (GH-94658)Miss Islington (bot)2022-07-091-0/+3
| | | | | (cherry picked from commit 78307c7dc2352b6633138466debd4c10fae32970) Co-authored-by: Christian Heimes <christian@python.org>
* [3.10] gh-94321: Document sqlite3.PrepareProtocol (GH-94620) (#94671)Erlend Egeberg Aasland2022-07-071-0/+2
| | | | | (cherry picked from commit fb6dccae348b954d9f625031b54711a9a33da525) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* [3.10] gh-94430: Allow params named `module` or `self` with custom C names ↵Erlend Egeberg Aasland2022-07-071-0/+2
| | | | | | | in AC (GH-94431) (#94650) (cherry picked from commit 8bbd70b4d130f060f87e3f53810dc747a49fa369) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* [3.10] gh-94510: Raise on re-entrant calls to sys.setprofile and syssettrace ↵Pablo Galindo Salgado2022-07-051-0/+2
| | | | | | (GH-94511) (#94579) Co-authored-by: Łukasz Langa <lukasz@langa.pl>. Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* [3.10] gh-91330: Tests and docs for dataclass descriptor-typed fields ↵Łukasz Langa2022-07-051-0/+7
| | | | | | | | (GH-94424) (GH-94577) Co-authored-by: Erik De Bonte <erikd@microsoft.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 5f319308a820f49fec66fc3ade50bbaa9fe2105d)
* [3.10] gh-94360: Fix a tokenizer crash when reading encoded files with ↵Pablo Galindo Salgado2022-07-051-0/+2
| | | | | | | | | | | syntax errors from stdin (GH-94386) (GH-94574) Signed-off-by: Pablo Galindo <pablogsal@gmail.com> Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 36fcde61ba48c4e918830691ecf4092e4e3b9b99)
* gh-90355: Add isolated flag if currently isolated (GH-92857) (GH-94569)Miss Islington (bot)2022-07-051-0/+1
| | | | | | | Co-authored-by: Carter Dodd <carter.dodd@gmail.com> Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit c8556bcf6c0b05ac46bd74880626a2853e7c99a1)
* [3.10] bpo-46755: Don't log stack info twice in QueueHandler (GH-31355) ↵Vinay Sajip2022-07-051-0/+2
| | | | | (GH-94565) Co-authored-by: Erik Montnemery <erik@montnemery.com>
* gh-94538: Fix Argument Clinic output to custom file (GH-94539) (GH-94556)Miss Islington (bot)2022-07-051-0/+2
| | | | | (cherry picked from commit 2b8ed4d3d4741811da31fc774a202d535755c0a9) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* [3.10] Docs: remove redundant "adverb-adjective" hyphens from compound ↵Łukasz Langa2022-07-055-5/+5
| | | | | | | | modifiers (GH-94551) (GH-94558) Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021 (cherry picked from commit 3440d197a55800ecceea3e115e44b4262411359c) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* gh-84753: Clarify change made to `inspect` functions (GH-94554) (GH-94559)Miss Islington (bot)2022-07-051-2/+6
| | | | | (cherry picked from commit a2a3f2c541290fc8f0720d1abdc12d564b856c28) Co-authored-by: Łukasz Langa <lukasz@langa.pl>