https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
ed7c3ff Python 3.11.0rc2 11 September 2022, 19:23:30 UTC
335bd1e gh-94972: document that shield users need to keep a reference to their task (GH-96724) Co-authored-by: Thomas Grainger <tagrain@gmail.com> Co-authored-by: Guido van Rossum <gvanrossum@gmail.com> (cherry picked from commit 6281affee6423296893b509cd78dc563ca58b196) Co-authored-by: Hendrik Makait <hendrik.makait@gmail.com> 10 September 2022, 15:03:35 UTC
7033dc8 GH-96678: Fix undefined behavior in ceval.c (GH-96708) (cherry picked from commit 50a70a083d34305a52fac4f5901bff2ead152d68) Co-authored-by: Mark Shannon <mark@hotpy.org> 10 September 2022, 13:58:45 UTC
c563b89 Fix possible NULL pointer dereference in _PyThread_CurrentFrames (GH-96584) (cherry picked from commit 88a7f661ca02c0eb76b8f19234b8293b70f171e2) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 10 September 2022, 11:12:46 UTC
fecda02 gh-96710: Make the test timing more lenient for the int/str DoS regression test. (GH-96717) A regression would still absolutely fail and even a flaky pass isn't harmful as it'd fail most of the time across our N system test runs. Windows has a low resolution timer and CI systems are prone to odd timing so this just gives more leeway to avoid flakiness. (cherry picked from commit 11e3548fd1d3445ccde971d613633b58d73c3016) Co-authored-by: Gregory P. Smith <greg@krypto.org> 09 September 2022, 20:17:04 UTC
5586da6 [3.11] GH-96636: Remove all uses of NOTRACE_DISPATCH (GH-96643) (#96688) Co-authored-by: Brandt Bucher <brandtbucher@gmail.com> (cherry picked from commit aa3b4cf779b3dddb84e094879b91703354910d8c) 09 September 2022, 16:24:44 UTC
7bfb11d [3.11] io: Add missing f (#96701) 09 September 2022, 09:28:26 UTC
99919d4 gh-96352: Set AttributeError context in _PyObject_GenericGetAttrWithDict (GH-96353) (cherry picked from commit b9634ac776c24bc4d4a57859d884a94cdfe16043) Co-authored-by: philg314 <110174000+philg314@users.noreply.github.com> 08 September 2022, 11:43:52 UTC
0c443c2 GH-94808: Test __build_class__ inside non-dict __builtins__ (GH-95932) (#96004) (cherry picked from commit 3adb4d864bb18a51334c922a732e5e3602799ba1) Co-authored-by: Michael Droettboom <mdboom@gmail.com> Co-authored-by: Michael Droettboom <mdboom@gmail.com> 08 September 2022, 11:17:18 UTC
1276e73 gh-95914: Add paragraph about PEP 654 in main body of 'What's New in 3.11' (GH-95937) (cherry picked from commit 1402d2ceca8ccef8c3538906b3f547365891d391) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> 08 September 2022, 11:16:52 UTC
ae819ca [3.11] gh-68163: Correct conversion of Rational instances to float (GH-25619) (#96556) Co-authored-by: Mark Dickinson <dickinsm@gmail.com> Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com> 08 September 2022, 11:03:53 UTC
e72f469 [3.11] GH-96569: Avoid undefined behavior (#96616) Co-authored-by: Michael Droettboom <mdboom@gmail.com> 08 September 2022, 11:00:04 UTC
3d6e6be gh-96652: Fix faulthandler chained signal without sigaction() (GH-96666) Fix the faulthandler implementation of faulthandler.register(signal, chain=True) if the sigaction() function is not available: don't call the previous signal handler if it's NULL. (cherry picked from commit c580a81af91af4b9df85e466f8b48c3c9c86c3df) Co-authored-by: Victor Stinner <vstinner@python.org> 08 September 2022, 10:47:07 UTC
a3d5ecb [3.11] gh-88287: Add BufferingFormatter documentation. (GH-96608) (GH-96675) 08 September 2022, 07:30:48 UTC
ffafa9b gh-96268: Fix loading invalid UTF-8 (GH-96270) This makes tokenizer.c:valid_utf8 match stringlib/codecs.h:decode_utf8. It also fixes an off-by-one error introduced in 3.10 for the line number when the tokenizer reports bad UTF8. (cherry picked from commit 8bc356a7dd50cbdb46d10b8c7e457832431f5d9e) Co-authored-by: Michael Droettboom <mdboom@gmail.com> 07 September 2022, 21:49:17 UTC
9fa21d0 gh-96577: Fixes buffer overrun in _msi module (GH-96633) (cherry picked from commit 4114bcc9ef7595a07196bcecf9c7d6d39f57f64d) Co-authored-by: Steve Dower <steve.dower@python.org> 07 September 2022, 19:46:09 UTC
295f510 gh-94808: Improve coverage of _PyBytes_FormatEx (GH-95895) There were two specific areas not covered: - %(name) syntax - %*s syntax Automerge-Triggered-By: GH:iritkatriel (cherry picked from commit dde15f5879c3576db42ee4366fb684747c31459f) Co-authored-by: Michael Droettboom <mdboom@gmail.com> 07 September 2022, 12:18:33 UTC
8228433 gh-96641: Do not expose `KeyWrapper` in `_functoolsmodule.c` (gh-96642) (cherry picked from commit 2fd7246e97c8cc09b4e3f22933693f9d68f08163) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 07 September 2022, 11:50:00 UTC
bb0dab5 gh-96611: Fix error message for invalid UTF-8 in mid-multiline string (GH-96623) (cherry picked from commit 05692c67c51b78a5a5a7bb61d646519025e38015) Co-authored-by: Michael Droettboom <mdboom@gmail.com> 06 September 2022, 23:40:17 UTC
a389fdb GH-96572: fix use after free in trace refs build mode (GH-96618) (cherry picked from commit 67444902a0f10419a557d0a2d3b8675c31b075a9) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 06 September 2022, 18:28:18 UTC
26dc4df [3.11] GH-96612: Skip incomplete frames in tracemalloc traces. (GH-96613) (#96617) (cherry picked from commit 95e271b2266b8f2e7b60ede86ccf3ede4a7f83eb) Co-authored-by: Mark Shannon <mark@hotpy.org> 06 September 2022, 17:42:41 UTC
a0848d1 [3.11] gh-92986: Fix ast.unparse when ImportFrom.level is None (GH-92992) (GH-96593) This doesn't happen naturally, but is allowed by the ASDL and compiler. We don't want to change ASDL for backward compatibility reasons (GH-57645, GH-92987) (cherry picked from commit 200c9a8da0e2b892c476807e986009c01327e781) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> 06 September 2022, 10:23:26 UTC
08d8058 gh-96559: Fixes Windows launcher handling of defaults using old-style tags, and adds What's New section (GH-96595) (cherry picked from commit 80a9bd2e94b1759a7669fa811ed3526eb137c92d) Co-authored-by: Steve Dower <steve.dower@python.org> 05 September 2022, 22:13:24 UTC
a5a9d05 [3.11] [doc] Update example in traceback doc (GH-96600) (GH-96603) This Monty Python reference is of-its-time. It could seem inappropriate in the context of today's sensibilities around mental health. Automerge-Triggered-By: GH:iritkatriel (cherry picked from commit c4999f261fb0cb28ef713b48ef2e81ca5a3eb1e1) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> 05 September 2022, 21:43:27 UTC
c612cc2 Add upstream openssl 1.1.1q patch for trivial build error on macOS (GH-96594) (cherry picked from commit 991b3712a11a705efc6e45d22643bb2ccfb3eca5) Co-authored-by: Ned Deily <nad@python.org> 05 September 2022, 19:03:53 UTC
d09069a [3.11] gh-84095: Fill documentation gap regarding user-defined objects. (GH-96574) (GH-96575) 05 September 2022, 07:03:49 UTC
0c81909 Docs: alphabetically order sqlite3.Cursor attrs (GH-96565) (cherry picked from commit 9e5568578234f0ecd003247c8a2deaeb69976b4b) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 04 September 2022, 21:43:23 UTC
8a776d1 gh-95778: Correctly pre-check for int-to-str conversion (GH-96537) Converting a large enough `int` to a decimal string raises `ValueError` as expected. However, the raise comes _after_ the quadratic-time base-conversion algorithm has run to completion. For effective DOS prevention, we need some kind of check before entering the quadratic-time loop. Oops! =) The quick fix: essentially we catch _most_ values that exceed the threshold up front. Those that slip through will still be on the small side (read: sufficiently fast), and will get caught by the existing check so that the limit remains exact. The justification for the current check. The C code check is: ```c max_str_digits / (3 * PyLong_SHIFT) <= (size_a - 11) / 10 ``` In GitHub markdown math-speak, writing $M$ for `max_str_digits`, $L$ for `PyLong_SHIFT` and $s$ for `size_a`, that check is: $$\left\lfloor\frac{M}{3L}\right\rfloor \le \left\lfloor\frac{s - 11}{10}\right\rfloor$$ From this it follows that $$\frac{M}{3L} < \frac{s-1}{10}$$ hence that $$\frac{L(s-1)}{M} > \frac{10}{3} > \log_2(10).$$ So $$2^{L(s-1)} > 10^M.$$ But our input integer $a$ satisfies $|a| \ge 2^{L(s-1)}$, so $|a|$ is larger than $10^M$. This shows that we don't accidentally capture anything _below_ the intended limit in the check. <!-- gh-issue-number: gh-95778 --> * Issue: gh-95778 <!-- /gh-issue-number --> Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org> (cherry picked from commit b126196838bbaf5f4d35120e0e6bcde435b0b480) Co-authored-by: Mark Dickinson <dickinsm@gmail.com> 04 September 2022, 16:45:02 UTC
2ced2c9 no-issue: Fix typo in 3.11.0a7.rst (gh-96547) accross -> across (cherry picked from commit 6adb89f50a0b032e0264cb3cd400a71c0fe6e0f8) Co-authored-by: Ikko Ashimine <eltociear@gmail.com> 04 September 2022, 14:26:14 UTC
4587154 gh-95778: remove unneeded doc note on float.as_integer_ratio (GH-96553) Per mdickinson@'s comment on the main branch PR. (cherry picked from commit 69bb83c2bf254f92491d527ccec1ff41897add56) Co-authored-by: Gregory P. Smith <greg@krypto.org> 04 September 2022, 07:12:00 UTC
c0af099 doc typo: spell limitation (GH-96542) (cherry picked from commit af6359dd5c5e20adec12501aaa6074716c316e41) Co-authored-by: Mehrdad Moradizadeh <mhrddmoradii@gmail.com> 04 September 2022, 06:32:32 UTC
f255820 [3.11] gh-90195: Unset logger disabled flag when configuring it. (GH-96530) (GH-96532) 03 September 2022, 14:10:50 UTC
79fe67f [3.11] gh-89087: Update logging.QueueHandler documentation to clarify record… (GH-96527) (GH-96528) 03 September 2022, 12:16:40 UTC
bc06f5c gh-75500: Update idlelib/help.html (GH-96523) (#96524) (cherry picked from commit 837ce6460d6554e9d7a847951ca5108ac6926ee5) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 03 September 2022, 09:57:07 UTC
02c59be bpo-30419: DOC: Update missing information in bdb docs (GH-1687) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Martin Panter <vadmium@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit ccce9b77e1f599e05425eadc0cc372d142fe05e0) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 02 September 2022, 17:48:26 UTC
f8b71da [3.11] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96500) Integer to and from text conversions via CPython's bignum `int` type is not safe against denial of service attacks due to malicious input. Very large input strings with hundred thousands of digits can consume several CPU seconds. This PR comes fresh from a pile of work done in our private PSRT security response team repo. This backports https://github.com/python/cpython/pull/96499 aka 511ca9452033ef95bc7d7fc404b8161068226002 Signed-off-by: Christian Heimes [Red Hat] <christian@python.org> Tons-of-polishing-up-by: Gregory P. Smith [Google] <greg@krypto.org> Reviews via the private PSRT repo via many others (see the NEWS entry in the PR). <!-- gh-issue-number: gh-95778 --> * Issue: gh-95778 <!-- /gh-issue-number --> I wrote up [a one pager for the release managers](https://docs.google.com/document/d/1KjuF_aXlzPUxTK4BMgezGJ2Pn7uevfX7g0_mvgHlL7Y/edit#). 02 September 2022, 16:48:57 UTC
57116d5 gh-95180: Add `TaskGroup` and `Runner` to AsyncIO API Index (GH-95189) Also rearrange some items in the list. Co-authored-by: Thomas Grainger <tagrain@gmail.com> (cherry picked from commit 2a9e4e4d73683d9c10b6811da81075f1f51c13a2) Co-authored-by: siph <42943030+siphc@users.noreply.github.com> 02 September 2022, 16:45:42 UTC
fca8e94 gh-96168: Improve sqlite3 dict_factory example (GH-96457) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 91f40f3f78d6016a283989e32ec3d1fb61bcebca) Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no> 01 September 2022, 21:55:37 UTC
5835911 gh-96455: update example in exception_handling_notes.txt to the 3.11RC bytecode (GH-96456) (cherry picked from commit a91f25577c71ab8797a4b42f22c43bbaffc2604d) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> 01 September 2022, 13:45:09 UTC
d4d5e60 gh-96414: Inline code examples in sqlite3 docs (GH-96442) (cherry picked from commit f7e7bf161aaec5a5cffdcec7c97e1f09e445421b) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 31 August 2022, 06:03:33 UTC
895c7a4 Docs: normalise sqlite3 placeholder how-to heading (GH-96413) (cherry picked from commit 7b01ce7953c0e24aa7aeaf207216fc9e7aefd18a) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 30 August 2022, 21:06:11 UTC
8f58db2 [3.11] [Enum] fix check in _test_simple_enum (GH-96435) The builtin `property` is not a callable, so was failing the check in `_test_simple_enum` causing a match failure; this adds `property` to the bypass list. Co-authored-by: Alexandru Mărășteanu <alexei@users.noreply.github.com> 30 August 2022, 19:39:03 UTC
d00a9e0 gh-95337: update TypeVarTuple example (GH-95338) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> (cherry picked from commit 07f12b5c1567581aa77d523e462b0e7f75c1f05c) Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com> 30 August 2022, 15:06:19 UTC
a1671a9 gh-95413: Remove references to deprecated CGI library (GH-95414) (cherry picked from commit b17aae8bbd13bec28b7ecbb5a147503f2e9cf365) Co-authored-by: partev <petrosyan@gmail.com> 30 August 2022, 11:22:19 UTC
d9d0d09 Docs: Improve clarity for bytes.hex() (GH-95257) (cherry picked from commit 860fa351452de1502da12ec6f027d3f72dfc309f) Co-authored-by: Tim Burke <tim.burke@gmail.com> 30 August 2022, 11:18:30 UTC
2e9f29e GH-74116: Allow multiple drain waiters for asyncio.StreamWriter (GH-94705) (#96395) (cherry picked from commit e5b2453e61ba5376831093236d598ef5f9f1de61) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 30 August 2022, 11:00:21 UTC
126ec34 gh-90467: StreamReaderProtocol - add strong reference to created task (GH-96323) (#96344) (cherry picked from commit e860e521ec0d84e175269aeb15cf24bd6053ad17) Co-authored-by: Kirill <iam@python273.pw> Co-authored-by: Kirill <iam@python273.pw> 30 August 2022, 10:59:32 UTC
16d8948 gh-96385: Correctly raise error on `[*T, *V]` substitution (GH-96386) (#96407) (cherry picked from commit 75177358a62afeabd1d3aa0e9f395c2b9d4495ca) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 30 August 2022, 10:58:54 UTC
8e2d347 [3.11] gh-91305: Add a note about DatagramHandler and DNS latency. (GH-96380) (GH-96401) 30 August 2022, 08:58:37 UTC
53a344e Doc: Update Py_TPFLAGS_HAVE_FINALIZE in docs (GH-96273) It is now deprecated and the docs should reflect that. (cherry picked from commit 9625de6fab4597bcd04ec390b680b053b0533816) Co-authored-by: da-woods <dw-git@d-woods.co.uk> 30 August 2022, 08:38:40 UTC
1901ee7 gh-46845: clean up unused DK_IXSIZE (GH-96405) (cherry picked from commit d21d2f0793ce32d72759d5cfc11622d13e3e6b81) Co-authored-by: Matthias Görgens <matthias.goergens@gmail.com> 30 August 2022, 07:28:51 UTC
4cfb639 Docs: normalize SQL style in sqlite3 docs (GH-96403) (cherry picked from commit 6d403e264a7dcd1544a91708f139c6dd8612204d) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 29 August 2022, 22:59:13 UTC
882c7cf gh-94682: Build and test with OpenSSL 1.1.1q (gh-94683) (cherry picked from commit 873554ef84011773618911ffa698cea181cec9fd) Co-authored-by: Christian Heimes <christian@python.org> 29 August 2022, 16:47:20 UTC
626e455 gh-90814: Correct NEWS wording re. optional C11 features (GH-96309) (GH-96384) The previous wording of this entry suggests that CPython won't work if optional compiler features are enabled. That's not the case. The change is that we require C11 rather than C89. Note that PEP 7 does say "Python 3.11 and newer versions use C11 without optional features." It is correct there: that's not a guide for users who compile Python, but for CPython devs who must avoid the features. 29 August 2022, 11:27:37 UTC
2ba8772 gh-95432: Add doctests for the sqlite3 docs (GH-96225) As a consequence of the added test, this commit also includes fixes for broken examples. - Add separate namespace for trace tests bco. module level callback - Move more backup and cursor examples under separate namespaces (cherry picked from commit bf9259776dff5348bc854983409ea68618c1f174) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 29 August 2022, 09:01:37 UTC
ca7e78d GH-96359: Fix docs that claim int(0|1) doesn't match False (GH-96361) (cherry picked from commit 3d3a86ed40626471b2c9e7f1336b228eb0dd0879) Co-authored-by: Jonathan Oberländer <github@l3vi.de> 29 August 2022, 07:13:28 UTC
915d128 [3.11] gh-96191: Update the configure file to use GitHub issue (gh-96211) (gh-96375) 29 August 2022, 06:50:22 UTC
103f26f [3.11] gh-89047: Fix msecs computation so you never end up with 1000 msecs. (GH-96340) (GH-96341) 27 August 2022, 14:09:54 UTC
698df30 Docs: Fix count of bullets in asyncio-task.rst (GH-96307) (#96330) (cherry picked from commit 35e4da25d4c86c891a99cae4ddbb9edb7d911e9f) Co-authored-by: zhanpon <pon.zhan@gmail.com> Co-authored-by: zhanpon <pon.zhan@gmail.com> 27 August 2022, 13:26:42 UTC
b7ea2b8 [3.11] gh-92007: Handle elevation errors in NTEventLogHandler more grace… (GH-96322) (GH-96337) 27 August 2022, 12:08:14 UTC
b76c43a [3.11] gh-77116: Add SMTP buffering example to logging cookbook. (GH-96324) (GH-96326) 27 August 2022, 11:15:53 UTC
6bd95f9 fixes gh-96292: Fix Trivial Typo in cpython/Modules/atexitmodule.c (GH-96327) (cherry picked from commit 0ace820bec8892d621a4aadc1feb6c56e25560bf) Co-authored-by: Ansab Gillani <56605828+ansabgillani@users.noreply.github.com> 27 August 2022, 05:59:21 UTC
0bc0b73 fix threading.Event.isSet() docstring (GH-96297) fixes gh-96296 (cherry picked from commit e53444051018af3351cc26c4bf1ed2d380292016) Co-authored-by: Daniel Giger <danielg3432@gmail.com> 27 August 2022, 05:32:03 UTC
f0469c7 gh-95994: Clarify escaped newlines. (GH-96066) * gh-95994: clarify escaped newlines. * Rephrase ambiguous sentence. Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> * Use `<newline>` in escape sequences table. Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit c3d591fd0699605c8253beda2372114052a7bdba) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> 26 August 2022, 19:11:59 UTC
acd7841 Port regression test for issue GH-93592 (GH-96208) (GH-96313) 26 August 2022, 15:02:36 UTC
315807d gh-96197: Define the behavior of repr if sys.displayhook is lost (gh-96242) (cherry picked from commit 0319cd6825f3c247a875c91493a38992fb33a5b3) Co-authored-by: Dong-hee Na <donghee.na@python.org> 26 August 2022, 02:12:43 UTC
7604456 bpo-46744: Support "-Win32" and make platform flags case insensitive in Windows build scripts. (GH-31803) (cherry picked from commit 1288097088dcf3bad3799bd5867e7675515a5b18) Co-authored-by: conioh <10606081+conioh@users.noreply.github.com> 25 August 2022, 19:50:48 UTC
3d14b4f Clarify API stability of PyTypeObject in relation to static types. (GH-96217) Fixes: https://github.com/python/cpython/issues/95300 Related: https://github.com/python/cpython/issues/91271 (cherry picked from commit caa2a9799a47294441e4206037620322eea9ed06) Co-authored-by: ov2k <ov2k.github@gmail.com> 25 August 2022, 13:42:14 UTC
888054a [3.11] gh-91070: Add note about SysLogHandler on macOS 12.x (Monterey). (GH-94803) (GH-96260) 25 August 2022, 07:38:02 UTC
f51216d gh-96021: Explicitly close the IsolatedAsyncioTestCase runner in tests (GH-96135) Tests for IsolatedAsyncioTestCase.debug() rely on the runner be closed in __del__. It makes tests depending on the GC an unreliable on other implementations. It is better to close the runner explicitly even if currently there is no a public API for this. (cherry picked from commit 4de06e3cc0a58d73934f9a2759ad9cd2f6b031b0) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 25 August 2022, 04:53:39 UTC
915ee9e gh-95243: Mitigate the race condition in testSockName (GH-96173) find_unused_port() has an inherent race condition, but we can't use bind_port() as that uses .getsockname() which this test is exercising. Try binding to unused ports a few times before failing. Signed-off-by: Ross Burton <ross.burton@arm.com> (cherry picked from commit df110126971d0271a977ce10779083b3e335b4da) Co-authored-by: Ross Burton <ross.burton@arm.com> 25 August 2022, 02:03:29 UTC
d02e8fb GH-96179: Fix misleading example on the bisect documentation (GH-96228) The `movies[bisect(movies, 1960, key=by_year)]` will actually return only movies **after** 1960. (cherry picked from commit 4317b25a2323ae4be04574e45de0e335c571c463) Co-authored-by: prego <pedropregueiro@gmail.com> 24 August 2022, 15:54:15 UTC
bf2728b gh-96197: Define the behavior of breakpoint if sys.breakpointhook is lost (gh-96231) (cherry picked from commit 09563a764ebc54f98087c128419f46cf0822b4b7) Co-authored-by: Dong-hee Na <donghee.na@python.org> 24 August 2022, 14:20:22 UTC
2b8fd74 [3.11] gh-94635: Frame sqlite3 how-to headings as such & move default adapters to reference (GH-96136) (#96226) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>. (cherry picked from commit 6bda5b85b53443f3467865fbf85cbe72932e7cd6) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 24 August 2022, 07:51:46 UTC
c01fc9d [3.11] gh-96189: Fix test_invalid_utf8 on a number of build bots (GH-96190) (#96218) Co-authored-by: Michael Droettboom <mdboom@gmail.com> 23 August 2022, 22:28:44 UTC
d7eea0f gh-96175: add missing self._localName assignment in `xml.dom.minidom.Attr` (GH-96176) X-Ref: https://github.com/python/typeshed/pull/8590GH-discussion_r951473977 Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 58f6953d6d3fe20d972bfa2f6e982206adcf1353) Co-authored-by: Kevin Kirsche <Kev.Kirsche+GitHub@gmail.com> 23 August 2022, 17:18:19 UTC
0aed1e7 GH-96071: add regression test for GH-96071 (GH-96137) Automerge-Triggered-By: GH:ericsnowcurrently (cherry picked from commit 079baee1962ff7c1f4b60f4dd4c803535ecbd18e) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 23 August 2022, 15:37:19 UTC
27950d8 GH-96187: Prevent _PyCode_GetExtra to return garbage for negative indexes (GH-96188) (cherry picked from commit 16ebae4cd4029205d932751f26c719c6cb8a6e92) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> 23 August 2022, 11:02:19 UTC
04e3785 [3.11] gh-96159: Fix significant performance degradation in logging.TimedRotat… (GH-96182) (GH-96196) Co-authored-by: Duncan Grisby <duncan-github@grisby.org> 23 August 2022, 07:01:10 UTC
dc63917 gh-96096: Add undocumented SQLITE_OK/DENY/IGNORE sqlite3 constants (GH-96134) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit d6259c58cbb48b8f3fbd70047f004ea19fe91e86) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 23 August 2022, 06:58:35 UTC
88a559f gh-95432: Add doctest for sqlite3 tutorial (GH-96193) (cherry picked from commit 04c73e5efbfea8ae9da5bd518cee96086017ef4f) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 23 August 2022, 06:55:35 UTC
4f7f83b gh-96076: Change test_launcher to use non-admin location for py.ini (GH-96091) Patch authored by Eryksun. (cherry picked from commit 216ccacda193733ef92146c8ac1eb81893b4478d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 22 August 2022, 16:49:34 UTC
3ea0beb gh-96046: Initialize ht_cached_keys in PyType_Ready() (GH-96047) (cherry picked from commit 53e6a9a7254bdcd0538580ba7d799cd453e2dca5) Co-authored-by: Christian Heimes <christian@python.org> 22 August 2022, 09:12:42 UTC
98622fa gh-96121: Merge sqlite3.Row examples into sqlite3.Row class doc (GH-96122) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit 18b1782192f85bd26db89f5bc850f8bee4247c1a) Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no> 22 August 2022, 08:12:02 UTC
fedd25e small grammatical change (GH-96138) (GH-96157) 21 August 2022, 20:55:00 UTC
27f390b gh-96125: Fix sys.thread_info.name on pthread platforms (GH-96126) (#96128) Automerge-Triggered-By: GH:tiran (cherry picked from commit 822955c16654c22c10a993f5a94bbb68b857a150) Co-authored-by: Christian Heimes <christian@python.org> Co-authored-by: Christian Heimes <christian@python.org> 21 August 2022, 16:37:15 UTC
58e1fe2 GH-95880: Clarify StringIO append/overwrite behavior. (GH-96104) (GH-96156) 21 August 2022, 14:55:50 UTC
21c46f3 Add polynomial_from_roots() to the itertools recipes (GH-96102) (#96155) 21 August 2022, 14:47:45 UTC
b21ff74 gh-96098: Clearly link concurrent.futures from threading & multiprocessing docs (GH-96112) Clearly link concurrent.futures from threading & multiprocessing docs Also link directly to asyncio from the beginning of the threading docs. (cherry picked from commit bcc4cb0c7d5e0590928e74cae86b0a7938c0f74b) Co-authored-by: Nick Coghlan <ncoghlan@gmail.com> 21 August 2022, 04:28:10 UTC
1fa9644 GH-96071: fix deadlock in PyGILState_Ensure (GH-96124) (#96129) Alternative of GH-96107 (cherry picked from commit e0d54a4a799dae4ebdd72a16bcf287ed62ae2972) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 19 August 2022, 21:11:31 UTC
fcf0421 Docs: Fix markup of module name in sqlite3 docs (GH-96115) (cherry picked from commit ee9f22d3464308566c63e972133ebf71b7664baa) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 19 August 2022, 08:26:08 UTC
f21d7e5 Doc: Use consistent markup for example Point class in sqlite3 (GH-96095) (cherry picked from commit 303ef0913e5b80adbe63def41829bff5effab6a0) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 19 August 2022, 07:48:03 UTC
eed7711 Docs: group sqlite3.Connection attributes and methods (GH-96090) (cherry picked from commit 1a140af40b7204faf7896b67b8ef5af200427565) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 19 August 2022, 07:37:51 UTC
c097fe0 gh-94635: Remove sqlite3 doc introduction heading (GH-96089) (cherry picked from commit ede771cdf90431d4db22f98e35f43888842f231e) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 19 August 2022, 07:28:33 UTC
d699068 GH-95822: Need _PyType_Lookup() in descriptor howto code equivalent. (GH-95967) (#96099) 19 August 2022, 05:18:44 UTC
7a84ce5 gh-95463: Remove backwards incompatible change regarding the _MASK_UTF_FILENAME flags in bpo-28080 (GH-96072) Automerge-Triggered-By: GH:pablogsal (cherry picked from commit 9d066e2aa621125cd141b14df79955d74b7f258e) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> 19 August 2022, 00:12:15 UTC
bb37d29 gh-95914: Add Py_UNICODE encode APIs removed in PEP 624 to 3.11 What's New (GH-96016) * 3.11 Whatsnew: Add Py_UNICODE encode functions removed in PEP 624 * Just use :func: instead of :c:func: for non-resolved funcs so ! works (cherry picked from commit b6d88b7225c36821845d4ba1312a6d6b2f7f65c8) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 19 August 2022, 00:00:38 UTC
e8e3fe9 Docs: Escape lone stars in sqlite3 docs (GH-96081) (cherry picked from commit 91afe66707237558d808aeca4683d0822aa0511e) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 18 August 2022, 18:47:42 UTC
972150b gh-95271: Rework sqlite3 tutorial (GH-95749) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit c87ea10fc91f040822ab3eed2d08b073861360f6) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 18 August 2022, 18:44:27 UTC
b68ea2a [3.11] GH-95736: fix IsolatedAsyncioTestCase to initialize Runner bef… (#96042) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 18 August 2022, 13:42:16 UTC
back to top