Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-105699: Add some stress tests for subinterpreter creation (#106966) | Eric Snow | 2023-07-22 | 1 | -0/+22 | |
| | ||||||
* | Reformat code block to make it easier to read (#106965) | Joe Kaufeld | 2023-07-22 | 1 | -5/+14 | |
| | ||||||
* | gh-106714: Fix test_capi to not write a coredump (#107007) | Victor Stinner | 2023-07-22 | 2 | -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 Zeeff | 2023-07-22 | 2 | -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. Aasland | 2023-07-22 | 1 | -5/+5 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-106996: Amend the introduction to the turtle graphics documentation (#106997) | Daniele Procida | 2023-07-22 | 1 | -3/+21 | |
| | | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | |||||
* | gh-106978: Bump sphinx-lint to 0.6.8 (#106990) | Sven Arends | 2023-07-22 | 1 | -1/+1 | |
| | ||||||
* | gh-106368: Increase coverage for Argument Clinic output directive (#106979) | Erlend E. Aasland | 2023-07-22 | 1 | -0/+53 | |
| | ||||||
* | gh-106976:alphabetise bullets by module name task1 (#106982) | littlebutt's workshop | 2023-07-22 | 1 | -25/+28 | |
| | ||||||
* | gh-106973: Change non-integral to non-integer in "3.12 What's New" (#106984) | Sebastiaan Zeeff | 2023-07-22 | 1 | -1/+1 | |
| | ||||||
* | gh-101100: Docs: Check Sphinx warnings and fail if improved (#106460) | Hugo van Kemenade | 2023-07-22 | 5 | -116/+161 | |
| | ||||||
* | gh-106970: Fix Argument Clinic 'destination <name> clear' command (#106972) | Erlend E. Aasland | 2023-07-22 | 4 | -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-Balfe | 2023-07-22 | 4 | -5/+32 | |
| | ||||||
* | gh-106004: Add PyDict_GetItemRef() function (#106005) | Victor Stinner | 2023-07-21 | 10 | -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 Snow | 2023-07-21 | 2 | -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 Snow | 2023-07-21 | 2 | -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) | qqwqqw689 | 2023-07-21 | 1 | -21/+25 | |
| | | | Co-authored-by: Nikita Sobolev <mail@sobolevn.me> | |||||
* | gh-106909: Use role :const: for referencing module constants (GH-106910) | Serhiy Storchaka | 2023-07-21 | 64 | -238/+238 | |
| | ||||||
* | gh-106892: Use roles :data: and :const: for referencing module variables ↵ | Serhiy Storchaka | 2023-07-21 | 40 | -111/+111 | |
| | | | | (GH-106894) | |||||
* | gh-47146: Fix reference counting in _testcapi.structmember initializer ↵ | Serhiy Storchaka | 2023-07-21 | 1 | -1/+1 | |
| | | | | (GH-106862) | |||||
* | gh-106919: Use role :c:macro: for referencing the C "constants" (GH-106920) | Serhiy Storchaka | 2023-07-21 | 47 | -294/+312 | |
| | ||||||
* | Docs: Argument Clinic: Add Background and Tutorial top-level sections (#106904) | Erlend E. Aasland | 2023-07-21 | 1 | -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. Aasland | 2023-07-21 | 1 | -0/+19 | |
| | ||||||
* | gh-106916: Add missing error check _PyCompile_CleanDoc (#106921) | Kirill Podoprigora | 2023-07-21 | 1 | -0/+6 | |
| | | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | |||||
* | gh-106669: Revert "gh-102988: Detect email address parsing errors ... ↵ | Gregory P. Smith | 2023-07-21 | 5 | -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. Aasland | 2023-07-20 | 1 | -5/+5 | |
| | ||||||
* | gh-105540: Show source files relative to root (#106927) | Guido van Rossum | 2023-07-20 | 1 | -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) | Makonede | 2023-07-20 | 1 | -1/+1 | |
| | | | Signed-off-by: Makonede <61922615+Makonede@users.noreply.github.com> | |||||
* | gh-104050: Argument Clinic: Increase CConverter typing coverage (#106932) | Erlend E. Aasland | 2023-07-20 | 1 | -13/+16 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-104050: Argument Clinic: Annotate CLanguage.render_option_group_parsing() ↵ | Erlend E. Aasland | 2023-07-20 | 1 | -14/+20 | |
| | | | | | (#106929) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | GH-106701: Move _PyUopExecute to Python/executor.c (GH-106924) | Brandt Bucher | 2023-07-20 | 13 | -247/+276 | |
| | ||||||
* | gh-105481: do not auto-generate pycore_intrinsics.h (#106913) | Irit Katriel | 2023-07-20 | 11 | -91/+174 | |
| | ||||||
* | GH-104584: Miscellaneous fixes for -Xuops (GH-106908) | Brandt Bucher | 2023-07-20 | 10 | -18/+67 | |
| | ||||||
* | Fix typo in 3.11.4 changelog: urllib.request.Requst -> Request (#106830) | Zach Brantmeier | 2023-07-20 | 1 | -1/+1 | |
| | ||||||
* | gh-106078: Prepare to isolate decimal module (#106880) | Charlie Zhao | 2023-07-20 | 2 | -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 Katriel | 2023-07-20 | 3 | -24/+34 | |
| | | | Co-authored-by: Kumar Aditya <kumaraditya@python.org> | |||||
* | gh-106751: Optimize _PolllikeSelector for many iteration case (gh-106884) | Pieter Eendebak | 2023-07-20 | 2 | -17/+10 | |
| | ||||||
* | gh-106882: Note that `asyncio.Server` is only publicly exposed on 3.11+ ↵ | Jack Nelson | 2023-07-19 | 1 | -0/+3 | |
| | | | | | (#106901) And later versions of 3.10, 3.9 | |||||
* | GH-100502: Add `pathlib.PurePath.pathmod` attribute (GH-106533) | Barney Gale | 2023-07-19 | 4 | -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 Stinner | 2023-07-19 | 1 | -1/+1 | |
| | ||||||
* | gh-104090: Fix unittest collectedDurations resources leak (#106795) | Yonatan Bitton | 2023-07-19 | 2 | -1/+3 | |
| | ||||||
* | gh-106751: Optimize SelectSelector.select() for many iteration case (gh-106879) | Dong-hee Na | 2023-07-19 | 2 | -10/+10 | |
| | ||||||
* | gh-106751: Optimize KqueueSelector.select() for many iteration case (gh-106864) | Dong-hee Na | 2023-07-19 | 2 | -8/+8 | |
| | ||||||
* | gh-106727: Make `inspect.getsource` smarter for class for same name ↵ | Tian Gao | 2023-07-18 | 4 | -12/+71 | |
| | | | | definitions (#106815) | |||||
* | Docs: Argument Clinic: Group guides about default values (#106872) | Erlend E. Aasland | 2023-07-18 | 1 | -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 Storchaka | 2023-07-18 | 14 | -116/+26 | |
| | ||||||
* | gh-105481: Generate the opcode lists in dis from data extracted from ↵ | Irit Katriel | 2023-07-18 | 16 | -159/+403 | |
| | | | | bytecodes.c (#106758) | |||||
* | gh-106535: Document soft deprecations in What's New In Python 3.13 (#106859) | Victor Stinner | 2023-07-18 | 1 | -0/+12 | |
| | ||||||
* | gh-106751: selectors: optimize EpollSelector.select() (#106754) | J. Nick Koston | 2023-07-18 | 2 | -8/+10 | |
| | | | Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com> | |||||
* | Docs: Normalise Argument Clinic advanced topics headings (#106842) | Erlend E. Aasland | 2023-07-18 | 1 | -49/+46 | |
| | | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> |