GeezerVison is showing github.com — backport a9a74da 3.13 by JelleZijlstra · Pull Request #119642 · python/cpython
Conversation
JelleZijlstra
commented
May 28, 2024
•
edited by github-actions
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
- Post 3.13.0b1
- [3.13] Run CI on the 3.13 branch (Run CI on the 3.13 branch #118779) ([3.13] Run CI on the 3.13 branch (GH-118779) #118781)
- [3.13] Docs: fix typos in documentation (Docs: fix typos in documentation #118752) ([3.13] Docs: fix typos in documentation (GH-118752) #118787)
- [3.13] Relax TypeVar default ordering constraints #118772: Allow TypeVars without a default to follow those with a default when constructing aliases (gh-118772: Allow TypeVars without a default to follow those with a default when constructing aliases #118774) ([3.13] gh-118772: Allow TypeVars without a default to follow those with a default when constructing aliases (GH-118774) #118776)
- [3.13] docs: module page titles should not start with a link to themselves (docs: module page titles should not start with a link to themselves #117099) ([3.13] docs: module page titles should not start with a link to themselves (GH-117099) #118790)
- [3.13] Format None, True, False and NotImplemented as literals (Format None, True, False and NotImplemented as literals #118758) ([3.13] Format None, True, False and NotImplemented as literals (GH-118758) #118792)
- [3.13] Make TSAN tests pass with the GIL disabled in free-threaded builds #117657: Fix data races when writing / reading
ob_gc_bits (gh-117657: Fix data races when writing / reading ob_gc_bits #118292) ([3.13] gh-117657: Fix data races when writing / reading ob_gc_bits (GH-118292) #118796)
- [3.13] [tests]: Mark
test_statistics.test_kde_random with a requires_resource('cpu') decorator ([tests]: Mark test_statistics.test_kde_random with a requires_resource('cpu') decorator #118801) ([3.13] [tests]: Mark test_statistics.test_kde_random with a requires_resource('cpu') decorator (GH-118801) #118818)
- [3.13]
dataclasses: 3.12.3 regression with weakref_slot #118033: Fix __weakref__ not set for generic dataclasses (gh-118033: Fix __weakref__ not set for generic dataclasses #118099) ([3.13] gh-118033: Fix __weakref__ not set for generic dataclasses (GH-118099) #118821)
- [CVE-2024-4030] Enable
mkdir(mode=0o700) to work on Windows #118486: Update docs for CVE-2024-4030 reference (gh-118486: Update docs for CVE-2024-4030 reference #118737)
- [3.13]
trace: line tracing output lacks newlines if source lines are not available #103956: Fix trace output in case of missing source line (gh-103956: fix trace output in case of missing source line #103958) ([3.13] gh-103956: Fix trace output in case of missing source line (GH-103958) #118834)
test_os fails on Windows #118802: Fix ACL use in test for non-English Windows (gh-118802: Fix ACL use in test for non-English Windows #118831)
- [3.13]
asyncio REPL is not working on Windows #118817: Fix asyncio REPL on Windows (gh-118817: Fix asyncio REPL on Windows #118819) ([3.13] gh-118817: Fix asyncio REPL on Windows (GH-118819) #118847)
- [3.13] Make TSAN tests pass with the GIL disabled in free-threaded builds #117657: Acquire a critical section around
SemLock.__{enter,exit}__ (gh-117657: Acquire a critical section around SemLock.__{enter,exit}__ #118812) ([3.13] gh-117657: Acquire a critical section around SemLock.__{enter,exit}__ (GH-118812) #118856)
- tempfile.mkdtemp and pip fail on non-English Windows with 3.13.0b1 #118773: Use language-invariant SDDL string instead of aliases for ACLs. (gh-118773: Use language-invariant SDDL string instead of aliases for ACLs. #118800)
- [3.13] code will never be executed warning in
dictobject.c #118849: Fix "code will never be executed" warning in dictobject.c (gh-118849: Fix "code will never be executed" warning in dictobject.c #118850) ([3.13] gh-118849: Fix "code will never be executed" warning in dictobject.c (GH-118850) #118859)
- [3.13]
test_free_threading.test_racing_iter_extend crash #118561: Fix crash involving list.extend in free-threaded build (gh-118561: Fix crash involving list.extend in free-threaded build #118723) ([3.13] gh-118561: Fix crash involving list.extend in free-threaded build (GH-118723) #118863)
- [3.13] Mimalloc header is not installed #116984: Make mimalloc header includes relative to the current file (gh-116984: Make mimalloc header includes relative to the current file #118808) ([3.13] gh-116984: Make mimalloc header includes relative to the current file (GH-118808) #118866)
- [3.13] Freethreading build fails -m test --pgo: test_ordered_dict and test_struct failed #118846: Fix PGO tests in free-threaded build (gh-118846: Fix PGO tests in free-threaded build #118862) ([3.13] gh-118846: Fix PGO tests in free-threaded build (GH-118862) #118867)
- [3.13] Make TSAN tests pass with the GIL disabled in free-threaded builds #117657: Replace TSAN suppresions with more specific rules (gh-117657: Replace TSAN suppresions with more specific rules #118722) ([3.13] gh-117657: Replace TSAN suppresions with more specific rules (GH-118722) #118870)
- [3.13] Default expr_context parameters in ast to Load() #118851: Default ctx arguments to AST constructors to Load() (gh-118851: Default ctx arguments to AST constructors to Load() #118854) ([3.13] gh-118851: Default ctx arguments to AST constructors to Load() (GH-118854) #118871)
- [3.13] Revert "Add variant of
Py_BEGIN_CRITICAL_SECTION that accepts a NULL argument #115432: Add critical section variant that handles a NULL object (gh-115432: Add critical section variant that handles a NULL object #115433)" (Revert "gh-115432: Add critical section variant that handles a NULL object (#115433)" #118861) ([3.13] Revert "gh-115432: Add critical section variant that handles a NULL object (GH-115433)" (GH-118861) #118872)
- Fix some missing null checks. (Fix some missing null checks. #118721)
- ePub error reported at [email protected] #118689: Doc: fix ePub build (gh-118689: fix ePub build #118690)
- mmap lacks error handling (SEH) on Windows which can lead to interpreter crashes #118209: Add Windows structured exception handling to mmap module (gh-118209: Add structured exception handling to mmap module #118213)
- [3.13] Rename
notimplemented_methods into nodefault_methods (Rename notimplemented_methods into nodefault_methods #118896) ([3.13] Rename notimplemented_methods into nodefault_methods (GH-118896) #118898)
- [3.13]
_PyWeakref_ClearRef and _PyWeakref_ClearWeakRefsExceptCallbacks should be exposed in 3.13 #118789: Restore hidden _PyWeakref_ClearRef (gh-118789: Restore hidden _PyWeakref_ClearRef #118797) ([3.13] gh-118789: Restore hidden _PyWeakref_ClearRef (GH-118797) #118903)
- [3.13] Make TSAN tests pass with the GIL disabled in free-threaded builds #117657: Fix data races reported by TSAN on
interp->threads.main (gh-117657: Fix data races reported by TSAN on interp->threads.main #118865) ([3.13] gh-117657: Fix data races reported by TSAN on interp->threads.main (GH-118865) #118904)
- [3.13] Correct the argument names for
secrets.choice and secrets.randbelow in secrets.rst (Correct the argument names for secrets.choice and secrets.randbelow in secrets.rst #118098) ([3.13] Correct the argument names for secrets.choice and secrets.randbelow in secrets.rst (GH-118098) #118906)
- [3.13] Make TSAN tests pass with the GIL disabled in free-threaded builds #117657: Fix QSBR race condition (gh-117657: Fix QSBR race condition #118843) ([3.13] gh-117657: Fix QSBR race condition (GH-118843) #118905)
- [3.13] Assigning attributes to
typing.NoDefault raises TypeError, but should raise AttributeError #118895: Call PyType_Ready() on typing.NoDefault (gh-118895: Call PyType_Ready() on typing.NoDefault #118897) ([3.13] gh-118895: Call PyType_Ready() on typing.NoDefault (GH-118897) #118914)
- [3.13] Rename typing._collect_parameters (Rename typing._collect_parameters #118900) ([3.13] Rename typing._collect_parameters (GH-118900) #118917)
- [3.13] Freethreading build fails -m test --pgo: test_ordered_dict and test_struct failed #118846: Fix free-threading test failures when run sequentially (gh-118846: Fix free-threading test failures when run sequentially #118864) ([3.13] gh-118846: Fix free-threading test failures when run sequentially (GH-118864) #118927)
- [3.13] Make TSAN tests pass with the GIL disabled in free-threaded builds #117657: Log TSAN warnings to separate files and archive them (gh-117657: Log TSAN warnings to separate files and archive them #118747) ([3.13] gh-117657: Log TSAN warnings to separate files and archive them (GH-118747) #118931)
- [3.13] Make
frame.f_locals.copy() return a snapshot dict of f_locals #118921: Add copy() method for FrameLocalsProxy (gh-118921: Add copy() method for FrameLocalsProxy #118923) ([3.13] gh-118921: Add copy() method for FrameLocalsProxy (GH-118923) #118933)
- [3.13]
test_strptime raises a DeprecationWarning #117655: Prevent test_strptime from raising a DeprecationWarning (gh-117655: Fix test_strptime raises a DeprecationWarning #117668) ([3.13] gh-117655: Prevent test_strptime from raising a DeprecationWarning (GH-117668) #118956)
- [3.13]
NotImplemented is never tested with attribute assignment #118899: Add tests for NotImplemented attribute access (gh-118899: Add tests for NotImplemented attribute access #118902) ([3.13] gh-118899: Add tests for NotImplemented attribute access (GH-118902) #118968)
- [3.13] --disable-gil & --enable-experimental-jit fails to build on M1 Mac #118844: Fix build failures when combining --disable-gil with --enable-experimental-jit ([3.13] GH-118844: Fix build failures when combining --disable-gil with --enable-experimental-jit (GH-118935) #118959)
- **[3.13] Incorrect behavior of inspect.signature(f).bind #87106: Fix inspect.signature.bind() handling of positional-only arguments with kwargs (gh-87106: Fix
inspect.signature.bind handling of positional-only arguments with **kwargs #103404) ([3.13] gh-87106: Fix inspect.signature.bind() handling of positional-only arguments with **kwargs (GH-103404) #118985)
- [3.13] Improve the
rmtree doc for dir_fd param addition in 3.11 (Improve the rmtree doc for dir_fd param addition in 3.11 #118964) ([3.13] Improve the rmtree doc for dir_fd param addition in 3.11 (GH-118964) #118991)
- "AttributeError: 'NoneType' object has no attribute 'is_absolute' " occurs when building 3.13.0 beta 1 from source on Windows #118876: Ensure PC/layout sets ns.temp before using it (gh-118876: Set ns.temp before invoking its is_absolute method #118880)
- [3.13] trace function not set, causing some Pdb commands to fail #58933: Make pdb return to caller frame correctly when f_trace is not set (gh-58933: Make pdb return to caller frame correctly when f_trace is not set #118979) ([3.13] gh-58933: Make pdb return to caller frame correctly when f_trace is not set (GH-118979) #119007)
- [3.13] Missing
__type_params__ in the documentation of functools.update_wrapper. #119010: Adds docs about __type_params__ to functools.update_wrapper (gh-119010: Adds docs about __type_params__ to functools.update_wrapper #119012) ([3.13] gh-119010: Adds docs about __type_params__ to functools.update_wrapper (GH-119012) #119013)
- [3.13] Handle errors correctly in
tmtotuple in timemodule #118998: Handle errors correctly in tmtotuple in timemodule (gh-118998: Handle errors correctly in tmtotuple in timemodule #118999) ([3.13] gh-118998: Handle errors correctly in tmtotuple in timemodule (GH-118999) #119018)
- [3.13]
--enable-experimental-jit fails to build: AssertionError: SHT_NOTE in 3.13.0b1 #118836: Fix JIT build error when SHT_NOTE section is present ([3.13] GH-118836: Fix JIT build error when SHT_NOTE section is present (GH-119000) #119020)
- [3.13] [CVE-2015-2104] Urlparse insufficient validation leads to open redirect #67693: Fix urlunparse() and urlunsplit() for URIs with path starting with multiple slashes and no authority (gh-67693: Fix urlunparse() and urlunsplit() for URIs with path starting with multiple slashes and no authority #113563) ([3.13] gh-67693: Fix urlunparse() and urlunsplit() for URIs with path starting with multiple slashes and no authority (GH-113563) #119023)
- [3.13] Add yet few cases for urlparse/urlunparse roundtrip tests (Add yet few cases for urlparse/urlunparse roundtrip tests #119031) ([3.13] Add yet few cases for urlparse/urlunparse roundtrip tests (GH-119031) #119037)
- [3.13] typing tests: remove some unnecessary uses of
exec() (typing tests: remove some unnecessary uses of exec() #119005) ([3.13] typing tests: remove some unnecessary uses of exec() (GH-119005) #119038)
- [3.13] Itertools docs: fix parameter names and indentation in Python equivalents (Itertools docs: fix parameter names and indentation in Python equivalents #118977) ([3.13] Itertools docs: fix parameter names and indentation in Python equivalents (gh-118977) #119043)
- [3.13] Misc improvements to the itertools docs (Misc improvements to the itertools docs #119040) ([3.13] Misc improvements to the itertools docs (gh-119040) #119045)
- [3.13] 3.13 What's New: Add PEP 702 (3.13 What's New: Add PEP 702 #118922) ([3.13] 3.13 What's New: Add PEP 702 (GH-118922) #119062)
- [CVE-2024-4030] Enable
mkdir(mode=0o700) to work on Windows #118486: Simplify test_win32_mkdir_700 to check the exact ACL (gh-118486: Simplify test_win32_mkdir_700 to check the exact ACL #119056)
- [3.13] Remove references to private symbols from zipimport module docstring ([3.13] Remove references to private symbols from zipimport module docstring (GH-119015) #119071)
- [3.13] Tkinter getint(), getboolean() argument must be str, not tuple #118760: Fix errors in calling Tkinter bindings on Windows (gh-118760: Fix errors in calling Tkinter bindings on Windows #118782) ([3.13] gh-118760: Fix errors in calling Tkinter bindings on Windows (GH-118782) #119072)
- [3.13] Add gettext target to documentation's Makefile #119009: Add gettext target (gh-119009: Add gettext target #119006) ([3.13] gh-119009: Add gettext target (GH-119006) #119074)
- [3.13] Use literal syntax in origin property (Use literal syntax in origin property #119029) ([3.13] Use literal syntax in origin property (GH-119029) #119083)
- [3.13] Test with the path protocol, not with pathlib.Path #119064: Use os_helper.FakePath instead of pathlib.Path in tests (gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests #119065) ([3.13] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) #119087)
- [3.13] Add Tkinter tests for different events (Add Tkinter tests for different events. #118778) ([3.13] Add Tkinter tests for different events (GH-118778) #119091)
- [3.13] Minor mistake in dataclasses documentation update #108267: Fix object.setattr regression in dataclasses docs (gh-108267: Fix object.__setattr__ regression in dataclasses docs #119082) ([3.13] gh-108267: Fix object.__setattr__ regression in dataclasses docs (GH-119082) #119097)
- [3.13] Explain how to install LLVM on Fedora ([3.13] Explain how to install LLVM on Fedora (GH-118983) #119100)
- [3.13]
jit.c may be built with an incomplete jit_stencils.h #118943: Fix a race condition when generating jit_stencils.h ([3.13] GH-118943: Fix a race condition when generating jit_stencils.h (GH-118957) #119101)
- [3.13] Fix typos in documentation (Fix typos in documentation #119092) ([3.13] Fix typos in documentation (GH-119092) #119116)
- [3.13] Defer
import warnings in pathlib #119049: Fix incorrect display of warning which is constructed by C API (gh-119049: Fix incorrect usage of GET_WARNINGS_ATTR #119063) ([3.13] gh-119049: Fix incorrect display of warning which is constructed by C API (GH-119063) #119106)
- [3.13] Minor improvements to the docs for itertools.tee() (Minor improvements to the docs for itertools.tee() #119135) ([3.13] Minor improvements to the docs for itertools.tee() (gh-119135) #119136)
- [3.13] venv tutorial wrong/confusing about python version used #119078: Clarify venv tutorial (gh-119078: Clarify venv tutorial #119129) ([3.13] gh-119078: Clarify venv tutorial (GH-119129) #119142)
- [3.13] Python -VV should display whether the build is default build or free-threading. #119132: Log sys._is_gil_enabled() in test.pythoninfo (gh-119132: Log sys._is_gil_disabled() in test.pythoninfo #119140) ([3.13] gh-119132: Log sys._is_gil_enabled() in test.pythoninfo (GH-119140) #119143)
- [3.13] docs: make mimalloc license text literal (docs: make mimalloc license text literal #119046) ([3.13] docs: make mimalloc license text literal (GH-119046) #119149)
- [3.13] Python -VV should display whether the build is default build or free-threading. #119132: Update sys.version to identify free-threaded or not. (gh-119132: Update sys.version to identify free-threaded or not. #119134) ([3.13] gh-119132: Update sys.version to identify free-threaded or not. (gh-119134) #119153)
- [3.13] Add the
--duration option to the test suite #119050: Add type hints to libregrtest/results.py (gh-119050: Add type hints to libregrtest/results.py #119144) ([3.13] gh-119050: Add type hints to libregrtest/results.py (GH-119144) #119156)
- [3.13]
posixpath.realpath('secretlink') raises #118447: Fix handling of unreadable symlinks in os.path.realpath() (GH-118447: Fix handling of unreadable symlinks in os.path.realpath() #118489) ([3.13] GH-118447: Fix handling of unreadable symlinks in os.path.realpath() (GH-118489) #119163)
- [3.13] marshal docs: Remove reference to "Sun" (marshal docs: Remove reference to "Sun" #119161) ([3.13] marshal docs: Remove reference to "Sun" (GH-119161) #119167)
- [3.13]
posixpath.realpath('secretlink') raises #118447: Fix FreeBSD test failures. (GH-118447: Fix FreeBSD test failures. #119170) ([3.13] GH-118447: Fix FreeBSD test failures. (GH-119170) #119181)
- [3.13] pathlib.Path.with_suffix(None) became allowed in Python 3.13b1 #119113: Raise
TypeError from pathlib.PurePath.with_suffix(None) (GH-119113: Raise TypeError from pathlib.PurePath.with_suffix(None) #119124) ([3.13] GH-119113: Raise TypeError from pathlib.PurePath.with_suffix(None) (GH-119124) #119183)
- [3.13] IDLE: fix url in config.py comment (IDLE: fix url in config.py comment #119198) ([3.13] IDLE: fix url in config.py comment (GH-119198) #119199)
- [3.13]
asyncio.staggered is missing typing import #119121: Fix and test async.staggered.staggered_race (gh-119121: Fix and test async.staggered.staggered_race #119173) ([3.13] gh-119121: Fix and test async.staggered.staggered_race (GH-119173) #119206)
- [3.13] typing docs: Fix formatting issue (typing docs: Fix formatting issue #119210) ([3.13] typing docs: Fix formatting issue (GH-119210) #119212)
- [3.13] ipython breaks on Python-3.13.0b1 when a 'tempfilepager' is not defined #119185: Fix typo in
_pyrepl.pager: tempfilepager should be tempfile_pager (gh-119185: Fix typo in _pyrepl.pager: tempfilepager should be tempfile_pager #118881) ([3.13] gh-119185: Fix typo in _pyrepl.pager: tempfilepager should be tempfile_pager (GH-118881) #119211)
- [3.13] [docs] TypeVarTuple default is keyword-only ([docs] TypeVarTuple default is keyword-only #119215) ([3.13] [docs] TypeVarTuple default is keyword-only (GH-119215) #119224)
- [3.13] Unvendor
libmpdec sources #115119: Fall back to bundled libmpdec if system libmpdec is not found (gh-115119: Fall back to bundled libmpdec if system libmpdec is not found #119196) ([3.13] gh-115119: Fall back to bundled libmpdec if system libmpdec is not found (GH-119196) #119217)
- [3.13] Update
paths in jit.yml #119146: Don't run JIT CI on unrelated changes ([3.13] GH-119146: Don't run JIT CI on unrelated changes (GH-119147) #119226)
- [3.13] DOCS: Suggest always calling exec with a globals argument and no locals argument (DOCS: Suggest always calling exec with a globals argument and no locals argument #119235) ([3.13] DOCS: Suggest always calling exec with a globals argument and no locals argument (GH-119235) #119239)
- [3.13] Add Software Bill-of-Materials for Windows source dependencies #112844: Update CPE references for external dependencies (gh-112844: Update CPE references for external dependencies #118521) ([3.13] gh-112844: Update CPE references for external dependencies (GH-118521) #119237)
- [3.13] BytesGenerator breaks UTF8 string #92081: Fix for email.generator.Generator with whitespace between encoded words. (gh-92081: Fix for email.generator.Generator with whitespace between encoded words. #92281) ([3.13] gh-92081: Fix for email.generator.Generator with whitespace between encoded words. (GH-92281) #119245)
- [3.13] Use correct markup in unittest.mock.reset_mock documentation (Added reference for return_value in unittest.mock documentation #119207) ([3.13] Use correct markup in unittest.mock.reset_mock documentation (GH-119207) #119250)
- [3.13] Tkinter getint(), getboolean() argument must be str, not tuple #118760: Restore the default value of tkinter.wantobjects to 1 (gh-118760: Restore the default value of tkinter.wantobjects to 1 #118784) ([3.13] gh-118760: Restore the default value of tkinter.wantobjects to 1 (GH-118784) #119251)
- [3.13] Fraction wrongfully gets casted into float when given as argument to __rpow__ #119189: Add more tests for mixed Fraction arithmetic (gh-119189: Add more tests for mixed Fraction arithmetic #119236) ([3.13] gh-119189: Add more tests for mixed Fraction arithmetic (GH-119236) #119255)
- [3.13] Import
_ios_support raises RuntimeError on Windows #119253: use ImportError in _ios_support (gh-119253: use ImportError in _ios_support #119254) ([3.13] gh-119253: use ImportError in _ios_support (GH-119254) #119265)
- [3.13] Add the
--duration option to the test suite #119050: Add XML support to libregrtest refleak checker (gh-119050: Add XML support to libregrtest refleak checker #119148) ([3.13] gh-119050: Add XML support to libregrtest refleak checker (GH-119148) #119270)
- [3.13] Minor mistake in dataclasses documentation update #108267 Fix another dataclasses docs typo (gh-108267 Fix another dataclasses docs typo #119277) ([3.13] gh-108267 Fix another dataclasses docs typo (GH-119277) #119279)
- [3.13] Inappropriateness in unittest documentation with actual behavior #118912: Remove description of issue fixed in 3.5 from autospeccing guide (gh-118912: Remove description of issue fixed in 3.5 from autospeccing guide #119232) ([3.13] gh-118912: Remove description of issue fixed in 3.5 from autospeccing guide (GH-119232) #119284)
- [3.13] [Windows] High DPI causes tkinter turtledemo windows blurry #119174: Fix high DPI causes turtledemo(turtle-graphics examples) windows blurry (gh-119174: Fix high DPI causes turtledemo(turtle-graphics examples) windows blurry #119175) ([3.13] gh-119174: Fix high DPI causes turtledemo(turtle-graphics examples) windows blurry (GH-119175) #119289)
- [3.13] Local variable assignment is broken when combined with threads + tracing + closures #74929: PEP 667 general docs update ([3.13] gh-74929: PEP 667 general docs update (gh-119201) #119291)
- [3.13] Use
fail-fast: false in mypy.yml (Use fail-fast: false in mypy.yml #119297) ([3.13] Use fail-fast: false in mypy.yml (GH-119297) #119304)
- [3.13] New pyrepl gives a traceback on exit with "dumb" terminal #119102: Fix REPL for dumb terminal (gh-119102: Fix REPL for dumb terminal #119269) ([3.13] gh-119102: Fix REPL for dumb terminal (GH-119269) #119308)
- [3.13] Docs: Ensure no warnings are found in the NEWS file before a given line number (Docs: Ensure no warnings are found in the NEWS file before a given line number #119221) ([3.13] Docs: Ensure no warnings are found in the NEWS file before a given line number (GH-119221) #119261)
- [3.13] Implement the fast path for
list.__getitem__ #119053: Implement the fast path for list.getitem (gh-119053: Implement the fast path for list.__getitem__ #119112) ([3.13] gh-119053: Implement the fast path for list.__getitem__ (gh-119112) #119309)
- [3.13] Add job to
jit.yml to build and test with --disable-gil #119292: Add job to JIT CI to build and test with --disable-gil ([3.13] GH-119292: Add job to JIT CI to build and test with --disable-gil (GH-119293) #119314)
- [3.13] Issues from [email protected] #110383: Improve Tutorial for Input Ouput (GH-110383: Improve Tutorial for Input Ouput #119230) ([3.13] GH-110383: Improve Tutorial for Input Ouput (GH-119230) #119326)
- [3.13] Issues from [email protected] #110383: Document
socket.makefile() accepts combined modes (gh-110383: Document socket.makefile() accepts combined modes #119150) ([3.13] gh-110383: Document socket.makefile() accepts combined modes (GH-119150) #119324)
- [3.13] Python 3.13.0b1 REPL does not travel words when pressing Ctrl+← or Ctrl+→ #119035: Add Ctrl+← and Ctrl+→ word-skipping keybindings to new repl (gh-119035: Add Ctrl+← and Ctrl+→ word-skipping keybindings to new repl #119248) ([3.13] gh-119035: Add Ctrl+← and Ctrl+→ word-skipping keybindings to new repl (GH-119248) #119323)
- [3.13] Fix typos in documentation (Fix typos in documentation #119295) ([3.13] Fix typos in documentation (GH-119295) #119337)
- [3.13] Docs: Add central references to free-threading-related options (Docs: Add central references to free-threading-related options #119017) ([3.13] Docs: Add central references to free-threading-related options (GH-119017) #119367)
- [3.13] New pyrepl gives a traceback on exit with "dumb" terminal #119102: Fix REPL for dumb terminal (gh-119102: Fix REPL for dumb terminal #119332) ([3.13] gh-119102: Fix REPL for dumb terminal (GH-119332) #119359)
- Refactor
nt._path_is* & nt._path_[l]exists #118507 : Refactor nt._path_is* to improve applicability for other cases (gh-118507 : Refactor nt._path_is* #118755)
- [3.13]
AssertionError occurs using 3.130b1 interactive mode when pressed tab and up arrow #118877: Fix AssertionError crash in pyrepl (gh-118877: Fix AssertionError crash in pyrepl #118936) ([3.13] gh-118877: Fix AssertionError crash in pyrepl (GH-118936) #119363)
- [3.13] Issues from [email protected] #110383: Align dict.get(), .fromkeys(), and .setdefault() docs with docstrings (gh-110383: Update dict
get, fromkeys, and setdefault signatures in docs #119330) ([3.13] gh-110383: Align dict.get(), .fromkeys(), and .setdefault() docs with docstrings (GH-119330) #119370)
- [3.13] DOCS: fix error in exec namespace note ([3.13] DOCS: fix error in exec namespace note (gh-119378) #119380)
- [3.13] Clarify that dklen is expected in bytes for the hashlib functions (Added documentation describing the dklen is expected in bytes for the… #106624) ([3.13] Clarify that dklen is expected in bytes for the hashlib functions (GH-106624) #119383)
- [3.13] Fraction wrongfully gets casted into float when given as argument to __rpow__ #119189: Add yet more tests for mixed Fraction arithmetic (gh-119189: Add yet more tests for mixed Fraction arithmetic #119298) ([3.13] gh-119189: Add yet more tests for mixed Fraction arithmetic (GH-119298) #119346)
- [3.13] Fix typos in NEWS entries for 3.13 (Fix typos in what's new documentation #119374) ([3.13] Fix typos in NEWS entries for 3.13 (GH-119374) #119385)
- [3.13] Fix version number in use_load_tests deprecation reference (Fix version number in use_load_tests deprecation reference #119151) ([3.13] Fix version number in use_load_tests deprecation reference (GH-119151) #119386)
- [3.13] Error parsing email headers: AttributeError: 'ValueTerminal' object has no attribute 'fold' #118643: Fix AttributeError in the email module (gh-118643: Fix AttributeError in the email module #119099) ([3.13] gh-118643: Fix AttributeError in the email module (GH-119099) #119389)
- [3.13] Break up _pyrepl tests #119306: Break up _pyrepl tests (gh-119306: Break up _pyrepl tests #119307) ([3.13] gh-119306: Break up _pyrepl tests (GH-119307) #119362)
- [3.13] A new Python REPL #111201: Remove readline dependency from the PyREPL (gh-111201: Remove readline dependency from the PyREPL #119262) ([3.13] gh-111201: Remove readline dependency from the PyREPL (GH-119262) #119403)
- [3.13] A new Python REPL #111201: Add append to screen method to avoid recalculation (gh-111201: Add append to screen method to avoid recalculation #119274) ([3.13] gh-111201: Add append to screen method to avoid recalculation (GH-119274) #119405)
- [3.13] Warning on autocomplete messes up the terminal #119205: Fix autocompletion bug in new repl (gh-119205: Fix autocompletion bug in new repl #119229) ([3.13] gh-119205: Fix autocompletion bug in new repl (GH-119229) #119407)
- [3.13] "Paste mode" in the new REPL does not display the result of evaluated expressions #118893: Evaluate all statements in the new REPL separately (gh-118893: Evaluate all statements in the new REPL separately #119318) ([3.13] gh-118893: Evaluate all statements in the new REPL separately (GH-119318) #119408)
- [3.13] getargs.c is Breaking Interpeter Isolation #119213: Be More Careful About _PyArg_Parser.kwtuple Across Interpreters (gh-119213: Be More Careful About _PyArg_Parser.kwtuple Across Interpreters #119331) ([3.13] gh-119213: Be More Careful About _PyArg_Parser.kwtuple Across Interpreters (gh-119331) #119410)
- [3.13] Improve
pyrepl type-annotation coverage (Improve pyrepl type-annotation coverage #119081) ([3.13] Improve pyrepl type-annotation coverage (GH-119081) #119415)
- [3.13] PySequence_Fast needs new macros to be safe in a nogil world #119247: Add macros to use PySequence_Fast safely in free-threaded build (gh-119247: Add macros to use PySequence_Fast safely in free-threaded build #119315) ([3.13] gh-119247: Add macros to use PySequence_Fast safely in free-threaded build (GH-119315) #119419)
- [3.13] Provide a variant of
PyDict_SetDefault that returns a new reference (instead of a borrowed reference) #112066: Fix versionadded in PyDict_SetDefaultRef docs (gh-112066: Fix versionadded in PyDict_SetDefaultRef docs #118696) ([3.13] gh-112066: Fix versionadded in PyDict_SetDefaultRef docs (GH-118696) #119430)
- [BUG] Newest 3.12 install on windows misses pip #117505: Run ensurepip in isolated env in Windows installer (gh-117505: Run ensurepip in isolated env in Windows installer #118257)
- [3.13] Increase coverage of test_pyrepl #119357: Increase test coverage for keymap in _pyrepl (gh-119357: Increase test coverage for keymap in _pyrepl #119358) ([3.13] gh-119357: Increase test coverage for keymap in _pyrepl (GH-119358) #119414)
- [3.13] Deprecation warning during text completion in REPL #113978: Ignore warnings on text completion inside REPL (gh-113978: Ignore warnings on text completion inside REPL #113979) ([3.13] gh-113978: Ignore warnings on text completion inside REPL (GH-113979) #119429)
- [3.13] Enable some stricter mypy settings on
Lib/_pyrepl (Enable some stricter mypy settings on Lib/_pyrepl #119077) ([3.13] Enable some stricter mypy settings on Lib/_pyrepl (GH-119077) #119428)
- [3.13] A new Python REPL #111201: auto-indentation in _pyrepl (gh-111201: auto-indentation in _pyrepl #119348) ([3.13] gh-111201: auto-indentation in _pyrepl (GH-119348) #119427)
- [3.13] RLock undocumented behavior in case of multiple acquire #70795: Rework RLock documentation (gh-70795: Rework RLock documentation #103853) ([3.13] gh-70795: Rework RLock documentation (GH-103853) #119436)
- [3.13] Make TSAN tests pass with the GIL disabled in free-threaded builds #117657: Fix missing atomic in dict_resize (gh-117657: Fix missing atomic in dict_resize #119312) ([3.13] gh-117657: Fix missing atomic in dict_resize (GH-119312) #119417)
- [3.13] REPL takes extra key presses on long inputs that wrap around lines #119434: Fix culmitive errors in wrapping as lines proceed (gh-119434: Fix culmitive errors in wrapping as lines proceed #119435) ([3.13] gh-119434: Fix culmitive errors in wrapping as lines proceed (GH-119435) #119441)
- [3.13] Editing the last line in a block in the new REPL is buggy #118911: Trailing whitespace in a block shouldn't prevent the user from terminating the code block (gh-118911: Trailing whitespace in a block shouldn't prevent the user from terminating the code block #119355) ([3.13] gh-118911: Trailing whitespace in a block shouldn't prevent the user from terminating the code block (GH-119355) #119404)
- [3.13] A new Python REPL #111201: Speed up paste mode in the REPL (gh-111201: Speed up paste mode in the REPL #119341) (gh-111201: Use calc_complete_screen after bracketed paste in PyREPL #119432) ([3.13] gh-111201: Use calc_complete_screen after bracketed paste in PyREPL (GH-119432) #119439)
- [3.13] RFE: @dataclasses.dataclass(slots=True) doesn't support methods using zero-arg super() #90562: Mention slots pitfall in dataclass docs (gh-90562: Mention slots pitfall in dataclass docs #107391) ([3.13] gh-90562: Mention slots pitfall in dataclass docs (GH-107391) #119350)
- [3.13] Fix typos in what's new documentation (Fix typos in what's new documentation #119448) ([3.13] Fix typos in what's new documentation (GH-119448) #119449)
- [3.13] object.__sizeof__(1) have different output between 3.9.10 and 3.12.2 #117195: Avoid assertion error in
object.__sizeof__ (GH-117195: Avoid assertion error in object.__sizeof__ #117220) ([3.13] GH-117195: Avoid assertion error in object.__sizeof__ (GH-117220) #119456)
- [3.13] test_pyrepl leaks references #119469: Fix _pyrepl reference leaks (gh-119469: Fix _pyrepl reference leaks #119470) ([3.13] gh-119469: Fix _pyrepl reference leaks (GH-119470) #119471)
- [3.13] Crash in
PyThreadState_DeleteCurrent: drop_gil: GIL is not locked (free-threading) #118727: Don't drop the GIL in drop_gil() unless the current thread holds it (gh-118727: Don't drop the GIL in drop_gil() unless the current thread holds it #118745) ([3.13] gh-118727: Don't drop the GIL in drop_gil() unless the current thread holds it (GH-118745) #119474)
- [3.13] test_socket: testStream() fails on Fedora Rawhide #119461: Fix ThreadedVSOCKSocketStreamTest (gh-119461: Fix ThreadedVSOCKSocketStreamTest #119465) ([3.13] gh-119461: Fix ThreadedVSOCKSocketStreamTest (#119465) #119479)
- [3.13] JIT Compilation #113464: Run the JIT interpreter before any other JIT CI ([3.13] GH-113464: Run the JIT interpreter before any other JIT CI (GH-119466) #119490)
- [3.13] Avoid creating a StopIteration instance for monitoring #118692: Avoid creating unnecessary StopIteration instances for monitoring (gh-118692: Avoid creating unnecessary StopIteration instances for monitoring #119216) ([3.13] gh-118692: Avoid creating unnecessary StopIteration instances for monitoring (GH-119216) #119497)
- [3.13] Fix fcntl module to accept 'unsigned long' type commands for ioctl(2). #69214: Fix fcntl.ioctl() request type (gh-69214: Fix fcntl.ioctl() request type #119498) ([3.13] gh-69214: Fix fcntl.ioctl() request type (GH-119498) #119504)
- [3.13] Improve handling of UTF-16-LE encoded .pth files #119496: accept UTF-8 BOM in .pth files ([3.13] GH-119496: accept UTF-8 BOM in .pth files (GH-119503) #119508)
- Generalize
path_t for C level optimizations #118263: Add additional arguments to path_t (Argument Clinic type) in posixmodule (gh-118263: Generalize path_t for C level optimizations #118355)
- [3.13] Regen
Doc/requirements-oldest-sphinx.txt (Regen Doc/requirements-oldest-sphinx.txt #119520) ([3.13] Regen Doc/requirements-oldest-sphinx.txt (GH-119520) #119522)
- [3.13] Misc improvement to the docs for itertools (Misc improvement to the docs for itertools #119529) ([3.13] Misc improvement to the docs for itertools (gh-119529) #119531)
- [3.13] Add signatures for some builtins #111999: Fix the signature of str.format_map() (gh-111999: Fix the signature of str.format_map() #119540) ([3.13] gh-111999: Fix the signature of str.format_map() (GH-119540) #119543)
- [3.13] FAQ: Add reference to Python version numbering scheme (FAQ: Add reference to Python version numbering scheme #119225) ([3.13] FAQ: Add reference to Python version numbering scheme (GH-119225) #119544)
- [3.13] Elide uninformative traceback indicators in
return and simple assignment statements #99180: Make StackSummary.should_show_carets private (gh-99180: Make StackSummary.should_show_carets private #119554) ([3.13] gh-99180: Make StackSummary.should_show_carets private (GH-119554) #119556)
- [3.13] docs: fix a few typos identified by codespell (docs: fix a few typos identified by codespell #119516) ([3.13] docs: fix a few typos identified by codespell (GH-119516) #119570)
- [3.13] C-API for signalling monitoring events #111997: Fix argument count for LINE event and clarify type of argument counts. (gh-111997: Fix argument count for LINE event and clarify type of argument counts. #119179) ([3.13] gh-111997: Fix argument count for LINE event and clarify type of argument counts. (GH-119179) #119575)
- [3.13] Fix typos in HISTORY documentation (Fix typos in HISTORY documentation #119453) ([3.13] Fix typos in HISTORY documentation (GH-119453) #119597)
- [3.13] Py_buffer.format declaration inconsistent with the docs #119467: Fix Py_buffer.format type and correct documentation typo (gh-119467: Fix Py_buffer.format type and correct documentation typo #119475) ([3.13] gh-119467: Fix Py_buffer.format type and correct documentation typo (GH-119475) #119602)
- [3.13] Docs: Only install sphinx-autobuild for
make htmllive (Docs: Only install sphinx-autobuild for make htmllive #119607) ([3.13] Docs: Only install sphinx-autobuild for make htmllive (GH-119607) #119621)
- [3.13] Cannot define global variables in .pdbrc #119580: Improve version added section for convenience variable (gh-119580: Improve version added section for convenience variable #119583) ([3.13] gh-119580: Improve version added section for convenience variable (GH-119583) #119624)
- [3.13] Misc cleanups and wording improvements for the itertools docs (Misc cleanups and wording improvements for the itertools docs #119626) ([3.13] Misc cleanups and wording improvements for the itertools docs (gh-119626) #119629)
- [3.13] Docs: Move inline JavaScript to own file to reduce duplication (Docs: Move inline JavaScript to own file to reduce duplication #119541) ([3.13] Docs: Move inline JavaScript to own file to reduce duplication (GH-119541) #119630)
- [3.13] Invalid Assert in PyState_FindModule() #119560: Drop an Invalid Assert in PyState_FindModule() (gh-119560: Drop an Invalid Assert in PyState_FindModule() #119561) ([3.13] gh-119560: Drop an Invalid Assert in PyState_FindModule() (gh-119561) #119632)
- [3.13]
test_import crashes with a --forever option #119584: Fix test_import Failed Assertion (gh-119584: Fix test_import Failed Assertion #119623) ([3.13] gh-119584: Fix test_import Failed Assertion (gh-119623) #119633)
- [3.13] Isolate the _datetime extension module #117398: Add multiphase support to _datetime (gh-117398: Add multiphase support to _datetime #119373) ([3.13] gh-117398: Add multiphase support to _datetime (gh-119373) #119636)
- [3.13] Resolve deprecation warnings in Docs/tools #119317: findall instead of traverse for docutils nodes (gh-119317: findall instead of traverse for docutils nodes #119319) ([3.13] gh-119317: findall instead of traverse for docutils nodes (GH-119319) #119486)
- [3.13] Isolate the _datetime extension module #117398: Revert [3.13] gh-117398: Add multiphase support to _datetime (gh-119373) #119636, Add multiphase support to _datetime ([3.13] gh-117398: Revert gh-119636, Add multiphase support to _datetime #119639)
📚 Documentation preview 📚: https://cpython-previews--119642.org.readthedocs.build/
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…bits` (pythonGH-118292) (python#118796)
Use relaxed atomics when reading / writing to the field. There are still a
few places in the GC where we do not use atomics. Those should be safe as
the world is stopped.
(cherry picked from commit cb6f75a)
Co-authored-by: mpage <[email protected]>
…uires_resource('cpu')`` decorator (pythonGH-118801) (python#118818)
[tests]: Mark ``test_statistics.test_kde_random`` with a ``requires_resource('cpu')`` decorator (pythonGH-118801)
Mark test_kde_random with a requires_resource('cpu') decorator
(cherry picked from commit 027e6d8)
Co-authored-by: Kirill Podoprigora <[email protected]>
…ded build (pythonGH-118723) (python#118863)
The `list_preallocate_exact` function did not zero initialize array
contents. In the free-threaded build, this could expose uninitialized
memory to concurrent readers between the call to
`list_preallocate_exact` and the filling of the array contents with
items.
(cherry picked from commit 2402715)
Co-authored-by: Sam Gross <[email protected]>
… current file (pythonGH-118808) (python#118866)
Some embedders and extensions include parts of the internal API. The
pycore_mimalloc.h file is transitively include by a number of other
internal headers. This avoids include errors for code that was
already including those headers.
(cherry picked from commit 71cc065)
Co-authored-by: Sam Gross <[email protected]>
…H-118862) (python#118867)
Avoid immortalizing objects in tests that verify garbage collection of
classes or modules.
This fixes test_ordered_dict and test_struct.
(cherry picked from commit 1b1db2f)
Co-authored-by: Sam Gross <[email protected]>
…ules (pythonGH-118722) (python#118870)
Using `race:` filters out warnings if the function appears anywhere in
the stack trace. This can hide a lot of unrelated warnings, especially
for a function like `_PyEval_EvalFrameDefault`, which is somewhere on
the stack more often than not.
Change all free-threaded suppressions to `race_top:`, which only matches
the top frame, and add any new suppressions this exposes.
(cherry picked from commit 98ff3f6)
Co-authored-by: Brett Simmers <[email protected]>
…H-118797) (pythonGH-118903)
pythongh-118789: Restore hidden `_PyWeakref_ClearRef` (pythonGH-118797)
_PyWeakref_ClearRef was previously exposed in the public C-API, although
it begins with an underscore and is not documented. It's used by a few
C-API extensions. There is currently no alternative public API that can
replace its use.
_PyWeakref_ClearWeakRefsExceptCallbacks is the only thread-safe way to
use _PyWeakref_ClearRef in the free-threaded build. This exposes the C
symbol, but does not make the API public.
(cherry picked from commit db5af7d)
Co-authored-by: Sam Gross <[email protected]>
…andbelow` in `secrets.rst` (pythonGH-118098) (pythonGH-118906)
Correct the argument names for `secrets.choice` and `secrets.randbelow` in `secrets.rst` (pythonGH-118098)
Correct the argument names for `secrets.choice` and `secrets.randbelow` in `secrets.rst`.
(cherry picked from commit c444362)
Co-authored-by: Adam Dangoor <[email protected]>
…thon#118905)
`_Py_qsbr_unregister` is called when the PyThreadState is already
detached, so the access to `tstate->qsbr` isn't safe without locking the
shared mutex. Grab the `struct _qsbr_shared` from the interpreter
instead.
(cherry picked from commit 33d2019)
Co-authored-by: Alex Turner <[email protected]>
freakboy3742, carljm, AlexWaygood, hugovk, itamaro, Akuli, and Eclips4 reacted with laugh emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
hugovk
removed request for
a team,
1st1,
abalkin,
ambv,
asvetlov,
barneygale,
berkerpeksag,
brettcannon,
encukou,
ericsnowcurrently,
ericvsmith,
freakboy3742,
gpshead,
hugovk,
iritkatriel,
jaraco,
methane,
ncoghlan,
pfmoore,
tiran,
vsajip and
warsaw
May 28, 2024 05:30
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|