https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
aaaf517 Python 3.10.8 11 October 2022, 11:21:44 UTC
428bd02 [3.10] Auto-cancel old builds when new commit pushed to branch (GH-98009) (#98163) * Auto-cancel old builds when new commit pushed to branch * Add a fallback Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> * Use the same group for all workflows. Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 75751f4aa5d70f65856645a9128fd42d92d6692c) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 10 October 2022, 20:26:38 UTC
bf6b52e [3.10] gh-88452: Add a warning about non-portability of environments. (GH-98155) (GH-98156) 10 October 2022, 20:09:27 UTC
64ce2cb [3.10] ci: add GitHub token permissions (GH-92999) (#98161) * ci: add GitHub token permissions (#92999) (cherry picked from commit b96e20c1d9be4e6d5ea3e48c9c97e5ecd02f6055) * [3.10] ci: add GitHub token permissions (GH-92999). (cherry picked from commit b96e20c1d9be4e6d5ea3e48c9c97e5ecd02f6055) Co-authored-by: Varun Sharma <varunsh@stepsecurity.io> Co-authored-by: Varun Sharma <varunsh@stepsecurity.io> 10 October 2022, 19:46:09 UTC
de74587 gh-83940: os docs: Improve wording for getenv/getenvb (GH-98113) (cherry picked from commit 187e853690908ca2af19a0701ca7529b43d05df9) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> 10 October 2022, 14:01:17 UTC
8827b95 doc: remove a misleading statement. (GH-98093) (cherry picked from commit 571e23d99157ed7ad67ca2334a396fc9ddbe07ec) Co-authored-by: Julien Palard <julien@palard.fr> 10 October 2022, 08:50:17 UTC
1ae7abf [3.10] bpo-43564: preserve original exception in args of FTP URLError (GH-24938) (#98138) * bpo-43564: preserve original error in args of FTP URLError * Add NEWS blurb Co-authored-by: Carl Meyer <carljm@instagram.com>. (cherry picked from commit ad817cd5c44416da3752ebf9baf16d650703275c) Co-authored-by: Carl Meyer <carl@oddbird.net> Co-authored-by: Carl Meyer <carl@oddbird.net> 10 October 2022, 06:36:51 UTC
ac0a19b gh-56133: copyreg docs: Clarify function/constructor parameter (GH-95497) (cherry picked from commit 281a3f18cc2afac0fa92c75e807775971e531711) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> 10 October 2022, 01:34:53 UTC
03ea515 Fix types in buffer/memoryview docs (GH-98118) The definition of obj in the `Py_buffer` struct is as a PyObject* https://github.com/python/cpython/blob/ec091bd47e2f968b0d1631b9a8104283a7beeb1b/Include/pybuffer.hGH-L22 PyMemoryView_GET_BASE returns `.obj` - thus its return type should be a PyObject* (or at least a void*). It definitely doesn't return `Py_buffer` (cherry picked from commit c459fedf7cfd5dadf72e088d789c7375b3a6e093) Co-authored-by: da-woods <dw-git@d-woods.co.uk> 10 October 2022, 01:02:49 UTC
ccb5680 [3.10] gh-94808: Cover `PyObject_PyBytes` case with custom `__bytes__` method (GH-96610) (#98121) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>. Co-authored-by: Nikita Sobolev <mail@sobolevn.me> (cherry picked from commit e39ae6bef2c357a88e232dcab2e4b4c0f367544b) 09 October 2022, 14:02:39 UTC
4d7d91f [3.10] Add more syslog tests (GH-97953). (GH-98101) (cherry picked from commit cae7d1d7a713f8267daf5e4f2fff5cb1dad02c7c) 09 October 2022, 11:21:10 UTC
820ef62 [3.10] Minor edits to the Descriptor HowTo Guide (GH-24901) (GH-98114) 09 October 2022, 02:16:10 UTC
c86ee93 Fix link to Lifecycle of a Pull Request in CONTRIBUTING (GH-98102) * Fix link to Lifecycle of a Pull Request in CONTRIBUTING * Remove trailing backslash. Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 3378ebb933b00e1b95f1112511aa2cfb597a4ebf) Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> 08 October 2022, 22:18:44 UTC
15a11a6 Add `@ezio-melotti` as codeowner for `.github/`. (GH-98079) (cherry picked from commit 531ffaa7cdc58c5df2abe505803394dbd5293602) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> 08 October 2022, 08:12:01 UTC
a2ce21f gh-97913 Docs: Add walrus operator to the index (GH-97921) * Add walrus operator to the index * Add named expression to the index Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com> * Fix indentation and add missing newline Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 296313002fde56f52d6c81f17d7ba5c2eb57d098) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 08 October 2022, 07:03:33 UTC
786fde5 gh-97822: Fix http.server documentation reference to test() function (GH-98027) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 6b485629d2e3e232460db7da3f8b18b67d4f4da8) Co-authored-by: JasonYZ <yurenzhang2017@gmail.com> 08 October 2022, 06:57:31 UTC
225bee7 gh-92886: make test_ast pass with -O (assertions off) (GH-98058) -O does not strip docstrings. Automerge-Triggered-By: GH:iritkatriel (cherry picked from commit 27ce45d8e105d0c9f9286c3cab830590d4c7cea3) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> 08 October 2022, 05:02:45 UTC
8d40fbe gh-92886: make test_coroutines pass with -O (assertions off) (GH-98060) Automerge-Triggered-By: GH:iritkatriel (cherry picked from commit 45f21472daad3934baf364c3100063ecc51c6e04) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> 08 October 2022, 04:07:09 UTC
2090eeb [3.10] gh-96288: Add a sentence to `os.mkdir`'s docstring. (GH-96271). (#98066) (cherry picked from commit 1523c9e9d47e7d67e4889987ff0f38eb7b881fdd) Co-authored-by: Hagai Helman Tov <hagai.helman@gmail.com> 08 October 2022, 03:59:48 UTC
f50e3a7 [3.10] gh-96073: Fix installed tests by adding to Makefile.pre.in (#98072) This was broken in #98045 but already fixed on main. 08 October 2022, 03:59:10 UTC
1818235 gh-57179: Add note on symlinks for os.walk (GH-94799) (cherry picked from commit 0f498f1a95306995ca1e287f552c5c3d856be02d) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> 08 October 2022, 03:15:08 UTC
1a31799 gh-61105: Add default param, note on using cookiejar subclass (GH-95427) (cherry picked from commit 5eaf4d610147a3b9adc91a55790096d05bbe01d4) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> 08 October 2022, 02:00:35 UTC
0239440 [3.10] gh-91708: Revert params note in urllib.parse.urlparse table (GH-96699) (#98053) Revert params note in urllib.parse.urlparse table (cherry picked from commit eed80458e8e776d15fa862da71dcce58c47e2ca7) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> 07 October 2022, 23:02:43 UTC
6f40e2f [3.10] gh-94808: Cover `%p` in `PyUnicode_FromFormat` (GH-96677) (#98032) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 72c166add89a0cd992d66f75ce94eee5eb675a99) 07 October 2022, 22:41:06 UTC
8c81d33 gh-96073: fix backticks in NEWS entry (GH-98056) Automerge-Triggered-By: GH:JelleZijlstra (cherry picked from commit 0f111f53c1815766583ca9d5c06671ad89abcb77) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 07 October 2022, 22:38:35 UTC
90f2c79 Add a warning message about PyOS_snprintf (GH-95993) (cherry picked from commit c7b220499662f0c7a4cae51e33372f92ca7b1ee9) Co-authored-by: Eric Wieser <wieser.eric@gmail.com> 07 October 2022, 20:36:21 UTC
a3a3701 GH-96073: Fix wild replacement in inspect.formatannotation (GH-96074) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit d5fea01d9d439b1638cd8e5db19c33909841d86f) Co-authored-by: Anh71me <iyumelive@gmail.com> 07 October 2022, 19:56:29 UTC
e73cb54 gh-65496: Correct wording on csv's skipinitialspace argument (GH-96170) (cherry picked from commit 676d8ef3806758bcd1d3fd84a746c8a9b64480d0) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> 07 October 2022, 19:30:39 UTC
7565944 [3.10] gh-96959: Update HTTP links which are redirected to HTTPS (GH-98039) (#98050) (cherry picked from commit c81c64ca58822156beba79dfd3035bf2a5b7354e) Co-authored-by: 180909 <734461790@qq.com> 07 October 2022, 19:03:36 UTC
5054ae2 gh-64921: Clarify wording for open()'s newline arg (GH-96171) (cherry picked from commit 4a74e6ab3885e7906cc5e0b15addc7779bc76249) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> 07 October 2022, 18:21:44 UTC
da986c6 Add note on capture_output arg to subprocess.run() docstring (GH-98012) add note on capture_output arg to the docstring (cherry picked from commit 80b3e32d6242c27094dd04c4c3d0c3d3b2889a01) Co-authored-by: andrei kulakov <andrei.avk@gmail.com> 07 October 2022, 17:54:54 UTC
5e87cc2 [3.10] gh-71316: Update dis documentation to include changes to jump arguments (GH-95798). (GH-98029) (cherry picked from commit 6592a62ec2939323b895c85780da7fd73a640da3) Co-authored-by: Christopher Chianelli <cchianel@redhat.com> 07 October 2022, 14:35:41 UTC
11945f2 fixes gh-96078: os.sched_yield release the GIL while calling sched_yield(2). (gh-97965) (cherry picked from commit b9d2e8171696514e9226164005f7bf24bf69e66d) Co-authored-by: Dong-hee Na <donghee.na@python.org> 07 October 2022, 04:50:44 UTC
e0e303a [3.10] gh-97943: PyFunction_GetAnnotations should return a borrowed reference. (GH-97949) (GH-97989) gh-97943: PyFunction_GetAnnotations should return a borrowed reference. (GH-97949) (cherry picked from commit 6bfb0be80486c614cd60dce44c9fe7b3e6c76e3b) Co-authored-by: larryhastings <larry@hastings.org> 07 October 2022, 00:59:09 UTC
bb21bc3 [3.10] Remove extra spaces in custom openSSL documentation. (GH-93568) (#98008) Remove extra spaces in custom openSSL documentation. (GH-93568) (cherry picked from commit 4875433682ffec2694647ac43f1b21f5ad73fd25) Co-authored-by: Xiao Chen <chenxiao_7@163.com> Co-authored-by: Xiao Chen <chenxiao_7@163.com> 07 October 2022, 00:56:51 UTC
bc03bf4 gh-97850: Remove the open issues section from the import reference (GH-97935) Remove the open issues section from the import reference Tracking in https://github.com/python/cpython/issues/97850 instead. (cherry picked from commit f8edc6ff531bb98858185857513371f14519ed1d) Co-authored-by: Brett Cannon <brett@python.org> 06 October 2022, 21:07:34 UTC
b7487df gh-86482: Document assignment expression need for ()s (GH-23291) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 2b5f1360ead9aa72ae00de59edfd6c229d13933f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 06 October 2022, 19:33:23 UTC
3d89ac2 [3.10] gh-97897: Prevent os.mkfifo and os.mknod segfaults with macOS 13 SDK (GH-97944) (#97967) The macOS 13 SDK includes support for the `mkfifoat` and `mknodat` system calls. Using the `dir_fd` option with either `os.mkfifo` or `os.mknod` could result in a segfault if cpython is built with the macOS 13 SDK but run on an earlier version of macOS. Prevent this by adding runtime support for detection of these system calls ("weaklinking") as is done for other newer syscalls on macOS. (cherry picked from commit 6d0a0191a4e5477bd843e62c24d7f3bcad4fd5fc) Co-authored-by: Ned Deily <nad@python.org> 06 October 2022, 19:14:16 UTC
537c93e [3.10] gh-93738: Disallow pre-v3 syntax in the C domain (GH-97962) (#97977) Also, disable using invalid sphinx-lint 0.6.2. (cherry picked from commit f612565bd32d4ab0945798da775eea070f08b6fe) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 06 October 2022, 18:56:52 UTC
e2591e4 [3.10] gh-95691: Doc BufferedWriter and BufferedReader (GH-95703) (#97948) gh-95691: Doc BufferedWriter and BufferedReader (GH-95703) (cherry picked from commit 0d68879104dfb392d31e52e25dcb0661801a0249) Co-authored-by: 180909 <734461790@qq.com> Co-authored-by: 180909 <734461790@qq.com> 06 October 2022, 00:22:42 UTC
c80c282 GH-88968: Add notes about socket ownership transfers (GH-97936) (cherry picked from commit 74ea204634f8eb4745afd5cb75c3fe7749cf38b5) Co-authored-by: Guido van Rossum <guido@python.org> 05 October 2022, 23:54:46 UTC
6f23472 [3.10] Fix type annotation of `pstats.FunctionProfile.ncalls` (GH-96741) (#96836) This change aligns the type annotation of `pstats.FunctionProfile.ncalls` with its runtime type. (cherry picked from commit 8e9a37dde44c9fa0b961cb2db5dc8266e1f85d11) Co-authored-by: Ruan Comelli <ruancomelli@gmail.com> 05 October 2022, 21:57:26 UTC
9f1c9b1 [3.10] gh-97654: Add auto exception chaining example to tutorial (GH-97703) (#97884) Add auto exception chaining example to tutorial (cherry picked from commit 395b66a0ae5237eec195ca97daaaf8563706ed34) Co-authored-by: Shahriar Heidrich <smheidrich@weltenfunktion.de> 05 October 2022, 21:51:10 UTC
3b0f2a7 [3.10] gh-93738: Documentation C syntax (:c:type:<C type> -> :c:expr:<C type>) (GH-97768) (#97925) :c:type:`<C type>` -> :c:expr:`<C type>` Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 0031e62973801d34a9e19ab7bb199e9668e32d7b) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 05 October 2022, 21:10:55 UTC
ac2427e gh-91539: improve performance of get_proxies_environment (GH-91566) * improve performance of get_proxies_environment when there are many environment variables * 📜🤖 Added by blurb_it. * fix case of short env name * fix formatting * fix whitespace * whitespace * Update Lib/urllib/request.py Co-authored-by: Carl Meyer <carl@oddbird.net> * Update Lib/urllib/request.py Co-authored-by: Carl Meyer <carl@oddbird.net> * Update Lib/urllib/request.py Co-authored-by: Carl Meyer <carl@oddbird.net> * Update Lib/urllib/request.py Co-authored-by: Carl Meyer <carl@oddbird.net> * whitespace * Update Misc/NEWS.d/next/Library/2022-04-15-11-29-38.gh-issue-91539.7WgVuA.rst Co-authored-by: Carl Meyer <carl@oddbird.net> * Update Lib/urllib/request.py Co-authored-by: Carl Meyer <carl@oddbird.net> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Carl Meyer <carl@oddbird.net> (cherry picked from commit aeb28f51304ebe2ad9fd6a61b6e4e5a03d288aa1) Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com> 05 October 2022, 18:39:24 UTC
b39182e [3.10] gh-93738: Documentation C syntax (Function glob patterns -> literal markup) (GH-97774) (#97911) (cherry picked from commit 0e72606dd4cf3023a4f8c2fe3c58082592b253f7) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> 05 October 2022, 18:00:50 UTC
de0a656 [3.10] gh-93738: Documentation C syntax (:c:type:`PyTypeObject*` -> :c:expr:`PyTypeObject*`) (GH-97778) (#97890) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit c70c8b69762f720377adaf22f2e5ec6496a7be53) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 05 October 2022, 15:21:18 UTC
9aed6bd [3.10] gh-93738: Documentation C syntax (Use `c:struct`) (GH-97772) (#97893) Use `c:struct` (cherry picked from commit a0f5599aac2037da715d09733e0a83a9cba7c37a) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 05 October 2022, 15:20:46 UTC
d99ea4c [3.10] gh-93738: Documentation C syntax (:c:type: to :c:expr:, misc. cases) (GH-97775) (#97891) (cherry picked from commit 6b3d4db02edc5883a7e7cbe088711edaef0d9853) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 05 October 2022, 15:19:38 UTC
4245764 [3.10] gh-93738: Documentation C syntax (:c:type:`PyObject` -> :c:expr:`PyObject`) (GH-97776) (#97888) :c:type:`PyObject` -> :c:expr:`PyObject` (cherry picked from commit 0bf6a617ed1832bc4803e532c8d6b3427cf48b13) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 05 October 2022, 15:17:46 UTC
d108eeb gh-95196: Disable incorrect pickling of the C implemented classmethod descriptors (GH-96383) (cherry picked from commit 77f0249308de76401bf4f3c6a057789c92f862d1) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 05 October 2022, 11:53:38 UTC
3c09deb gh-97661: Improve accuracy of sqlite3.Cursor.fetchone docs (GH-97662) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit 4b83cd0b22428fbfccf1f0e85c0fc36be6ab7edf) Co-authored-by: Jia Junjie <62194633+jiajunjie@users.noreply.github.com> 05 October 2022, 08:56:47 UTC
ece5f7e gh-97825: fix AttributeError when calling subprocess.check_output(input=None) with encoding or errors args (GH-97826) * fix AttributeError, add unit test (cherry picked from commit db64fb9bbe92b212db7dd173f787ea3607ae971a) Co-authored-by: andrei kulakov <andrei.avk@gmail.com> 05 October 2022, 03:35:53 UTC
24908f1 Add re.VERBOSE flag documentation example (GH-97678) The current re.VERBOSE documentation example leaves space for ambiguous interpretation. One may read that spaces within the `(?:` token are spaces inside the non-capturing group (such as `(?: )`). This patch removes the ambiguity by including examples after the statement. (cherry picked from commit 0ceafa7fa408b64377ea31dd5386152da19ef38a) Co-authored-by: Athos Ribeiro <athoscribeiro@gmail.com> 05 October 2022, 01:37:01 UTC
09e5029 [3.10] gh-93738: Documentation C syntax (:c:type:`PyInterpreterState *` -> :c:expr:`PyInterpreterState *`) (GH-97777) (#97877) :c:type:`PyInterpreterState *` -> :c:expr:`PyInterpreterState *` (cherry picked from commit 4ebb0250314b57637d213cd5bc5f5ce5dd911d94) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 05 October 2022, 00:56:46 UTC
95289bf [3.10] gh-93738: Documentation C syntax (:c:data:`view->obj` -> :c:expr:`view->obj`) (GH-97773) (#97868) :c:data:`view->obj` -> :c:expr:`view->obj` (cherry picked from commit fa59bda8d30ea0b6c19007205b57c800c944304c) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 05 October 2022, 00:55:31 UTC
994eaa3 [3.10] gh-93738: Documentation C syntax (:c:type:`TYPE` -> :c:expr:`TYPE`) (GH-97770) (#97870) :c:type:`TYPE` -> :c:expr:`TYPE` (cherry picked from commit 8b211b4cdbcddecfcc4d1682864795b5f1438c59) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 05 October 2022, 00:47:56 UTC
5eedf1d [3.10] gh-93738: Documentation C syntax (:c:type:`FILE` -> :c:expr:`FILE`) (GH-97769) (#97872) :c:type:`FILE` -> :c:expr:`FILE` (cherry picked from commit 192d401ba53224020f5f9ca6e1ff2c9f89511ac4) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 05 October 2022, 00:47:20 UTC
9c755d7 [3.10] gh-93738: Documentation C syntax (:c:type:`PyTupleObject*` -> :c:expr:`PyTupleObject*`) (GH-97780) (#97864) :c:type:`PyTupleObject*` -> :c:expr:`PyTupleObject*` (cherry picked from commit 510baa429affb832d7b4ed68182e59daa2815d2e) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 04 October 2022, 23:46:30 UTC
5aa108b [3.10] gh-93738: Documentation C syntax (:c:type:`PyBytesObject*` -> :c:expr:`PyBytesObject*`) (GH-97782) (#97862) :c:type:`PyBytesObject*` -> :c:expr:`PyBytesObject*` (cherry picked from commit 9ebc50866b58a0ee2985c6540a67fee8a4a49e4d) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 04 October 2022, 23:41:05 UTC
20ddf1c [3.10] gh-93738: Documentation C syntax (:c:type:`PyUnicodeObject*` -> :c:expr:`PyUnicodeObject*`) (GH-97783) (#97860) :c:type:`PyUnicodeObject*` -> :c:expr:`PyUnicodeObject*` (cherry picked from commit 898834e27b82bd1f3532b6448a862a7a9cdeff66) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 04 October 2022, 23:39:57 UTC
f879297 [3.10] gh-93738: Documentation C syntax (:c:type:`Py_UNICODE*` -> :c:expr:`Py_UNICODE*`) (GH-97784) (#97858) :c:type:`Py_UNICODE*` -> :c:expr:`Py_UNICODE*` (cherry picked from commit a081cae2a2cd1248ad067c3f7dc218ea7e3d203a) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 04 October 2022, 23:38:39 UTC
a980daf [3.10] gh-88355: Fix backslashes in AF_PIPE (GH-96543) (#97855) gh-88355: Fix backslashes in AF_PIPE (GH-96543) Fix backslashes in AF_PIPE (GH-88355) The correct syntax for AF_PIPE addresses is `\\.\pipe\blahblah`, not `\.\pipe{blahblah}`, but the syntax markup messed up the backslashes. (cherry picked from commit ff28d8926de92d809e3b7f71d3e44672178ed11e) Co-authored-by: cousteau <cousteaulecommandant@users.noreply.github.com> Co-authored-by: cousteau <cousteaulecommandant@users.noreply.github.com> 04 October 2022, 22:55:39 UTC
f9b49b6 [3.10] gh-96448: fix documentation for _thread.lock.acquire (GH-96449) (#97852) gh-96448: fix documentation for _thread.lock.acquire (GH-96449) * fix documentation for _thread.lock.acquire * update formatting of _thread.lock.acquire() doc (cherry picked from commit 7acb93f0d44c6fb971fdb09b86f68896e3b1e2f8) Co-authored-by: Daniel Giger <danielg3432@gmail.com> Co-authored-by: Daniel Giger <danielg3432@gmail.com> 04 October 2022, 22:21:38 UTC
989bdbc [3.10] gh-97731: fix distclean target to clean docs GH-97732 (#97846) Backport gh-97731: fix distclean target to clean docs #97732 to 3.10 04 October 2022, 21:56:55 UTC
19ed29e [3.10] gh-97709: Included newline separator in Mandelbrot set (GH-97737) (#97823) Included newline separator in Mandelbrot set Now the Mandelbrot set one-liner example on separates the lines with a '\n' character. (cherry picked from commit 49802605f8e47c5c7ddc8a6cecdf4afe44765586) Co-authored-by: matheusja <matheusjahnke@hotmail.com> 04 October 2022, 19:01:07 UTC
f4e2686 GH-82604: fix docs about configuring selector (GH-97755) (cherry picked from commit 53503ff60e9a4727af0d9a1096418675e72a0fae) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 04 October 2022, 16:52:35 UTC
2911521 gh-97754: Update doc for default location of per-user installs on Windows (GH-97756) (cherry picked from commit a120b9f25d037a1c794df731f8cc6a2898a9165e) Co-authored-by: Ben Faulhaber <111227622+faulhaberben@users.noreply.github.com> 04 October 2022, 16:14:42 UTC
40e56f3 gh-97639: Remove `tokenize.NL` check from `tabnanny` (GH-97640) * gh-97639: Remove `tokenize.NL` check from `tabnanny` * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit 06016845dcca1d444a6db6d70ce9fe6274d551d3) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 04 October 2022, 02:07:10 UTC
82ce586 gh-93738: Documentation C syntax (:c:data:`0` -> ``0``) (GH-97771) :c:data:`0` -> ``0`` (cherry picked from commit 5e997cff3e1dea24241726338457611beb8882ec) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 04 October 2022, 01:55:08 UTC
6569837 Update http.client.rst (GH-24803) * Update http.client.rst * Apply suggestions from code review Co-authored-by: Éric <merwok@netwok.org> * Update http.client.rst Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Senthil Kumaran <senthil@python.org> (cherry picked from commit 0c91a125116b21e91d0d1cca457da830348f0806) Co-authored-by: Géry Ogam <gery.ogam@gmail.com> 03 October 2022, 23:35:17 UTC
280bf3f Minor grammar changes to http.client docs (GH-96221) Minor grammar changes (cherry picked from commit d053c47bfde1b3d8779546b980849708662f2660) Co-authored-by: Rohan Shah <57906961+rshah713@users.noreply.github.com> 03 October 2022, 23:30:14 UTC
f8a3c4c Document that MozillaCookieJar works for curl's cookie files (GH-91852) MozillaCookieJar works for curl's cookies (cherry picked from commit 0ea8b925d096629852d1045c2c53ff6ad63199cc) Co-authored-by: Boris Verkhovskiy <boris.verk@gmail.com> 03 October 2022, 23:00:40 UTC
17b49be multiprocessing docs: Remove extra option ELLIPSIS from section with code (GH-96625) (cherry picked from commit d78aa4e11a80653588229cc97119afae693d1c06) Co-authored-by: Ivan Kapeykin <5349983@gmail.com> 03 October 2022, 22:49:16 UTC
a7e2811 gh-94732: Fix KeyboardInterrupt race in asyncio run_forever() (GH-97765) Ensure that the event loop's `_thread_id` attribute and the asyncgen hooks set by `sys.set_asyncgen_hooks()` are always restored no matter where a KeyboardInterrupt exception is raised. (cherry picked from commit 3a49dbb98ccc1b90554ed181386316efa38adfba) Co-authored-by: hetmankp <728670+hetmankp@users.noreply.github.com> 03 October 2022, 21:39:44 UTC
769b9dc [3.10] gh-97728: Argument Clinic: Fix uninitialized variable in the Py_UNICODE converter (GH-97729) (GH-97760) It affects function os.system() on Windows and Windows-specific modules winreg, _winapi, _overlapped, and _msi. (cherry picked from commit 0ee9619a4cba58730c45e65d22288fadbf7680de) 03 October 2022, 13:59:21 UTC
e1cbb6f Fix typo in unittest docs (GH-97742) (cherry picked from commit e6f9ec5c031bd996fcd5f463c407beef0b743b49) Co-authored-by: annonm <annonm@gmail.com> 03 October 2022, 13:42:42 UTC
bead571 [3.10] gh-96845: Fix docs around importlib.abc.Traversable (GH-97515) * [3.10] gh-96845: Correct reference to Traversable* classes. * [3.10] gh-96845: Add a note about the pending move of resources.abcs. 03 October 2022, 13:11:06 UTC
a1711ef gh-97740: Fix bang in Sphinx C domain ref target syntax (GH-97741) * gh-97740: Fix bang in Sphinx C domain ref target syntax Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> * Add NEWS entry for C domain bang fix Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> (cherry picked from commit 9148c0d893c7807331fd7be0997261e289074bc5) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 03 October 2022, 03:59:46 UTC
c2d3f73 gh-96819: multiprocessing.resource_tracker: check if length of pipe write <= 512 (GH-96890) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> (cherry picked from commit 19ca114645bd8796cf4094e152b1fa9944da473d) Co-authored-by: Koki Saito <49419225+saito828koki@users.noreply.github.com> 03 October 2022, 01:11:17 UTC
72d445a GH-85447: Clarify docs about awaiting future multiple times (GH-97738) (cherry picked from commit 9151bbefea3fb932eb6aa6ddb22d64b83f8149c7) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 02 October 2022, 22:24:29 UTC
5ee8344 gh-97607: Fix content parsing in the impl-detail reST directive (GH-97652) * Don't parse content as arg in the impl-detail directive This does not change the (untranslated) output, but ensures that the doctree node metadata is correct. which fixes gh-97607 with the text not being translated. It also simplifies the code and logic and makes it consistant with the docutils built-in directives. * Remove unused branch from impl-detail directive handling no-content case This is not used anywhere in the docs and lacks a clear use case, and is more likely a mistake which is now flagged at build time. This simplifies the logic from two code paths to one, and makes the behavior consistant with similar built-in directives (e.g. the various admonition types). * Further simplify impl-detail reST directive code (cherry picked from commit e8165d47b852e933c176209ddc0b5836a9b0d5f4) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 02 October 2022, 05:27:56 UTC
c6fcbb4 gh-97591: In `Exception.__setstate__()` acquire strong references before calling `tp_hash` slot (GH-97700) (cherry picked from commit d63943860974f232b5f027dc6535d25d1b4d8fc0) Co-authored-by: Ofey Chan <ofey206@gmail.com> 02 October 2022, 04:18:38 UTC
a4fbb94 gh-95588: Drop the safety claim from `ast.literal_eval` docs. (GH-95919) It was never really safe and this claim conflicts directly with the big warning in the docs about it being able to crash the interpreter. (cherry picked from commit 8baef8ae367041a5cfefb40b19c7b87e9bcb56a2) Co-authored-by: Gregory P. Smith <greg@krypto.org> 02 October 2022, 01:24:55 UTC
748b2b7 Fix capitalization of Unix in documentation (GH-96913) (cherry picked from commit bd7d0e875e6955dd69cde18a034e59a75b8b4d00) Co-authored-by: Will Hawkins <8715530+hawkinsw@users.noreply.github.com> 01 October 2022, 23:51:42 UTC
54bbb5e GH-97592: Fix crash in C remove_done_callback due to evil code (GH-97660) Evil code could cause fut_callbacks to be cleared when PyObject_RichCompareBool is called. (cherry picked from commit 63780f4599acc2c5ee8af5f37ab76c162ad21065) Co-authored-by: Guido van Rossum <guido@python.org> 30 September 2022, 20:28:27 UTC
a5c503f GH-96827: Don't touch closed loops from executor threads (GH-96837) * When chaining futures, skip callback if loop closed. * When shutting down an executor, don't wake a closed loop. (cherry picked from commit e9d63760fea8748638f6e495b5b07bd1805c9591) Co-authored-by: Guido van Rossum <guido@python.org> 30 September 2022, 20:25:06 UTC
6d7dbcc gh-87597: Document TimeoutExpired.stdout & .stderr types (GH-97685) This documents the behavior that has always been the case since timeout support was introduced in Python 3.3. (cherry picked from commit b05dd796492160c37c9e15e3882f699f411b3461) Co-authored-by: Gregory P. Smith <greg@krypto.org> 30 September 2022, 17:53:07 UTC
b61a51a bpo-35675: IDLE - separate config_key window and frame (GH-11427) bpo-35598: IDLE: Refactor window and frame class Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 1cc308d03c1b44a0885a3c5f07d0786b49ea711d) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 30 September 2022, 17:27:14 UTC
1dc1d5d gh-90989: Clarify some installer text (GH-97676) 30 September 2022, 13:54:31 UTC
ba52d01 [3.10] Use SyntaxError invalid range in tutorial introduction example (GH-93031) (GH-97667) Use SyntaxError invalid range in tutorial introduction example (GH-93031) Use output from a 3.10+ REPL, showing invalid range, for the SyntaxError examples in the tutorial introduction page. Co-authored-by: Eddie Hebert <eddie@eddiehebert.com> 30 September 2022, 09:12:55 UTC
0688f11 gh-96397: Document that attributes need not be identifiers (GH-96454) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit 9a11ed8e50492d327e4de0a8f3a473e788b14a6f) Co-authored-by: Jeff Allen <ja.py@farowl.co.uk> 29 September 2022, 23:25:29 UTC
b7b261a closes gh-97650: correct sphinx executable (gh-97651) (cherry picked from commit 0179a82caa05a322d1dbab05155be6f919c281ff) Co-authored-by: NoSuck <NoSuck@users.noreply.github.com> 29 September 2022, 23:03:14 UTC
455b494 gh-91212: Fixed flickering when the tracer is turned off (GH-95129) Fixed flickering when the tracer is turned off. (cherry picked from commit 4652093e1b816b78e9a585d671a807ce66427417) Co-authored-by: Shin-myoung-serp <relent95@naver.com> 29 September 2022, 07:09:16 UTC
e3815d7 gh-97612: Fix shell injection in get-remote-certificate.py (GH-97613) Fix a shell code injection vulnerability in the get-remote-certificate.py example script. The script no longer uses a shell to run "openssl" commands. Issue reported and initial fix by Caleb Shortt. Remove the Windows code path to send "quit" on stdin to the "openssl s_client" command: use DEVNULL on all platforms instead. Co-authored-by: Caleb Shortt <caleb@rgauge.com> (cherry picked from commit 83a0f44ffd8b398673ae56c310cf5768d359c341) Co-authored-by: Victor Stinner <vstinner@python.org> 28 September 2022, 23:50:07 UTC
28f1435 gh-97616: list_resize() checks for integer overflow (GH-97617) Fix multiplying a list by an integer (list *= int): detect the integer overflow when the new allocated length is close to the maximum size. Issue reported by Jordan Limor. list_resize() now checks for integer overflow before multiplying the new allocated length by the list item size (sizeof(PyObject*)). (cherry picked from commit a5f092f3c469b674b8d9ccbd4e4377230c9ac7cf) Co-authored-by: Victor Stinner <vstinner@python.org> 28 September 2022, 23:03:39 UTC
3d8dfb3 Fix typo in error message in plistlib (GH-97540) (cherry picked from commit 81b9d9ddc20837ecd19f41b764e3f33d8ae805d5) Co-authored-by: Jakob Weigert <jakobjw@users.noreply.github.com> 28 September 2022, 18:32:59 UTC
13f23e0 fixup policy docs (GH-97618) (cherry picked from commit 9a404b173e57ce171a867cfc3776cdf88d6c553f) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 28 September 2022, 17:44:04 UTC
feb4be1 [3.10] gh-65046: Add note about logging from async code. (GH-97602) (GH-97609) 28 September 2022, 04:31:31 UTC
0a7d435 gh-96377: Update asyncio policy doc intro paras to be clear and accurate (GH-97603) Also fix up some cross-references in the asyncio docs. (cherry picked from commit cc0f3a10f0ee507d9044ef9036cf3e711c5338a9) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 28 September 2022, 00:33:58 UTC
back to top