summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [3.12] gh-105002: [pathlib] Fix relative_to with walk_up=True using ".." ↵Miss Islington (bot)2023-07-263-2/+19
| | | | | | | | | | | (GH-107014) (#107315) gh-105002: [pathlib] Fix relative_to with walk_up=True using ".." (GH-107014) It makes sense to raise an Error because ".." can not be resolved and the current working directory is unknown. (cherry picked from commit e7e6e4b035f51ab4a962b45a957254859f264f4f) Co-authored-by: János Kukovecz <kukoveczjanos@gmail.com>
* [3.12] Document that `os.link()` is not available on Emscripten (GH-104822) ↵Miss Islington (bot)2023-07-261-1/+1
| | | | | | | | (GH-107308) Document that `os.link()` is not available on Emscripten (GH-104822) (cherry picked from commit 737d1da0746053d515158eac5b115e8bd813f6d3) Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
* [3.12] gh-107091: Fix some uses of :c:type: role (GH-107138) (GH-107312)Miss Islington (bot)2023-07-269-22/+28
| | | | | (cherry picked from commit 6d5b6e71c87fca7c5c26f5dd8f325087962215cc) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-107091: Fix some uses of :c:member: role (GH-107129) (GH-107310)Miss Islington (bot)2023-07-268-14/+16
| | | | | (cherry picked from commit af61cb9c7837ff3c11da79e3ee1cab3fdd0ba4da) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-106948: Update documentation nitpick_ignore for c:identifer domain ↵Miss Islington (bot)2023-07-262-3/+9
| | | | | | | | | | | | | | | | | | (GH-107295) (#107297) gh-106948: Update documentation nitpick_ignore for c:identifer domain (GH-107295) Update the nitpick_ignore of the documentation configuration to fix Sphinx warnings about standard C types when declaring functions with the "c:function" markups. Copy standard C types declared in the "c:type" domain to the "c:identifier" domain, since "c:function" markup looks for types in the "c:identifier" domain. (cherry picked from commit b1de3807b832b72dfeb66dd5646159d08d2cc74a) Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-106350: Tkinter: do not ignore return value of `mp_init()` ↵Miss Islington (bot)2023-07-262-2/+5
| | | | | | | (GH-106351) (GH-107258) (cherry picked from commit b5ae7c498438657a6ba0bf4cc216b9c2c93a06c7) Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
* [3.12] gh-106368: Increase Argument Clinic CLI test coverage (GH-107277) ↵Miss Islington (bot)2023-07-261-3/+75
| | | | | | | (#107282) (cherry picked from commit 579100f6d75a27429e7f8de74935d7bc3a3e44e6) Co-authored-by: Erlend E. Aasland <erlend@python.org>
* [3.12] gh-106185: Deduplicate `CPythonTracebackErrorCaretTests` in ↵Miss Islington (bot)2023-07-251-1/+1
| | | | | | | `test_traceback` (GH-106187) (GH-107268) (cherry picked from commit 7c89f1189229c5c67a3766e24ecf00cde658b7fd) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-106939: document ShareableList nul-strip quirk. (GH-107266) (#107269)Miss Islington (bot)2023-07-251-7/+37
| | | | | | | | | gh-106939: document ShareableList nul-strip quirk. (GH-107266) * gh-106939: document ShareableList nul-strip quirk. * Mention the `int` size constraint. (cherry picked from commit 70dc00946938027d5a79bcb7b65038319040144e) Co-authored-by: Gregory P. Smith <greg@krypto.org>
* [3.12] gh-107226: PyModule_AddObjectRef() should only be in the limited API ↵Miss Islington (bot)2023-07-252-0/+4
| | | | | | | 3.10 (GH-107227) (GH-107260) (cherry picked from commit 698b01513550798886add5e06a1c3f9a89d7dfc6) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-62519: Make pgettext search plurals when translation is not found ↵Miss Islington (bot)2023-07-253-4/+12
| | | | | | | | (GH-107118) (GH-107134) (cherry picked from commit b3c34e55c053846beb35f5e4253ef237b3494bd0) Co-authored-by: Tomas R <tomas.roun8@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [3.12] Remove superflous whitespaces in `layout.html`. (#107251)Ezio Melotti2023-07-251-4/+4
| | | Remove superflous whitespaces in layout.html.
* [3.12] gh-105699: Add some stress tests for subinterpreter creation ↵Miss Islington (bot)2023-07-251-0/+22
| | | | | | | | (GH-106966) (gh-107012) gh-105699: Add some stress tests for subinterpreter creation (GH-106966) (cherry picked from commit adda43dc0bcea853cbfa33126e5549c584cef8be) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
* [3.12] gh-105059: Fix MSCV compiler warning on PyObject union (GH-107239) ↵Miss Islington (bot)2023-07-251-0/+11
| | | | | | | | | | | (#107248) gh-105059: Fix MSCV compiler warning on PyObject union (GH-107239) Use pragma to ignore the MSCV compiler warning on the PyObject nameless union. (cherry picked from commit 1c8fe9bdb624d356643ee569151a9e4f2963179a) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] gh-107237: Fix test_udp_reconnection() of test_logging (GH-107238) ↵Miss Islington (bot)2023-07-252-4/+6
| | | | | | | | | | | | | | (#107242) gh-107237: Fix test_udp_reconnection() of test_logging (GH-107238) test_logging: Fix test_udp_reconnection() by increasing the timeout from 100 ms to 5 minutes (LONG_TIMEOUT). Replace also blocking wait() with wait(LONG_TIMEOUT) in test_output() to prevent the test to hang. (cherry picked from commit ed082383272c2c238e364e9cc83229234aee23cc) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] gh-105059: Use GCC/clang extension for PyObject union (GH-107232) ↵Miss Islington (bot)2023-07-251-0/+5
| | | | | | | | | | | | (#107236) gh-105059: Use GCC/clang extension for PyObject union (GH-107232) Anonymous union is new in C11. To prevent compiler warning when using -pedantic compiler option, use Clang and GCC extension on C99 and older. (cherry picked from commit 6261585d63a31835b65d445d99dc14cca3fe9cf5) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] gh-106996: Add a how-to section to the turtle documentation ↵Miss Islington (bot)2023-07-251-0/+114
| | | | | | | (GH-107153) (#107233) Co-authored-by: Daniele Procida <daniele@vurt.org> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] gh-106774: Update bundled pip version to 23.2.1 (GH-106775) (gh-107222)Miss Islington (bot)2023-07-253-1/+2
| | | gh-106774: Update bundled pip version to 23.2.1 (GH-106775)
* [3.12] gh-106917: fix super classmethod calls to non-classmethods ↵Carl Meyer2023-07-244-4/+50
| | | | | (GH-106977). (#107204) (cherry picked from commit e5d5522612e03af3941db1d270bf6caebf330b8a)
* [3.12] gh-102304: Rename _Py_IncRefTotal_DO_NOT_USE_THIS() (GH-107193) (#107199)Miss Islington (bot)2023-07-242-11/+6
| | | | | | | | | | gh-102304: Rename _Py_IncRefTotal_DO_NOT_USE_THIS() (GH-107193) * Rename _Py_IncRefTotal_DO_NOT_USE_THIS() to _Py_INCREF_IncRefTotal() * Rename _Py_DecRefTotal_DO_NOT_USE_THIS() to _Py_DECREF_DecRefTotal() * Remove temporary _Py_INC_REFTOTAL() and _Py_DEC_REFTOTAL() macros (cherry picked from commit 8ebc9fc321ba1eeb3282c2170f351c54956893e6) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] gh-98608: Move PyInterpreterConfig to pylifecycle.h (GH-107191) (#107198)Miss Islington (bot)2023-07-242-39/+39
| | | | | | | | | | gh-98608: Move PyInterpreterConfig to pylifecycle.h (GH-107191) Move PyInterpreterConfig structure and associated macros from initconfig.h to pylifecycle.h: it's not related to the Python Initialization Configuration. (cherry picked from commit e717b47ed8ae7017f0bfb835fe673aa836e8fcca) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] GH-96803: Move PyUnstable_InterpreterFrame_GetCode() to Python.h ↵Miss Islington (bot)2023-07-242-17/+17
| | | | | | | | | | | | (GH-107188) (#107195) GH-96803: Move PyUnstable_InterpreterFrame_GetCode() to Python.h (GH-107188) Declare the following 3 PyUnstable functions in Include/cpython/pyframe.h rather than Include/cpython/frameobject.h, so they are now provided by the standard "GH-include <Python.h>". (cherry picked from commit 837fa5c0cd92e70f625377c9ffb7ac31a23d7d63) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] gh-106368: Increase Argument Clinic CLI test coverage (GH-107156) ↵Miss Islington (bot)2023-07-241-14/+176
| | | | | | | | | | | (#107189) Instead of hacking into the Clinic class, use the Argument Clinic tool to run the ClinicExternalTest test suite. (cherry picked from commit 83a2837b328c58b243f7d97bec12c64ec66681c5) Co-authored-by: Erlend E. Aasland <erlend@python.org> Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-107017: Change Chapter Strings to Texts in the Introduction ↵Miss Islington (bot)2023-07-241-20/+20
| | | | | | | chapter. (GH-107104) (#107167) Co-authored-by: TommyUnreal <45427816+TommyUnreal@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] Docs: Add missing markup to Argument Clinic docs (GH-106876) (#107181)Miss Islington (bot)2023-07-241-126/+143
| | | | | | | (cherry picked from commit ff5f94b72c8aad8e45c397c263dbe7f19221735f) Co-authored-by: Erlend E. Aasland <erlend@python.org> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] Fix PyVectorcall_Function doc versionadded (GH-107140) (#107173)Miss Islington (bot)2023-07-241-1/+1
| | | | | | | | | | Fix PyVectorcall_Function doc versionadded (GH-107140) The documentation implies that PyVectorcall_Function() was available in Python 3.8. This is half-true - it was available under a different name. I think it's clearer to set the "version added" to 3.9. (cherry picked from commit 0a9b339363a59be1249189c767ed6f46fd71e1c7) Co-authored-by: da-woods <dw-git@d-woods.co.uk>
* [3.12] Docs: Remove duplicate word in Argument Clinic howto heading ↵Miss Islington (bot)2023-07-241-2/+2
| | | | | | | (GH-107169) (#107171) (cherry picked from commit ebe44a5155e9abc70c4b8914ad26b27c2b84f72b) Co-authored-by: Hakan Celik <hakancelikdev@gmail.com>
* [3.12] gh-105291: Add link to migration guide for distutils (GH-107130) ↵Miss Islington (bot)2023-07-231-1/+3
| | | | | | | (#107160) Co-authored-by: cLupus <cLupus@users.noreply.github.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* [3.12] gh-106948: Docs: Disable links for C standard library functions, OS ↵Miss Islington (bot)2023-07-2312-42/+59
| | | | | | | | utility functions and system calls (GH-107062) (#107154) (cherry picked from commit b447e19e720e6781025432a40eb72b1cc93ac944) Co-authored-by: Erlend E. Aasland <erlend@python.org> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-107017: Analolgy to Pascal and C replaced. (GH-107025) (#107124)Miss Islington (bot)2023-07-231-2/+2
| | | | | | (cherry picked from commit e59da0c4f283b966ccb175fb94460f58211a9704) Co-authored-by: TommyUnreal <45427816+TommyUnreal@users.noreply.github.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* [3.12] Introduce a gate/check GHA job (GH-97533) (#107114)Sviatoslav Sydorenko2023-07-231-0/+57
| | | (cherry picked from commit e7cd557)
* [3.12] bpo-18319: gettext() can retrieve a message even if a plural form ↵Miss Islington (bot)2023-07-233-4/+12
| | | | | | | exists (GH-19869) (#107108) (cherry picked from commit 54632528eeba841e4a8cc95ecbd84c9aca8eef57) Co-authored-by: Gilles Bassière <gbassiere@gmail.com>
* [3.12] gh-106186: Don't report MultipartInvariantViolationDefect for valid ↵Miss Islington (bot)2023-07-234-1/+28
| | | | | | | multipart emails when parsing header only (GH-107016) (#107111) (cherry picked from commit c65592c4d6d7552fb6284442906a96a6874cb266) Co-authored-by: htsedebenham <31847376+htsedebenham@users.noreply.github.com>
* [3.12] gh-107091: Fix the use of some C domain roles (GH-107092) (GH-107113)Miss Islington (bot)2023-07-2311-20/+20
| | | | | (cherry picked from commit 08a228da05a7aec937b65eea21f4091fa3c6b5cf) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-106969: Indicate no modules were added in 3.10 & 3.12 (GH-106988) ↵Moritz Neeb2023-07-232-2/+2
| | | | | | | | | | | | | | (#107094) The "New Modules" section was left in place to ensure that the anchor link for new modules will still exist: /whatsnew/3.12.htmlGH-new-modules /whatsnew/3.10.htmlGH-new-modules This means that existing links to this section don't break. (cherry picked from commit 6dbffaed17d59079d6a2788d686009f762a3278f) Co-authored-by: Sebastiaan Zeeff <33516116+SebastiaanZ@users.noreply.github.com>
* [3.12] gh-106996: Add the basics of a turtle graphics tutorial (GH-107072) ↵Daniele Procida2023-07-232-23/+140
| | | | (#107109)
* [3.12] gh-101100: Fix some broken sphinx references (GH-107095) (#107103)Miss Islington (bot)2023-07-2312-34/+27
| | | | | (cherry picked from commit f5147c0cfbd7943ff10917225448c36a53f9828d) Co-authored-by: wulmer <wulmer@users.noreply.github.com>
* [3.12] gh-106976: alphabetise bullets by module name task2-3 (GH-107005) ↵Miss Islington (bot)2023-07-231-237/+237
| | | | | | | (#107106) Co-authored-by: littlebutt's workshop <luogan199686@gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] gh-54738: Add argparse i18n howto (GH-104562) (#107102)Miss Islington (bot)2023-07-233-0/+55
| | | | | (cherry picked from commit dcd7acb04a719d8d30c8d03b80d3d48b6c035e14) Co-authored-by: Tomas R <tomas.roun8@gmail.com>
* [3.12] Convert `doc.yml` workflow to be reusable (GH-103914 + GH-105151) ↵Sviatoslav Sydorenko2023-07-233-32/+56
| | | | | | | | | | (#107042) Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> (cherry picked from commit 88d14da76f579fe014cbd7c15e42be4234135fe9) (cherry picked from commit eaa670228066220f08c8d73f80365c50058d40b8)
* [3.12] gh-75371: reformat Makefile.pre.in to accommodate for empty ↵Miss Islington (bot)2023-07-231-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | FRAMEWORKALTINSTALLLAST (GH-107035) (#107049) gh-75371: reformat Makefile.pre.in to accommodate for empty FRAMEWORKALTINSTALLLAST (GH-107035) in the case of an empty FRAMEWORKALTINSTALLLAST, this patch prevents leaving an astray linebreak and two tabs in the resulting Makefile. Before change: ``` .PHONY: commoninstall commoninstall: check-clean-src \ altbininstall libinstall inclinstall libainstall \ sharedinstall altmaninstall \ ``` After change (with empty FRAMEWORKALTINSTALLLAST): ``` .PHONY: commoninstall commoninstall: check-clean-src \ altbininstall libinstall inclinstall libainstall \ sharedinstall altmaninstall ``` (cherry picked from commit 9c38206925246ab919cf558ac069ae9458720ba7) Co-authored-by: Moritz Neeb <nt4u@kpvn.de>
* [3.12] gh-106948: Add standard external names to nitpick_ignore (GH-106949) ↵Serhiy Storchaka2023-07-2319-44/+89
| | | | | | | | | | | | | | (#107060) * [3.12] gh-106948: Add standard external names to nitpick_ignore (GH-106949) It includes standard C types, macros and variables like "size_t", "LONG_MAX" and "errno", and standard environment variables like "PATH". (cherry picked from commit f8b7fe2f2647813ae8249675a80e59c117d30fe1) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> * Delete 2023-05-31-18-37-57.gh-issue-105156.R4El5V.rst
* [3.12] gh-107017: removed mention that C does it the same way (GH-107020) ↵Miss Islington (bot)2023-07-231-8/+15
| | | | | | (#107097) Co-authored-by: Jakub Červinka <cervinka.jakub.1989@gmail.com>
* [3.12] gh-71261: Add paragraph on shadowing submodules with star imports ↵Miss Islington (bot)2023-07-231-0/+16
| | | | | | (GH-107004) (#107100) Co-authored-by: wulmer <wulmer@users.noreply.github.com>
* [3.12] gh-102111: Add link to string escape sequences in re module ↵Miss Islington (bot)2023-07-232-2/+6
| | | | | | | (GH-106995) (#107096) Co-authored-by: wulmer <wulmer@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.12] gh-106962: Detect mpicc in configure.ac (GH-106961) (#107081)Miss Islington (bot)2023-07-233-0/+7
| | | | | | | Don't let autoconf mistake MPI compilers for Intel compilers; filter out the MPI case to prevent Intel specific options from being applied. (cherry picked from commit 9a6b278769b9f24e0650283f6c347db8ae52b7b3) Co-authored-by: Lukas van de Wiel <30800501+LukasvdWiel@users.noreply.github.com>
* [3.12] GH-103082: Rename PY_MONITORING_EVENTS to _PY_MONITORING_EVENTS ↵Victor Stinner2023-07-225-29/+29
| | | | | | | | | | | | (#107069) (#107075) GH-103082: Rename PY_MONITORING_EVENTS to _PY_MONITORING_EVENTS (#107069) Rename private C API constants: * Rename PY_MONITORING_UNGROUPED_EVENTS to _PY_MONITORING_UNGROUPED_EVENTS * Rename PY_MONITORING_EVENTS to _PY_MONITORING_EVENTS (cherry picked from commit 0927a2b25c059988e237108605ed8ab0c5459c53)
* gh-106847: Add -X warn_default_encoding in sys.flags Doc (GH-106854)Miss Islington (bot)2023-07-221-21/+25
| | | | | | | gh-106847: Add -X warn_default_encoding in sys.flags Doc (GH-106854) (cherry picked from commit fd84ac0ee0a8d5e34e0a106eed7e50539b61c5f8) Co-authored-by: qqwqqw689 <114795525+qqwqqw689@users.noreply.github.com> Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-107028: tiny textual changes in logging docs and docstrings ↵Miss Islington (bot)2023-07-222-5/+6
| | | | | (GH-107029) (GH-107065) (cherry picked from commit 5e5a34ac3a827e040cd89426b1774fec2123336a)
* [3.12] gh-83006: Document behavior of `shutil.disk_usage` for non-mounted ↵Miss Islington (bot)2023-07-222-0/+8
| | | | | | | filesystems on Unix (GH-107031) (#107047) (cherry picked from commit 6e5f2235f3754307292c7d8d3698958136b5e311) Co-authored-by: Matthieu Caneill <matthieucan@users.noreply.github.com>