https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
5a7e1e0 Python 3.11.0b4 11 July 2022, 15:25:22 UTC
a276833 [3.11] GH-94736: mark SemLock test as linux only (GH-94750) (#94752) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 11 July 2022, 15:24:12 UTC
91176d3 [3.11] bpo-45924: Fix asyncio incorrect traceback when future's exception is raised multiple times (GH-30274) (#94747) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 11 July 2022, 13:17:32 UTC
8464e4a GH-94736: Fix _multiprocessing.SemLock subclassing (GH-94738) * 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> 11 July 2022, 12:40:02 UTC
45896f2 [3.11] gh-93883: elide traceback indicators when possible (GH-93994) (GH-94740) Elide traceback column indicators when the entire line of the frame is implicated. This reduces traceback length and draws more attention to the remaining (very relevant) indicators. Example: ``` Traceback (most recent call last): File "query.py", line 99, in <module> bar() File "query.py", line 66, in bar foo() File "query.py", line 37, in foo magic_arithmetic('foo') File "query.py", line 18, in magic_arithmetic return add_counts(x) / 25 ^^^^^^^^^^^^^ File "query.py", line 24, in add_counts return 25 + query_user(user1) + query_user(user2) ^^^^^^^^^^^^^^^^^ File "query.py", line 32, in query_user return 1 + query_count(db, response['a']['b']['c']['user'], retry=True) ~~~~~~~~~~~~~~~~~~^^^^^ TypeError: 'NoneType' object is not subscriptable ``` Automerge-Triggered-By: GH:pablogsal 11 July 2022, 11:27:29 UTC
f3212b1 GH-77265: Document NaN handling in statistics functions that sort or count (GH-94676) (#94726) 10 July 2022, 17:35:33 UTC
e5c8ad3 [3.11] GH-94694: Fix column offsets for multi-line method lookups (GH-94721) (cherry picked from commit 264b3ddfd561d97204ffb30be6a7d1fb0555e560) 10 July 2022, 05:12:45 UTC
7b5737a Improve dataclass docstring (gh-94686) (cherry picked from commit a10cf2f6b3766f9dbbe54bdaacfb3f2ca406ea3d) Co-authored-by: Tom Fryers <61272761+TomFryers@users.noreply.github.com> 09 July 2022, 18:51:35 UTC
a61870e gh-94637: Release GIL in SSLContext.set_default_verify_paths (GH-94658) (cherry picked from commit 78307c7dc2352b6633138466debd4c10fae32970) Co-authored-by: Christian Heimes <christian@python.org> 09 July 2022, 16:33:15 UTC
7a34172 [3.11] GH-93252: Fix error handling for failed Python calls (GH-94693) (GH-94708) Automerge-Triggered-By: GH:tiran 09 July 2022, 12:09:15 UTC
b4e232c gh-94607: Fix subclassing generics (GH-94610) Co-authored-by: Serhiy Storchaka <3659035+serhiy-storchaka@users.noreply.github.com> (cherry picked from commit 6442a9dd212fa18343db21849cf05c0181662c1f) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> 09 July 2022, 05:20:43 UTC
cb4359c Use mdash-es consistently in the library docs index (GH-92762) (cherry picked from commit efb20a97c491821acb03564f526afaf9eed47eef) Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> 08 July 2022, 14:52:02 UTC
36a3372 [3.11] gh-94215: Fix error handling for line-tracing events (GH-94681) (GH-94688) * Re-enable crasher * Fix error handling for line-tracing events * blurb add (cherry picked from commit 23ee4a8067506e6c9c47748185653617413f7a60) Co-authored-by: Brandt Bucher <brandtbucher@microsoft.com> 08 July 2022, 13:25:53 UTC
73a1800 [3.11] gh-94622: Add more references to the sqlite3 types anchor (GH-94623) (#94678) (cherry picked from commit e5b841a4037d1c2ce3d12a584facf800ae36332a) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> 08 July 2022, 00:50:01 UTC
c72001e gh-94321: Document sqlite3.PrepareProtocol (GH-94620) (cherry picked from commit fb6dccae348b954d9f625031b54711a9a33da525) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> 07 July 2022, 23:09:05 UTC
77a0153 GH-94644: fix test_curses ref leak (GH-94647) (cherry picked from commit 277f55cb04409ccdf651d43df5eb9dcb3ee3128c) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 07 July 2022, 12:03:00 UTC
65c4316 gh-93910: Fix enum performance regression (GH-94614) This removes the performance regression in 3.11, **at the expense of not fixing the "bug" that allows accessing values from values** (e.g. `Color.RED.BLUE`). Using the benchmark @markshannon [presented](https://github.com/python/cpython/issues/93910GH-issuecomment-1165503032), the results are: | Version | Enum | Fast enum | Normal class | | --- | --- | --- | --- | | 3.10 | 2.04 | 0.59 | 0.56 | | 3.11 | 2.78 | 0.31 | 0.15 | | This PR | 1.30 | 0.32 | 0.16 | I share this mostly as information about the source of the regression, as this may be useful. It may be that the lower-risk approach for the beta is just to revert to a previously-known working state. (cherry picked from commit ed136b96737fdbeff864079d12904cb962c6cce5) Co-authored-by: Michael Droettboom <mdboom@gmail.com> 07 July 2022, 12:01:09 UTC
421c4b0 gh-94215: Add reproducer for segfault in frame_setlineno() (GH-94563) (cherry picked from commit de5884295ece094931413267973036ae8a0bca05) Co-authored-by: Christian Heimes <christian@python.org> 07 July 2022, 11:17:47 UTC
c0b7868 [3.11] gh-94430: Allow params named `module` or `self` with custom C names in AC (GH-94431) (#94649) (cherry picked from commit 8bbd70b4d130f060f87e3f53810dc747a49fa369) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> 07 July 2022, 10:12:47 UTC
74c953d [3.11] gh-92228: disable the compiler's 'small exit block inlining' optimization for blocks that have a line number (GH-94592) (GH-94643) Inlining of code that corresponds to source code lines, can make it hard to distinguish later between code which is only reachable from except handlers, and that which is reachable in normal control flow. This caused problems with the debugger's jump feature. This PR turns off the inlining optimisation for code which has line numbers. We still inline things like the implicit "return None".. (cherry picked from commit bde06e1b8381f140b296a397ddd1deb1c784ff8e) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> 07 July 2022, 10:10:32 UTC
3517c13 [3.11] gh-94628: Add explicit parameter list to sqlite3.connect docs (GH-94629) (#94645) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit 3eb2b9634fdc6826a558fa5aa820dc6e69b7800e) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> 07 July 2022, 08:46:14 UTC
fa44a76 gh-94630: Update sqlite3 docs with positional-only and keyword-only symbols (GH-94631) (cherry picked from commit 94988603f3c934f95220f09aefffd50c0a5d3367) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> 06 July 2022, 23:22:10 UTC
37a47b1 gh-94017: Improve clarity of sqlite3 transaction handling docs (GH-94320) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit 760b8cf0c887fbc5191611a7e7d4b8c0c4f15edc) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> 06 July 2022, 21:08:13 UTC
0187b60 GH-93896: AAlways set event loop in asyncio.run and IsolatedAsyncioTestCase (GH-94593) (cherry picked from commit 14fea6b4d25658bc00adbb97dd40ea3d3e6843ad) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 06 July 2022, 15:48:37 UTC
b22f9d6 [3.11] gh-94438: in frameobject's mark_stacks switch, the PUSH_EXC_INFO and POP_EXCEPT cases are no longer reachable (GH-94582) (GH-94595) (cherry picked from commit 50b9a7762f06335277d9962edc8d39498601a4e4) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> 06 July 2022, 07:21:59 UTC
5f4a16b [3.11] gh-94510: Raise on re-entrant calls to sys.setprofile and sys.settrace (GH-94511) (GH-94578) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 40d81fd63b46cf998880ce3bf3e5cb42bc3199c1) 05 July 2022, 19:02:43 UTC
552fc9a gh-91330: Tests and docs for dataclass descriptor-typed fields (GH-94424) (GH-94576) Co-authored-by: Erik De Bonte <erikd@microsoft.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 5f319308a820f49fec66fc3ade50bbaa9fe2105d) 05 July 2022, 18:44:31 UTC
d49c99f gh-94360: Fix a tokenizer crash when reading encoded files with syntax errors from stdin (GH-94386) * gh-94360: Fix a tokenizer crash when reading encoded files with syntax errors from stdin Signed-off-by: Pablo Galindo <pablogsal@gmail.com> * nitty nit Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 36fcde61ba48c4e918830691ecf4092e4e3b9b99) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> 05 July 2022, 17:09:51 UTC
9bd97a2 gh-90355: Add isolated flag if currently isolated (GH-92857) (GH-94568) 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) 05 July 2022, 15:54:03 UTC
49aeda9 [3.11] gh-92897: Ensure `venv --copies` respects source build property of the creating interpreter (GH-92899) (GH-94567) (cherry picked from commit 067597522a9002f3b8aff7f46033f10acb2381e4) Co-authored-by: Jeremy Kloth <jeremy.kloth@gmail.com> 05 July 2022, 15:40:17 UTC
7a3dae0 Docs: Convert PEP 630 (Isolating Extension Modules) to a HOWTO (GH-94489) (GH-94566) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Petr Viktorin <encukou@gmail.com> (cherry picked from commit e6ec6f5b50e8793172e83a9afbb05fe01f236b37) 05 July 2022, 15:20:03 UTC
d49159b [3.11] bpo-46755: Don't log stack info twice in QueueHandler (GH-31355) (GH-94564) Co-authored-by: Erik Montnemery <erik@montnemery.com> 05 July 2022, 14:49:05 UTC
1bfe83a [3.11] gh-94485: Set line number of module's RESUME instruction to 0 as specified by PEP 626 (GH-94552) (GH-94562) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Co-authored-by: Mark Shannon <mark@hotpy.org> (cherry picked from commit 324d01944d16868b07df9e8eef6987766a31a36d) 05 July 2022, 14:01:24 UTC
0615e7f gh-84753: Clarify change made to `inspect` functions (GH-94554) (GH-94560) (cherry picked from commit a2a3f2c541290fc8f0720d1abdc12d564b856c28) Co-authored-by: Łukasz Langa <lukasz@langa.pl> 05 July 2022, 12:35:09 UTC
e284468 gh-94538: Fix Argument Clinic output to custom file (GH-94539) (GH-94555) (cherry picked from commit 2b8ed4d3d4741811da31fc774a202d535755c0a9) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> 05 July 2022, 12:33:59 UTC
77bf973 Docs: remove redundant "adverb-adjective" hyphens from compound modifiers (GH-94551) (GH-94557) 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> 05 July 2022, 12:30:19 UTC
99a0668 gh-93626: Set the release for `__future__.annotations` to `None` (GH-93628) (GH-94553) Co-authored-by: Guido van Rossum <gvanrossum@gmail.com> (cherry picked from commit 4791a8a8357e67431cb686d9559aa419074b8e33) Co-authored-by: KotlinIsland <65446343+KotlinIsland@users.noreply.github.com> 05 July 2022, 09:16:32 UTC
68f5fa6 [3.11] GH-94262: Don't create frame objects for frames that aren't yet complete. (GH-94371) (#94482) Co-authored-by: Mark Shannon <mark@hotpy.org> 04 July 2022, 18:43:12 UTC
8fe0b1d [3.11] Update logging documentation: change cross-reference and add webapp r… (GH-94541) 04 July 2022, 08:09:40 UTC
1e7efbc IDLE doc: Tweek RESTART and Windows console start (GH-94530) (cherry picked from commit 39c29f753e6d6f390dce5a36613c1e03f43d28ea) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 03 July 2022, 17:20:48 UTC
abf5f5c gh-81054: Document that SimpleHTTPRequestHandler follows symbolic links (GH-94416) (GH-94492) (cherry picked from commit 80aaeabb8bd1e6b49598a7e23e0f8d99b3fcecaf) Co-authored-by: Sam Ezeh <sam.z.ezeh@gmail.com> 01 July 2022, 16:41:24 UTC
227e0d6 gh-75372: Specify major version in README for installation (GH-92759) (GH-94487) (cherry picked from commit 3abda7a38a2a6803d4dbf70c6ae097ad5b59c58d) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> 01 July 2022, 16:22:02 UTC
1b46df1 Update code sample when importing modules in queue doc (GH-94244) (GH-94490) In the queue documentation, the code snippet shows the import to be not PEP 8 compliant. Since people typically copy-paste from such code samples, I think it's important to show best-practices here. (cherry picked from commit ad55147c1d5dbfc23d2ec4554f5e82c18984158c) Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com> 01 July 2022, 16:14:39 UTC
c4f82ea [3.11] gh-93975: Provide nicer error reporting from subprocesses in test_venv.EnsurePipTest.test_with_pip (GH-93959) (GH-94003) This change does three things: 1. Extract a function for trapping output in subprocesses. 2. Emit both stdout and stderr when encountering an error. 3. Apply the change to `ensurepip._uninstall` check. (cherry picked from commit 6066f450b91f1cbebf33a245c14e660052ccd90a) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> 01 July 2022, 15:32:56 UTC
02b30a8 [3.11] GH-94438: Backport GH-94444 (#94486) * Account for NULLs on evaluation stack when jumping lines. 01 July 2022, 14:44:30 UTC
9fa9661 gh-84461: Tool/wasm/python.html: Add subresource integrity hashes (GH-93953) (cherry picked from commit 1df9449db24f16c9c96bdd7dc283a5062bca68e6) Co-authored-by: Petr Viktorin <encukou@gmail.com> 01 July 2022, 10:17:38 UTC
ca58ca8 gh-84461: Improve WebAssembly in-browser demo (GH-91879) * Buffer standard input line-by-line * Add non-root .editorconfig for JS & HTML indent * Add support for clearing REPL with CTRL+L * Support unicode in stdout and stderr * Remove \r\n normalization * Note that local .editorconfig file extends root * Only normalize lone \r characters (convert to \n) * Skip non-printable characters in buffered input * Fix Safari bug (regex lookbehind not supported) Co-authored-by: Christian Heimes <christian@python.org> (cherry picked from commit a8e333d79aa639417e496181bcbad2cb801a7a56) Co-authored-by: Trey Hunner <trey@treyhunner.com> 01 July 2022, 10:16:25 UTC
113b309 [3.11] GH-93354: Use exponential backoff to avoid excessive specialization attempts (GH-93355) (GH-93379) Co-authored-by: Mark Shannon <mark@hotpy.org> Co-authored-by: Łukasz Langa <lukasz@langa.pl> 30 June 2022, 21:03:37 UTC
6c40538 multiprocessing.spawn doc: Capitalize the p in "Python" (gh-94462) (cherry picked from commit 62bb7a3b50150495e215d7bd32f633eef81b3bc2) Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com> 30 June 2022, 18:23:14 UTC
9ebec7d gh-84753: Make inspect.iscoroutinefunction() work with AsyncMock (GH-94050) (GH-94460) The inspect version was not working with unittest.mock.AsyncMock. The fix introduces special-casing of AsyncMock in `inspect.iscoroutinefunction` equivalent to the one performed in `asyncio.iscoroutinefunction`. Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 4261b6bffc0b8bb5c6d4d80578a81b7520f4aefc) Co-authored-by: Mehdi ABAAKOUK <sileht@sileht.net> 30 June 2022, 18:04:42 UTC
7fe949e GH-94398: TaskGroup: Fail create_task() during shutdown (GH-94400) (GH-94463) Once the task group is shutting down, it should not be possible to create a new task. Here "shutting down" means `self._aborting` is set, indicating that at least one task has failed and we have cancelled all others. Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 594c3699492bfb007650538726d953cbed55de04) Co-authored-by: Guido van Rossum <guido@python.org> 30 June 2022, 18:02:42 UTC
aed28b7 xml.dom.minidom docs: fix typo (GH-93437) (cherry picked from commit 639e35108bc8b2b880225862d3571277ad57648b) Co-authored-by: Jean-Christophe Helary <jean.christophe.helary@traduction-libre.org> 30 June 2022, 17:15:00 UTC
8ee4e12 gh-93491: Fix PEP 11 tier detection for FreeBSD (GH-94441) (cherry picked from commit 67d208fbee119ed1bca0765a9aa779e31fea98b3) Co-authored-by: Christian Heimes <christian@python.org> 30 June 2022, 16:29:46 UTC
b3d69ff GH-90908: Document asyncio.TaskGroup (GH-94359) (GH-94456) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit b6ec6d4041a5d937f0b63764a329582af4948a3c) Co-authored-by: Guido van Rossum <guido@python.org> 30 June 2022, 16:27:15 UTC
fdc0081 gh-91719: Reload opcode on unknown error so that C can optimize the dispatching in ceval.c (GH-94364) (#94453) (cherry picked from commit ea39b77de9fa25b447d0b4148f75f351076e890a) Co-authored-by: neonene <53406459+neonene@users.noreply.github.com> 30 June 2022, 16:11:05 UTC
ecc8e77 [3.11] gh-89038: [doc] update dis.findlinestarts documentation for changes related to PEP-626 (GH-94247) (GH-94450) (cherry picked from commit d68f2d27bbf85f3573a08fc7554889e1733a30f0) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> 30 June 2022, 15:18:30 UTC
f58c366 GH-94329: Don't raise on excessive stack consumption (GH-94421) (GH-94446) (cherry picked from commit b152bf448b321e3a4c0a7280e0b608840f5ac661) 30 June 2022, 14:53:20 UTC
48a739e gh-94332: make it safe to call assemble_free when assemble_init has not been called (GH-94389) (GH-94442) (cherry picked from commit be82d26570343dafc8a89be5a1a0e2f58d51a904) 30 June 2022, 14:30:12 UTC
20b8c9e gh-92336: linecache.getline should not raise exceptions on decoding errors (GH-94410) (cherry picked from commit 21cbdae90ffdac047d27d1b83a5442fabcf89f7c) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> 30 June 2022, 09:59:33 UTC
c5ecfa0 [3.11] GH-77403: Fix tests which fail when PYTHONUSERBASE is not normalized (GH-93917) (GH-93969) (cherry picked from commit b1ae4af5e82e7275cebcfb383690b816a388a785) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Automerge-Triggered-By: GH:iritkatriel 30 June 2022, 09:47:16 UTC
5084a64 bpo-92336: [doc] clarify that the dfile is read by the traceback display code (GH-94409) (cherry picked from commit 68fb03249f3b17146db42b00a75718b823a2280c) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> 29 June 2022, 20:53:42 UTC
cbd562f Docs: Update SyntaxError message in REPL example for list comprehension (GH-93901) (GH-94425) (cherry picked from commit 22b783aba05bcc3a21af9e5ae308ffbb98ff6a12) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 29 June 2022, 17:22:11 UTC
a548a45 [3.11] gh-94404: Use module CFLAGS before PY_STDMODULE_CFLAGS (GH-94413) (GH-94415) ``PY_STDMODULE_CFLAGS`` may contain include directories with system headers. This can break compiling with built-in libmpdec. Co-authored-by: Christian Heimes <christian@python.org> 29 June 2022, 14:22:41 UTC
9140c41 [3.11] GH-93516: Drop broken assert, fixes GH-93769 (GH-94411) 29 June 2022, 12:53:56 UTC
0122ab2 [3.11] gh-94026: Buffer regrtest worker stdout in temporary file (GH-94253) (GH-94408) Co-authored-by: Victor Stinner <vstinner@python.org>. Co-authored-by: Christian Heimes <christian@python.org> 29 June 2022, 11:51:25 UTC
aaa85b5 gh-94404: makesetup: use correct CFLAGS and macOS workaround (GH-94405) ``makesetup`` now works around an issue with sed on macOS and uses correct CFLAGS for object files that end up in a shared extension. (cherry picked from commit 5150cbcd6821c0cf79b81cfc8780087bbc6985da) Co-authored-by: Christian Heimes <christian@python.org> 29 June 2022, 08:10:58 UTC
3b4f5ed [3.11] GH-93516: Backport GH-93769 (GH-94231) * Store offset of first traceable instruction to avoid having to recompute it all the time when tracing. 28 June 2022, 15:30:22 UTC
50a2e36 gh-88116: Avoid undefined behavior when decoding varints in code objects (GH-94375) (cherry picked from commit c485ec014ce174bb3f5ae948151dc40e0f6d5f7f) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> 28 June 2022, 13:54:30 UTC
6484692 [3.11] Backport ABI regeneration script (#94376) 28 June 2022, 13:33:08 UTC
3937dbf gh-61585: Clarify import scope in modules tutorial (GH-93455) (GH-94373) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> (cherry picked from commit 4b854b746650214eddadb2440efd9e1544d08ccb) 28 June 2022, 10:29:38 UTC
926bf23 [3.11] gh-86404: [doc] Fix missing space in idle documentation. (GH-94366) (GH-94369) This should have been spotted by sphinx-lint, tracked here: https://github.com/sphinx-contrib/sphinx-lint/issues/39 (cherry picked from commit bc7f6fcdf14da32a8f7816ace800a6a91dc1554f) Co-authored-by: Julien Palard <julien@palard.fr> Automerge-Triggered-By: GH:JulienPalard 28 June 2022, 10:11:36 UTC
64365d0 gh-91860: Add docs for typing.dataclass_transform field specifier params (GH-94354) (GH-94372) (cherry picked from commit 81ac9ac4921c57c8f31464fed575ea0cfe84df70) Co-authored-by: Erik De Bonte <erikd@microsoft.com> 28 June 2022, 10:10:42 UTC
cf64db6 gh-94208: Add more TLS version/protocol checks for FreeBSD (GH-94347) Three test cases were failing on FreeBSD with latest OpenSSL. (cherry picked from commit 1bc86c26253befa006c0f52eebb6ed633c7d1e5c) Co-authored-by: Christian Heimes <christian@python.org> 28 June 2022, 07:59:57 UTC
1d2c8ff gh-82006: IDLE doc improvements (GH-94349) 0. Update text start and stop conditions. 1. Title-case sections but not subsections. 2. Edit Shell Window sections: title, execute, restart. (cherry picked from commit e6391e08bff775a3c10707fd2cfce6963e6ae429) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 27 June 2022, 23:24:08 UTC
5751530 gh-94315: Check for DAC override capability (GH-94316) ``os.geteuid() == 0`` is not a reliable check whether the current user has the capability to bypass permission checks. Tests now probe for DAC override. (cherry picked from commit 7e0d98ecb3f049841de9854e7a3eca3e2638e4b2) Co-authored-by: Christian Heimes <christian@python.org> 27 June 2022, 18:51:45 UTC
56f5f90 [3.11] gh-90473: Reduce recursion limit on WASI even further (GH-94333) (GH-94334) Co-authored-by: Christian Heimes <christian@python.org> 27 June 2022, 16:33:01 UTC
4ec146c [3.11] gh-90005: Rename MODULE_EGG variable to MODULE_EGG_STATE (GH-94301) (GH-94317) Co-authored-by: Christian Heimes <christian@python.org> 27 June 2022, 07:23:04 UTC
bc8d81a [3.11] gh-84623: Remove unused imports in stdlib (#94313) #93773 Backport only for 2 idlelib files. Cherrypicked from 259dd71c32a42708a2800c72898e2664a33fda9c 27 June 2022, 03:54:10 UTC
575997a [3.11] gh-85023: [doc] clarify parameters vs arguments explanation in FAQ (GH-94282) (GH-94311) (cherry picked from commit d71f5adc41569c2d626552269797e0545fc9122c) Co-authored-by: Arun Mani J <49952138+arun-mani-j@users.noreply.github.com> Co-authored-by: Arun Mani J <49952138+arun-mani-j@users.noreply.github.com> 26 June 2022, 22:00:52 UTC
442dd8f gh-94192: Fix error for dictionary literals with invalid expression as value. (GH-94304) * Fix error for dictionary literals with invalid expression as value. * Remove trailing whitespace (cherry picked from commit 8c237a7a71d52f996f58dc58f6b6ce558d209494) Co-authored-by: wookie184 <wookie1840@gmail.com> 26 June 2022, 19:07:02 UTC
1b27ec5 [3.11] gh-93820: Pickle enum.Flag by name (GH-93891). (GH-94288) (cherry picked from commit 536985814a7116f14c9bc90aa1b3e3d36d5b2367) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 26 June 2022, 11:24:04 UTC
5ce819f GH-94254: Make _struct module types immutable (GH-94269) (cherry picked from commit 17ed560fcd0a1442485f9bd48884bbe412f35abc) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 26 June 2022, 10:42:41 UTC
ad23df9 [3.11] [doc] fix typo in reference to tp_descr_get and tp_descr_set (GH-94140) (GH-94293) (cherry picked from commit 32d595fdcd4be8e1f41dcfe84ccf4de89fea3c3f) Co-authored-by: Max Bachmann <kontakt@maxbachmann.de> Co-authored-by: Max Bachmann <kontakt@maxbachmann.de> 26 June 2022, 10:11:19 UTC
f0f3a42 Run Tools/scripts/reindent.py (GH-94225) Reindent files which were not properly formatted (PEP 8: 4 spaces). Remove also some trailing spaces. (cherry picked from commit e87ada48a9e5d9d03f9759138869216df0d7383a) Co-authored-by: Victor Stinner <vstinner@python.org> 26 June 2022, 08:56:55 UTC
68112c3 gh-83499: Fix closing file descriptors in tempfile (GH-93874) (cherry picked from commit d4792ce916b94d090b6c7bce8b0f973e840c9e4e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 26 June 2022, 08:38:06 UTC
4ec1f8d gh-70474: [doc] fix wording of GET_ANEXT doc (GH-94048) (cherry picked from commit 9af6b75298d066e89646acf8df1704bef183a6f8) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> 25 June 2022, 22:51:19 UTC
8b77681 bpo-39971: Change examples to be runnable (GH-32172) (cherry picked from commit c57a1c76d71075b14f6524b4681f29a3f1e88cb2) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> 25 June 2022, 20:59:43 UTC
0a1517d [3.11] gh-90016: Reword sqlite3 adapter/converter docs (GH-93095) (#94272) Also add adapters and converter recipes. Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com. (cherry picked from commit bd3c1c187e0e4fde5aec6835d180e9eddde8ceb6) 25 June 2022, 20:55:17 UTC
1251467 gh-94245: Test pickling and copying of typing.Tuple[()] (GH-94259) (cherry picked from commit 75cb3abc3bf10c7be3b374bfb4c060c36d251411) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 25 June 2022, 16:10:08 UTC
4bc5f9f gh-94207: Fix struct module leak (GH-94239) (GH-94265) Make _struct.Struct a GC type This fixes a memory leak in the _struct module, where as soon as a Struct object is stored in the cache, there's a cycle from the _struct module to the cache to Struct objects to the Struct type back to the module. If _struct.Struct is not gc-tracked, that cycle is never collected. This PR makes _struct.Struct GC-tracked, and adds a regression test. (cherry picked from commit 6b865349aae47b90f9ef0b98f3fe3720c2f05601) Co-authored-by: Mark Dickinson <mdickinson@enthought.com> 25 June 2022, 14:40:14 UTC
89ba660 gh-94217: Skip import tests when _testcapi is a builtin (GH-94218) (cherry picked from commit 0a40025b803a8dc1d604538e317992827ab96625) Co-authored-by: Christian Heimes <christian@python.org> 24 June 2022, 18:54:47 UTC
b140e5a IDLE: replace if statement with expression (GH-94228) (cherry picked from commit 91f9947f231cce2c72a3fb7b5c8e8cf49cc2c10f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 24 June 2022, 17:30:32 UTC
251193e Docs: Remove `Provides [...]` from `multiprocessing.shared_memory` description (GH-92761) (cherry picked from commit a91ffcf3fa15ce3884f620c799566aa734412f9d) Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> 24 June 2022, 17:15:25 UTC
c966e08 gh-84461: Build Emscripten with WASM BigInt support (GH-94219) (cherry picked from commit e69306f08b9be84ccdd0a1c6601ec229c4e5b377) Co-authored-by: Christian Heimes <christian@python.org> 24 June 2022, 15:30:46 UTC
41e4b42 gh-94205: Ensures all required DLLs are copied on Windows for underpth tests (GH-94206) (cherry picked from commit 51fd4de101349bbea8afa4e212489f4b87e3a99b) Co-authored-by: Steve Dower <steve.dower@python.org> 24 June 2022, 11:20:16 UTC
4d2c972 gh-84461: Fix ctypes and test_ctypes on Emscripten (GH-94142) - c_longlong and c_longdouble need experimental WASM bigint. - Skip tests that need threading - Define ``CTYPES_MAX_ARGCOUNT`` for Emscripten. libffi-emscripten 2022-06-23 supports up to 1000 args. (cherry picked from commit 8625802d854ec0152177a6ff0ac092e0e3ff98a5) Co-authored-by: Christian Heimes <christian@python.org> 24 June 2022, 11:17:21 UTC
e4d72d1 gh-93692: remove "build finished successfully" message from setup.py (GH-93693) The message was only emitted when the build succeeded _and_ there were missing modules. (cherry picked from commit ab077d1e17032f84514292ae3fb8dee9bcfd2ce9) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> 24 June 2022, 11:02:14 UTC
fbf3145 [Enum] Remove automatic docstring generation (GH-94188) (cherry picked from commit 28a2ccfff279867b87aa31f56bfc97cf3d6b3afe) Co-authored-by: Sam Ezeh <sam.z.ezeh@gmail.com> 23 June 2022, 21:18:20 UTC
65ed8b4 [3.11] gh-92858: Improve error message for some suites with syntax error before ':' (GH-92894) (#94180) (cherry picked from commit 2fc83ac3afa161578200dbf8d823a20e0801c0c0) Co-authored-by: wookie184 <wookie1840@gmail.com> Co-authored-by: wookie184 <wookie1840@gmail.com> 23 June 2022, 17:38:06 UTC
ee82f0f gh-93771: Clarify how deepfreeze.py is run (GH-94150) (cherry picked from commit 4e796f56465f7264ddba63c8396d2649e098b617) Co-authored-by: Guido van Rossum <guido@python.org> 23 June 2022, 16:57:29 UTC
back to top