summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-105699: Add some stress tests for subinterpreter creation (#106966)Eric Snow2023-07-221-0/+22
|
* Reformat code block to make it easier to read (#106965)Joe Kaufeld2023-07-221-5/+14
|
* gh-106714: Fix test_capi to not write a coredump (#107007)Victor Stinner2023-07-222-3/+12
| | | | test_capi: Fix test_no_FatalError_infinite_loop() to no longer write a coredump, by using test.support.SuppressCrashReport.
* gh-106969: Indicate no modules were added in 3.10 & 3.12 (#106988)Sebastiaan Zeeff2023-07-222-2/+2
| | | | | | | | | The "New Modules" section was left in place to ensure that the anchor link for new modules will still exist: /whatsnew/3.12.html#new-modules /whatsnew/3.10.html#new-modules This means that existing links to this section don't break.
* gh-104050: Argument Clinic: Annotate the BufferSeries class (#106935)Erlend E. Aasland2023-07-221-5/+5
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-106996: Amend the introduction to the turtle graphics documentation (#106997)Daniele Procida2023-07-221-3/+21
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-106978: Bump sphinx-lint to 0.6.8 (#106990)Sven Arends2023-07-221-1/+1
|
* gh-106368: Increase coverage for Argument Clinic output directive (#106979)Erlend E. Aasland2023-07-221-0/+53
|
* gh-106976:alphabetise bullets by module name task1 (#106982)littlebutt's workshop2023-07-221-25/+28
|
* gh-106973: Change non-integral to non-integer in "3.12 What's New" (#106984)Sebastiaan Zeeff2023-07-221-1/+1
|
* gh-101100: Docs: Check Sphinx warnings and fail if improved (#106460)Hugo van Kemenade2023-07-225-116/+161
|
* gh-106970: Fix Argument Clinic 'destination <name> clear' command (#106972)Erlend E. Aasland2023-07-224-8/+77
| | | | | | | | | | Add test for the 'destination <name> clear' command, and the 'destination' directive in general. Fix two bugs in 'destination <name> clear' command: 1. The text attribute of the allocator is called 'text', not '_text' 2. Return after processing the 'clear' command, instead of proceeding directly to the fail().
* gh-96663: Add a better error message for __dict__-less classes setattr (#103232)James Hilton-Balfe2023-07-224-5/+32
|
* gh-106004: Add PyDict_GetItemRef() function (#106005)Victor Stinner2023-07-2110-18/+308
| | | | | * Add PyDict_GetItemRef() and PyDict_GetItemStringRef() functions. Add these functions to the stable ABI version 3.13. * Add unit tests on the PyDict C API in test_capi.
* gh-105699: Fix a Crasher Related to a Deprecated Global Variable (gh-106923)Eric Snow2023-07-212-4/+11
| | | There was a slight race in _Py_ClearFileSystemEncoding() (when called from _Py_SetFileSystemEncoding()), between freeing the value and setting the variable to NULL, which occasionally caused crashes when multiple isolated interpreters were used. (Notably, I saw at least 10 different, seemingly unrelated spooky-action-at-a-distance, ways this crashed. Yay, free threading!) We avoid the problem by only setting the global variables with the main interpreter (i.e. runtime init).
* gh-105699: Fix an Interned Strings Crasher (gh-106930)Eric Snow2023-07-212-1/+15
| | | | | | | A static (process-global) str object must only have its "interned" state cleared when no longer interned in any interpreters. They are the only ones that can be shared by interpreters so we don't have to worry about any other str objects. We trigger clearing the state with the main interpreter, since no other interpreters may exist at that point and _PyUnicode_ClearInterned() is only called during interpreter finalization. We do not address here the fact that a string will only be interned in the first interpreter that interns it. In any subsequent interpreters str.state.interned is already set so _PyUnicode_InternInPlace() will skip it. That needs to be addressed separately from fixing the crasher.
* gh-106847: Add -X warn_default_encoding in sys.flags Doc (#106854)qqwqqw6892023-07-211-21/+25
| | | Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* gh-106909: Use role :const: for referencing module constants (GH-106910)Serhiy Storchaka2023-07-2164-238/+238
|
* gh-106892: Use roles :data: and :const: for referencing module variables ↵Serhiy Storchaka2023-07-2140-111/+111
| | | | (GH-106894)
* gh-47146: Fix reference counting in _testcapi.structmember initializer ↵Serhiy Storchaka2023-07-211-1/+1
| | | | (GH-106862)
* gh-106919: Use role :c:macro: for referencing the C "constants" (GH-106920)Serhiy Storchaka2023-07-2147-294/+312
|
* Docs: Argument Clinic: Add Background and Tutorial top-level sections (#106904)Erlend E. Aasland2023-07-211-9/+27
| | | | | | | | | | | | | | | | | | | | | Add Background as a toplevel section with the following subsections: - Background - The goals of Argument Clinic - Basic concepts and usage Rename "Converting your first function" to Tutorial. Add anchors for Background, Tutorial, and How-to Guides: - :ref:`clinic-background` - :ref:`clinic-tutorial` - :ref:`clinic-howtos` Link to these from within the Abstract. Break the compatibility paragraph out of Abstract and make it a note. Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* gh-106368: Increase Argument Clinic test coverage for IndentStack (#106933)Erlend E. Aasland2023-07-211-0/+19
|
* gh-106916: Add missing error check _PyCompile_CleanDoc (#106921)Kirill Podoprigora2023-07-211-0/+6
| | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-106669: Revert "gh-102988: Detect email address parsing errors ... ↵Gregory P. Smith2023-07-215-171/+30
| | | | | | | | (#105127)" (#106733) This reverts commit 18dfbd035775c15533d13a98e56b1d2bf5c65f00. Adds a regression test from the issue. See https://github.com/python/cpython/issues/106669.
* gh-104050: Argument Clinic: Annotate the IndentStack class (#106934)Erlend E. Aasland2023-07-201-5/+5
|
* gh-105540: Show source files relative to root (#106927)Guido van Rossum2023-07-201-4/+10
| | | This restores a corner case: when the generator is run with working directory set to Tools/cases_generator, the source filenames listed in the generated provenance header should be relative to the repo root directory.
* Fix typo in tkinter docs (#106936)Makonede2023-07-201-1/+1
| | | Signed-off-by: Makonede <61922615+Makonede@users.noreply.github.com>
* gh-104050: Argument Clinic: Increase CConverter typing coverage (#106932)Erlend E. Aasland2023-07-201-13/+16
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-104050: Argument Clinic: Annotate CLanguage.render_option_group_parsing() ↵Erlend E. Aasland2023-07-201-14/+20
| | | | | (#106929) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* GH-106701: Move _PyUopExecute to Python/executor.c (GH-106924)Brandt Bucher2023-07-2013-247/+276
|
* gh-105481: do not auto-generate pycore_intrinsics.h (#106913)Irit Katriel2023-07-2011-91/+174
|
* GH-104584: Miscellaneous fixes for -Xuops (GH-106908)Brandt Bucher2023-07-2010-18/+67
|
* Fix typo in 3.11.4 changelog: urllib.request.Requst -> Request (#106830)Zach Brantmeier2023-07-201-1/+1
|
* gh-106078: Prepare to isolate decimal module (#106880)Charlie Zhao2023-07-202-23/+55
| | | | | | * move signal_map to global_state * move cond_map to global_state
* gh-102799: use sys.exception() instead of sys.exc_info() in contextlib (#103311)Irit Katriel2023-07-203-24/+34
| | | Co-authored-by: Kumar Aditya <kumaraditya@python.org>
* gh-106751: Optimize _PolllikeSelector for many iteration case (gh-106884)Pieter Eendebak2023-07-202-17/+10
|
* gh-106882: Note that `asyncio.Server` is only publicly exposed on 3.11+ ↵Jack Nelson2023-07-191-0/+3
| | | | | (#106901) And later versions of 3.10, 3.9
* GH-100502: Add `pathlib.PurePath.pathmod` attribute (GH-106533)Barney Gale2023-07-194-58/+68
| | | | This instance attribute stores the implementation of `os.path` used for low-level path operations: either `posixpath` or `ntpath`.
* Export _PyEval_SetProfile() as a function, not data (#106887)Victor Stinner2023-07-191-1/+1
|
* gh-104090: Fix unittest collectedDurations resources leak (#106795)Yonatan Bitton2023-07-192-1/+3
|
* gh-106751: Optimize SelectSelector.select() for many iteration case (gh-106879)Dong-hee Na2023-07-192-10/+10
|
* gh-106751: Optimize KqueueSelector.select() for many iteration case (gh-106864)Dong-hee Na2023-07-192-8/+8
|
* gh-106727: Make `inspect.getsource` smarter for class for same name ↵Tian Gao2023-07-184-12/+71
| | | | definitions (#106815)
* Docs: Argument Clinic: Group guides about default values (#106872)Erlend E. Aasland2023-07-181-20/+20
| | | | | | | | | | | | | | | | Previous ToC layout (excerpt): - How to use symbolic default values ... - How to assign default values to parameter - How to use the ``NULL`` default value - How to use expressions as default values New layout: - How to assign default values to parameter - The ``NULL`` default value - Symbolic default values - Expressions as default values
* gh-86493: Use PyModule_Add() instead of PyModule_AddObjectRef() (GH-106860)Serhiy Storchaka2023-07-1814-116/+26
|
* gh-105481: Generate the opcode lists in dis from data extracted from ↵Irit Katriel2023-07-1816-159/+403
| | | | bytecodes.c (#106758)
* gh-106535: Document soft deprecations in What's New In Python 3.13 (#106859)Victor Stinner2023-07-181-0/+12
|
* gh-106751: selectors: optimize EpollSelector.select() (#106754)J. Nick Koston2023-07-182-8/+10
| | | Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
* Docs: Normalise Argument Clinic advanced topics headings (#106842)Erlend E. Aasland2023-07-181-49/+46
| | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>