-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-121489: Export private _PyBytes_Join() again #122094
Commits on Jun 26, 2024
-
1
Configuration menu - View commit details
-
Copy full SHA for 9056597 - Browse repository at this point
Copy the full SHA 9056597View commit details -
pythongh-121040: Remove fallthrough warnings compiler option (pythong…
…h-121041) Remove fallthrough warnings
Configuration menu - View commit details
-
Copy full SHA for ef28f6d - Browse repository at this point
Copy the full SHA ef28f6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e45fd9 - Browse repository at this point
Copy the full SHA 9e45fd9View commit details -
pythongh-120642: Move private PyCode APIs to the internal C API (pyth…
…on#120643) * Move _Py_CODEUNIT and related functions to pycore_code.h. * Move _Py_BackoffCounter to pycore_backoff.h. * Move Include/cpython/optimizer.h content to pycore_optimizer.h. * Remove Include/cpython/optimizer.h. * Remove PyUnstable_Replace_Executor(). Rename functions: * PyUnstable_GetExecutor() => _Py_GetExecutor() * PyUnstable_GetOptimizer() => _Py_GetOptimizer() * PyUnstable_SetOptimizer() => _Py_SetTier2Optimizer() * PyUnstable_Optimizer_NewCounter() => _PyOptimizer_NewCounter() * PyUnstable_Optimizer_NewUOpOptimizer() => _PyOptimizer_NewUOpOptimizer()
Configuration menu - View commit details
-
Copy full SHA for 9e4a81f - Browse repository at this point
Copy the full SHA 9e4a81fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c878767 - Browse repository at this point
Copy the full SHA c878767View commit details -
pythongh-121008: Fix idlelib.run tests (python#121046)
When testing IDLE, don't create a Tk to avoid side effects such as installing a PyOS_InputHook hook.
Configuration menu - View commit details
-
Copy full SHA for 44eafd6 - Browse repository at this point
Copy the full SHA 44eafd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cd2dcb - Browse repository at this point
Copy the full SHA 9cd2dcbView commit details -
pythongh-120593: Fix const qualifier in _PyLong_CompactValue() (pytho…
…n#121053) Remove the const qualifier of the argument of functions: * _PyLong_IsCompact() * _PyLong_CompactValue() Py_TYPE() argument is not const. Fix the compiler warning: Include/cpython/longintrepr.h: In function ‘_PyLong_CompactValue’: Include/pyport.h:19:31: error: cast discards ‘const’ qualifier from pointer target type [-Werror=cast-qual] (...) Include/cpython/longintrepr.h:133:30: note: in expansion of macro ‘Py_TYPE’ assert(PyType_HasFeature(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS));
Configuration menu - View commit details
-
Copy full SHA for e51e880 - Browse repository at this point
Copy the full SHA e51e880View commit details -
Configuration menu - View commit details
-
Copy full SHA for d611c4c - Browse repository at this point
Copy the full SHA d611c4cView commit details -
pythongh-117139: Convert the evaluation stack to stack refs (python#1…
…18450) This PR sets up tagged pointers for CPython. The general idea is to create a separate struct _PyStackRef for everything on the evaluation stack to store the bits. This forces the C compiler to warn us if we try to cast things or pull things out of the struct directly. Only for free threading: We tag the low bit if something is deferred - that means we skip incref and decref operations on it. This behavior may change in the future if Mark's plans to defer all objects in the interpreter loop pans out. This implies a strict stack reference discipline is required. ALL incref and decref operations on stackrefs must use the stackref variants. It is unsafe to untag something then do normal incref/decref ops on it. The new incref and decref variants are called dup and close. They mimic a "handle" API operating on these stackrefs. Please read Include/internal/pycore_stackref.h for more information! --------- Co-authored-by: Mark Shannon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 22b0de2 - Browse repository at this point
Copy the full SHA 22b0de2View commit details -
pythongh-120937: Reference weakref from the
__del__
documentation (p……ython#120940) Co-authored-by: Hugo van Kemenade <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c13b29 - Browse repository at this point
Copy the full SHA 1c13b29View commit details -
pythongh-113433: Automatically Clean Up Subinterpreters in Py_Finaliz…
…e() (pythongh-121060) This change makes things a little less painful for some users. It also fixes a failing assert (pythongh-120765), by making sure all subinterpreters are destroyed before the main interpreter. As part of that, we make sure Py_Finalize() always runs with the main interpreter active.
Configuration menu - View commit details
-
Copy full SHA for 4be1f37 - Browse repository at this point
Copy the full SHA 4be1f37View commit details
Commits on Jun 27, 2024
-
pythongh-120868: Fix breaking change in
logging.config
when using `……QueueHandler` (pythonGH-120872)
Configuration menu - View commit details
-
Copy full SHA for 7d9c685 - Browse repository at this point
Copy the full SHA 7d9c685View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1167a9a - Browse repository at this point
Copy the full SHA 1167a9aView commit details -
pythongh-120888: Bump bundled pip to 24.1.1 (python#120889)
Co-authored-by: Pradyun Gedam <[email protected]> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Alyssa Coghlan <[email protected]> Co-authored-by: T. Wouters <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4999e0b - Browse repository at this point
Copy the full SHA 4999e0bView commit details -
pythongh-121040: Use __attribute__((fallthrough)) (python#121044)
Fix warnings when using -Wimplicit-fallthrough compiler flag. Annotate explicitly "fall through" switch cases with a new _Py_FALLTHROUGH macro which uses __attribute__((fallthrough)) if available. Replace "fall through" comments with _Py_FALLTHROUGH. Add _Py__has_attribute() macro. No longer define __has_attribute() macro if it's not defined. Move also _Py__has_builtin() at the top of pyport.h. Co-Authored-By: Nikita Sobolev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 12af8ec - Browse repository at this point
Copy the full SHA 12af8ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f7acaa - Browse repository at this point
Copy the full SHA 6f7acaaView commit details -
pythongh-120593: Check -Wcast-qual flag in test_cext (python#121081)
Check the usage of the 'const' qualifier in the Python C API in test_cext.
Configuration menu - View commit details
-
Copy full SHA for b7a95df - Browse repository at this point
Copy the full SHA b7a95dfView commit details -
pythongh-121082: Fix build failure when the developer use `--enable-p…
…ystats` arguments in configuration command after python#118450 (python#121083) Signed-off-by: Manjusaka <[email protected]> Co-authored-by: Ken Jin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 223c03a - Browse repository at this point
Copy the full SHA 223c03aView commit details -
Configuration menu - View commit details
-
Copy full SHA for db96edd - Browse repository at this point
Copy the full SHA db96eddView commit details -
pythongh-115986 Improve pprint docs formatting (pythonGH-117401)
* Move pprinter parameters description to the table The change improves readability. Suggested in the GH#116085 PR discussion. * Make pprint doc with params markup * Fix formatting Indentation of code blocks made them nested "Version changed" is better placed after the code block * Fix formatting for tests * fix code indentation for autotests * Fix identation for autotests * Remove duplication of the parameters' description * Rearrange parameters description in a correct order --------- Co-authored-by: Hugo van Kemenade <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0890ad7 - Browse repository at this point
Copy the full SHA 0890ad7View commit details -
pythongh-105623 Fix performance degradation in logging RotatingFileHa…
…ndler (pythonGH-105887) The check for whether the log file is a real file is expensive on NFS filesystems. This commit reorders the rollover condition checking to not do the file type check if the expected file size is less than the rotation threshold. Co-authored-by: Oleg Iarygin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e9b4ec6 - Browse repository at this point
Copy the full SHA e9b4ec6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a62a33 - Browse repository at this point
Copy the full SHA 4a62a33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 237baf4 - Browse repository at this point
Copy the full SHA 237baf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a2e7a7 - Browse repository at this point
Copy the full SHA 1a2e7a7View commit details
Commits on Jun 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 58a3580 - Browse repository at this point
Copy the full SHA 58a3580View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e63d84 - Browse repository at this point
Copy the full SHA 6e63d84View commit details -
pythongh-120804: remove
is_active
method from internal child watche……rs implementation in asyncio (python#121124)
Configuration menu - View commit details
-
Copy full SHA for ef3c400 - Browse repository at this point
Copy the full SHA ef3c400View commit details -
Check for compiler warnings in test_cext on Windows (python#121088)
On Windows, test_cext and test_cppext now pass /WX flag to the MSC compiler to treat all compiler warnings as errors. In verbose mode, these tests now log the compiler commands to help debugging. Change Py_BUILD_ASSERT_EXPR implementation on Windows to avoid a compiler warning about an unnamed structure.
Configuration menu - View commit details
-
Copy full SHA for 43709d5 - Browse repository at this point
Copy the full SHA 43709d5View commit details -
pythongh-121018: Fix more cases of exiting in argparse when exit_on_e…
…rror=False (pythonGH-121056) * parse_intermixed_args() now raises ArgumentError instead of calling error() if exit_on_error is false. * Internal code now always raises ArgumentError instead of calling error(). It is then caught at the higher level and error() is called if exit_on_error is true.
Configuration menu - View commit details
-
Copy full SHA for 81a654a - Browse repository at this point
Copy the full SHA 81a654aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2894aa1 - Browse repository at this point
Copy the full SHA 2894aa1View commit details -
pythongh-117139: Fix a few wrong steals in bytecodes.c (pythonGH-121127)
Fix a few wrong steals in bytecodes.c
Configuration menu - View commit details
-
Copy full SHA for e6543da - Browse repository at this point
Copy the full SHA e6543daView commit details -
pythongh-121137: Add missing Py_DECREF calls for ADDITEMS opcode of _…
…pickle.c (python#121136) PyObject_GetAttr returns a new reference, but this reference is never decremented using Py_DECREF, so Py_DECREF calls to this referece are added
Configuration menu - View commit details
-
Copy full SHA for 92893fd - Browse repository at this point
Copy the full SHA 92893fdView commit details
Commits on Jun 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6d34938 - Browse repository at this point
Copy the full SHA 6d34938View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a1e8ff - Browse repository at this point
Copy the full SHA 0a1e8ffView commit details -
pythongh-119372: Recover inf's and zeros in _Py_c_quot (pythonGH-119457)
In some cases, previously computed as (nan+nanj), we could recover meaningful component values in the result, see e.g. the C11, Annex G.5.2, routine _Cdivd().
Configuration menu - View commit details
-
Copy full SHA for 2cb84b1 - Browse repository at this point
Copy the full SHA 2cb84b1View commit details -
pythonGH-119054: Add "Expanding and resolving paths" section to pathl…
…ib docs. (python#120970) Add dedicated subsection for `home()`, `expanduser()`, `cwd()`, `absolute()`, `resolve()` and `readlink()`. The position of this section keeps all the `Path` constructors (`Path()`, `Path.from_uri()`, `Path.home()` and `Path.cwd()`) near the top. Within the section, closely related methods are kept adjacent. Specifically: -.`home()` and `expanduser()` (the former calls the latter) - `cwd()` and `absolute()` (the former calls the latter) - `absolute()` and `resolve()` (both make paths absolute) - `resolve()` and `readlink()` (both read symlink targets) - Ditto `cwd()` and `absolute()` - Ditto `absolute()` and `resolve()` The "Other methods" section is removed.
Configuration menu - View commit details
-
Copy full SHA for d6d8707 - Browse repository at this point
Copy the full SHA d6d8707View commit details -
pythonGH-119054: Add alt text to pathlib inheritance diagram (python#…
…121158) Co-authored-by: Hugo van Kemenade <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6b280a8 - Browse repository at this point
Copy the full SHA 6b280a8View commit details
Commits on Jun 30, 2024
-
pythongh-120522: Add a
--with-app-store-compliance
configure option…… to patch out problematic code (python#120984) * Add --app-store-compliance configuration option. * Added blurb. * Correct tab-vs-spaces formatting issue. * Correct source file name in docs. Co-authored-by: Nice Zombies <[email protected]> * Correct source code reference in Mac docs Co-authored-by: Nice Zombies <[email protected]> * Only apply the patch forward, and ensure the working directory is correct. * Make patching reslient to multiple builds. * Documentation fixes found during review Co-authored-by: Alyssa Coghlan <[email protected]> * Documentation and configure.ac syntax improvements Co-authored-by: Erlend E. Aasland <[email protected]> * Regenerate configure script. * Silence the patch echo output. --------- Co-authored-by: Nice Zombies <[email protected]> Co-authored-by: Alyssa Coghlan <[email protected]> Co-authored-by: Erlend E. Aasland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 48cd104 - Browse repository at this point
Copy the full SHA 48cd104View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3677be - Browse repository at this point
Copy the full SHA c3677beView commit details -
[doc] Update element positions and styles in logging flow diagram. (p…
…ythonGH-121182) Update element positions and styles.
Configuration menu - View commit details
-
Copy full SHA for 2a455bb - Browse repository at this point
Copy the full SHA 2a455bbView commit details -
pythongh-121163: Add "all" as an valid alias for "always" in warnings…
….simplefilter() (python#121164) Add support for ``all`` as an valid alias for ``always`` in ``warnings.simplefilter()`` and ``warnings.filterswarnings()``.
1Configuration menu - View commit details
-
Copy full SHA for 1a84bdc - Browse repository at this point
Copy the full SHA 1a84bdcView commit details
Commits on Jul 1, 2024
-
pythongh-87744: fix waitpid race while calling send_signal in asyncio (…
…python#121126) asyncio earlier relied on subprocess module to send signals to the process, this has some drawbacks one being that subprocess module unnecessarily calls waitpid on child processes and hence it races with asyncio implementation which internally uses child watchers. To mitigate this, now asyncio sends signals directly to the process without going through the subprocess on non windows systems. On Windows it fallbacks to subprocess module handling but on windows there are no child watchers so this issue doesn't exists altogether.
Configuration menu - View commit details
-
Copy full SHA for bd473aa - Browse repository at this point
Copy the full SHA bd473aaView commit details -
pythongh-113565: Improve and harden detection of curses dependencies (p…
…ython#119816) 1. Use pkg-config to check for ncursesw/panelw. If that fails, use pkg-config to check for ncurses/panel. 2. Regardless of pkg-config output, search for curses/panel headers, so we're sure we have all defines in pyconfig.h. 3. Regardless of pkg-config output, check if libncurses or libncursesw contains the 'initscr' symbol; if it does _and_ pkg-config failed earlier, add the resulting -llib linker option to CURSES_LIBS. Ditto for 'update_panels' and PANEL_LIBS. 4. Wrap the rest of the checks with WITH_SAVE_ENV and make sure we're using updated LIBS and CPPFLAGS for those. Add the PY_CHECK_CURSES convenience macro.
Configuration menu - View commit details
-
Copy full SHA for f80376b - Browse repository at this point
Copy the full SHA f80376bView commit details -
pythongh-121188: Sanitize invalid XML characters in regrtest (python#…
…121195) When creating the JUnit XML file, regrtest now escapes characters which are invalid in XML, such as the chr(27) control character used in ANSI escape sequences.
Configuration menu - View commit details
-
Copy full SHA for af8c3d7 - Browse repository at this point
Copy the full SHA af8c3d7View commit details -
pythongh-121199: Use _Py__has_attribute() in timemodule.c (python#121203
Configuration menu - View commit details
-
Copy full SHA for a0b8b34 - Browse repository at this point
Copy the full SHA a0b8b34View commit details -
pythongh-61103: Support double complex (_Complex) type in ctypes (pyt…
…hon#120894) Example: ```pycon >>> import ctypes >>> ctypes.__STDC_IEC_559_COMPLEX__ 1 >>> libm = ctypes.CDLL('libm.so.6') >>> libm.clog.argtypes = [ctypes.c_double_complex] >>> libm.clog.restype = ctypes.c_double_complex >>> libm.clog(1+1j) (0.34657359027997264+0.7853981633974483j) ``` Co-authored-by: Nice Zombies <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]> Co-authored-by: Victor Stinner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6988ff0 - Browse repository at this point
Copy the full SHA 6988ff0View commit details -
pythongh-121084: Call _abc_registry_clear() when checking refleaks (p…
…ython#121191) dash_R_cleanup() now calls _abc_registry_clear() before calling again register().
Configuration menu - View commit details
-
Copy full SHA for c766ad2 - Browse repository at this point
Copy the full SHA c766ad2View commit details -
pythongh-121200: Log pwd entry in test_expanduser_pwd2() (python#121207)
Use subTest() to log the pwd entry in test_expanduser_pwd2() of test_posixpath to help debugging.
Configuration menu - View commit details
-
Copy full SHA for 05a6f8d - Browse repository at this point
Copy the full SHA 05a6f8dView commit details -
build(deps-dev): bump types-psutil from 5.9.5.20240516 to 6.0.0.20240…
…621 in /Tools (python#121215) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7e8f334 - Browse repository at this point
Copy the full SHA 7e8f334View commit details -
build(deps-dev): bump mypy from 1.10.0 to 1.10.1 in /Tools (python#12…
…1216) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c9302e8 - Browse repository at this point
Copy the full SHA c9302e8View commit details -
build(deps-dev): bump types-setuptools from 70.0.0.20240524 to 70.1.0…
….20240627 in /Tools (python#121217) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8d0cafd - Browse repository at this point
Copy the full SHA 8d0cafdView commit details -
pythongh-117784: Only reference PHA functions ifndef SSL_VERIFY_POST_…
…HANDSHAKE (pythonGH-117785) With this change, builds with OpenSSL forks that don't have this functionalty (like AWS-LC or BoringSSL) will require less patching.
Configuration menu - View commit details
-
Copy full SHA for 56a3ce2 - Browse repository at this point
Copy the full SHA 56a3ce2View commit details -
pythongh-121220: Mark test_threaded_weak_value_dict_copy() as CPU-hea…
…vy (python#121221) Mark test_threaded_weak_value_dict_copy() and test_threaded_weak_key_dict_copy() of test_weakref as CPU-heavy tests
Configuration menu - View commit details
-
Copy full SHA for c7991cc - Browse repository at this point
Copy the full SHA c7991ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a51767 - Browse repository at this point
Copy the full SHA 8a51767View commit details -
pythongh-121200: Fix test_expanduser_pwd2() of test_posixpath (python…
…#121228) Call getpwnam() to get pw_dir, since it can be different than getpwall() pw_dir.
Configuration menu - View commit details
-
Copy full SHA for 02cb5fd - Browse repository at this point
Copy the full SHA 02cb5fdView commit details -
pythongh-120743: Soft deprecate os.popen() function (python#120744)
Soft deprecate os.popen() and os.spawn*() functions.
Configuration menu - View commit details
-
Copy full SHA for d44c550 - Browse repository at this point
Copy the full SHA d44c550View commit details -
pythongh-114104: clarify asynchronous comprehension docs to match run…
…time behavior (python#121175)
Configuration menu - View commit details
-
Copy full SHA for 91313af - Browse repository at this point
Copy the full SHA 91313afView commit details -
pythongh-121110: Temporarily Skip test_basic_multiple_interpreters_re…
…set_each (pythongh-121236) This will allow Py_TRACE_REFS builds to pass the test suite, until the underlying issue can be resolved.
Configuration menu - View commit details
-
Copy full SHA for 9bcb7d8 - Browse repository at this point
Copy the full SHA 9bcb7d8View commit details -
pythongh-117657: Fix data races reported by TSAN in some set methods (p…
…ython#120914) Refactor the fast Unicode hash check into `_PyObject_HashFast` and use relaxed atomic loads in the free-threaded build. After this change, the TSAN doesn't report data races for this method.
Configuration menu - View commit details
-
Copy full SHA for 294e724 - Browse repository at this point
Copy the full SHA 294e724View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33903c5 - Browse repository at this point
Copy the full SHA 33903c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dc9a4f - Browse repository at this point
Copy the full SHA 1dc9a4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9662608 - Browse repository at this point
Copy the full SHA 9662608View commit details
Commits on Jul 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4f1e1df - Browse repository at this point
Copy the full SHA 4f1e1dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for bfe0e4d - Browse repository at this point
Copy the full SHA bfe0e4dView commit details -
Move get_signal_name() to test.support (python#121251)
* Move get_signal_name() from test.libregrtest to test.support. * Use get_signal_name() in support.script_helper. * support.script_helper now decodes stdout and stderr from UTF-8, instead of ASCII, if a command failed.
Configuration menu - View commit details
-
Copy full SHA for 7435f05 - Browse repository at this point
Copy the full SHA 7435f05View commit details -
pythongh-121245: Amend d611c4c (correct import) (python#121255)
Co-authored-by: Miro Hrončok <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a807c3 - Browse repository at this point
Copy the full SHA 7a807c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15232a0 - Browse repository at this point
Copy the full SHA 15232a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6343486 - Browse repository at this point
Copy the full SHA 6343486View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ac2732 - Browse repository at this point
Copy the full SHA 1ac2732View commit details -
pythongh-117139: Add _PyTuple_FromStackRefSteal and use it (python#12…
…1244) Avoids the extra conversion from stack refs to PyObjects.
Configuration menu - View commit details
-
Copy full SHA for 8e8d202 - Browse repository at this point
Copy the full SHA 8e8d202View commit details -
Configuration menu - View commit details
-
Copy full SHA for b180788 - Browse repository at this point
Copy the full SHA b180788View commit details -
pythongh-121035: Further improve logging flow diagram with respect to…
… dark/light modes. (pythonGH-121265)
Configuration menu - View commit details
-
Copy full SHA for 0898354 - Browse repository at this point
Copy the full SHA 0898354View commit details
Commits on Jul 3, 2024
-
pythonGH-73991: Support copying directory symlinks on older Windows (p…
…ython#120807) Check for `ERROR_INVALID_PARAMETER` when calling `_winapi.CopyFile2()` and raise `UnsupportedOperation`. In `Path.copy()`, handle this exception and fall back to the `PathBase.copy()` implementation.
Configuration menu - View commit details
-
Copy full SHA for f09d184 - Browse repository at this point
Copy the full SHA f09d184View commit details -
pythongh-121027: Make the functools.partial object a method descriptor (
pythonGH-121089) Co-authored-by: d.grigonis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ff5806c - Browse repository at this point
Copy the full SHA ff5806cView commit details -
pythongh-116181: Remove Py_BUILD_CORE_BUILTIN and Py_BUILD_CORE_MODUL…
…E in rotatingtree.c (python#121260)
Configuration menu - View commit details
-
Copy full SHA for 705a123 - Browse repository at this point
Copy the full SHA 705a123View commit details -
pythongh-111872: Document the max_children attribute for `socketserve…
…r.ForkingMixIn` (python#118134)
Configuration menu - View commit details
-
Copy full SHA for ff5751a - Browse repository at this point
Copy the full SHA ff5751aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f65d17b - Browse repository at this point
Copy the full SHA f65d17bView commit details -
build(deps): bump hypothesis from 6.100.2 to 6.104.2 in /Tools (pytho…
…n#121218) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.100.2 to 6.104.2. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.100.2...hypothesis-python-6.104.2) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f49c83a - Browse repository at this point
Copy the full SHA f49c83aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4232976 - Browse repository at this point
Copy the full SHA 4232976View commit details -
Docs: Add
os.splice
flags argument (python#109847)Co-authored-by: Adam Turner <[email protected]> Co-authored-by: Blaise Pabon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9d3c9b8 - Browse repository at this point
Copy the full SHA 9d3c9b8View commit details -
pythongh-106597: Add more offsets to _Py_DebugOffsets (python#121311)
Add more offsets to _Py_DebugOffsets We add a few more offsets that are required by some out-of-process tools, such as [Austin](https://github.com/p403n1x87/austin).
Configuration menu - View commit details
-
Copy full SHA for c9bdfbe - Browse repository at this point
Copy the full SHA c9bdfbeView commit details -
pythongh-61103: Support float and long double complex types in ctypes…
… module (python#121248) This amends 6988ff0: memory allocation for stginfo->ffi_type_pointer.elements in PyCSimpleType_init() should be more generic (perhaps someday fmt->pffi_type->elements will be not a two-elements array). It should finally resolve python#61103. Co-authored-by: Victor Stinner <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 51c4a32 - Browse repository at this point
Copy the full SHA 51c4a32View commit details -
pythongh-121272: set ste_coroutine during symtable construction (pyth…
…on#121297) compiler no longer modifies the symtable after this.
Configuration menu - View commit details
-
Copy full SHA for 9315688 - Browse repository at this point
Copy the full SHA 9315688View commit details -
pythongh-121263: Macro-ify most stackref functions for MSVC (pythonGH…
…-121270) Macro-ify most stackref functions for MSVC
Configuration menu - View commit details
-
Copy full SHA for 722229e - Browse repository at this point
Copy the full SHA 722229eView commit details -
Configuration menu - View commit details
-
Copy full SHA for afee76b - Browse repository at this point
Copy the full SHA afee76bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26d24ee - Browse repository at this point
Copy the full SHA 26d24eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84512c0 - Browse repository at this point
Copy the full SHA 84512c0View commit details -
pythongh-121201: Disable perf_trampoline on riscv64 for now (python#1…
…21328) Disable perf_trampoline on riscv64 for now Until support is added in perf_jit_trampoline.c pythongh-120089 was incomplete.
Configuration menu - View commit details
-
Copy full SHA for ca2e876 - Browse repository at this point
Copy the full SHA ca2e876View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c66906 - Browse repository at this point
Copy the full SHA 7c66906View commit details -
pythongh-112136: Restore removed _PyArg_Parser (python#121262)
Restore the private _PyArg_Parser structure and the private _PyArg_ParseTupleAndKeywordsFast() function, previously removed in Python 3.13 alpha 1. Recreate Include/cpython/modsupport.h header file.
Configuration menu - View commit details
-
Copy full SHA for f8373db - Browse repository at this point
Copy the full SHA f8373dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e245ed7 - Browse repository at this point
Copy the full SHA e245ed7View commit details -
pythongh-117983: Defer import of threading for lazy module loading (p…
…ython#120233) As noted in pythongh-117983, the import importlib.util can be triggered at interpreter startup under some circumstances, so adding threading makes it a potentially obligatory load. Lazy loading is not used in the stdlib, so this removes an unnecessary load for the majority of users and slightly increases the cost of the first lazily loaded module. An obligatory threading load breaks gevent, which monkeypatches the stdlib. Although unsupported, there doesn't seem to be an offsetting benefit to breaking their use case. For reference, here are benchmarks for the current main branch: ``` ❯ hyperfine -w 8 './python -c "import importlib.util"' Benchmark 1: ./python -c "import importlib.util" Time (mean ± σ): 9.7 ms ± 0.7 ms [User: 7.7 ms, System: 1.8 ms] Range (min … max): 8.4 ms … 13.1 ms 313 runs ``` And with this patch: ``` ❯ hyperfine -w 8 './python -c "import importlib.util"' Benchmark 1: ./python -c "import importlib.util" Time (mean ± σ): 8.4 ms ± 0.7 ms [User: 6.8 ms, System: 1.4 ms] Range (min … max): 7.2 ms … 11.7 ms 352 runs ``` Compare to: ``` ❯ hyperfine -w 8 './python -c pass' Benchmark 1: ./python -c pass Time (mean ± σ): 7.6 ms ± 0.6 ms [User: 5.9 ms, System: 1.6 ms] Range (min … max): 6.7 ms … 11.3 ms 390 runs ``` This roughly halves the import time of importlib.util.
Configuration menu - View commit details
-
Copy full SHA for 94f50f8 - Browse repository at this point
Copy the full SHA 94f50f8View commit details
Commits on Jul 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9728ead - Browse repository at this point
Copy the full SHA 9728eadView commit details -
pythongh-120754: Reduce system calls in full-file FileIO.readall() ca…
…se (python#120755) This reduces the system call count of a simple program[0] that reads all the `.rst` files in Doc by over 10% (5706 -> 4734 system calls on my linux system, 5813 -> 4875 on my macOS) This reduces the number of `fstat()` calls always and seek calls most the time. Stat was always called twice, once at open (to error early on directories), and a second time to get the size of the file to be able to read the whole file in one read. Now the size is cached with the first call. The code keeps an optimization that if the user had previously read a lot of data, the current position is subtracted from the number of bytes to read. That is somewhat expensive so only do it on larger files, otherwise just try and read the extra bytes and resize the PyBytes as needeed. I built a little test program to validate the behavior + assumptions around relative costs and then ran it under `strace` to get a log of the system calls. Full samples below[1]. After the changes, this is everything in one `filename.read_text()`: ```python3 openat(AT_FDCWD, "cpython/Doc/howto/clinic.rst", O_RDONLY|O_CLOEXEC) = 3` fstat(3, {st_mode=S_IFREG|0644, st_size=343, ...}) = 0` ioctl(3, TCGETS, 0x7ffdfac04b40) = -1 ENOTTY (Inappropriate ioctl for device) lseek(3, 0, SEEK_CUR) = 0 read(3, ":orphan:\n\n.. This page is retain"..., 344) = 343 read(3, "", 1) = 0 close(3) = 0 ``` This does make some tradeoffs 1. If the file size changes between open() and readall(), this will still get all the data but might have more read calls. 2. I experimented with avoiding the stat + cached result for small files in general, but on my dev workstation at least that tended to reduce performance compared to using the fstat(). [0] ```python3 from pathlib import Path nlines = [] for filename in Path("cpython/Doc").glob("**/*.rst"): nlines.append(len(filename.read_text())) ``` [1] Before small file: ``` openat(AT_FDCWD, "cpython/Doc/howto/clinic.rst", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=343, ...}) = 0 ioctl(3, TCGETS, 0x7ffe52525930) = -1 ENOTTY (Inappropriate ioctl for device) lseek(3, 0, SEEK_CUR) = 0 lseek(3, 0, SEEK_CUR) = 0 fstat(3, {st_mode=S_IFREG|0644, st_size=343, ...}) = 0 read(3, ":orphan:\n\n.. This page is retain"..., 344) = 343 read(3, "", 1) = 0 close(3) = 0 ``` After small file: ``` openat(AT_FDCWD, "cpython/Doc/howto/clinic.rst", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=343, ...}) = 0 ioctl(3, TCGETS, 0x7ffdfac04b40) = -1 ENOTTY (Inappropriate ioctl for device) lseek(3, 0, SEEK_CUR) = 0 read(3, ":orphan:\n\n.. This page is retain"..., 344) = 343 read(3, "", 1) = 0 close(3) = 0 ``` Before large file: ``` openat(AT_FDCWD, "cpython/Doc/c-api/typeobj.rst", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=133104, ...}) = 0 ioctl(3, TCGETS, 0x7ffe52525930) = -1 ENOTTY (Inappropriate ioctl for device) lseek(3, 0, SEEK_CUR) = 0 lseek(3, 0, SEEK_CUR) = 0 fstat(3, {st_mode=S_IFREG|0644, st_size=133104, ...}) = 0 read(3, ".. highlight:: c\n\n.. _type-struc"..., 133105) = 133104 read(3, "", 1) = 0 close(3) = 0 ``` After large file: ``` openat(AT_FDCWD, "cpython/Doc/c-api/typeobj.rst", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=133104, ...}) = 0 ioctl(3, TCGETS, 0x7ffdfac04b40) = -1 ENOTTY (Inappropriate ioctl for device) lseek(3, 0, SEEK_CUR) = 0 lseek(3, 0, SEEK_CUR) = 0 read(3, ".. highlight:: c\n\n.. _type-struc"..., 133105) = 133104 read(3, "", 1) = 0 close(3) = 0 ``` Co-authored-by: Shantanu <[email protected]> Co-authored-by: Erlend E. Aasland <[email protected]> Co-authored-by: Victor Stinner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2f5f19e - Browse repository at this point
Copy the full SHA 2f5f19eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19d1e43 - Browse repository at this point
Copy the full SHA 19d1e43View commit details -
pythongh-120754: Update estimated_size in C truncate (python#121357)
Sometimes a large file is truncated (test_largefile). While estimated_size is used as a estimate (the read will stil get the number of bytes in the file), that it is much larger than the actual size of data can result in a significant over allocation and sometimes lead to a MemoryError / running out of memory. This brings the C implementation to match the Python _pyio implementation.
Configuration menu - View commit details
-
Copy full SHA for 06a1c3f - Browse repository at this point
Copy the full SHA 06a1c3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 715ec63 - Browse repository at this point
Copy the full SHA 715ec63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67a05de - Browse repository at this point
Copy the full SHA 67a05deView commit details -
Configuration menu - View commit details
-
Copy full SHA for db17291 - Browse repository at this point
Copy the full SHA db17291View commit details -
pythongh-59110: zipimport: support namespace packages when no directo…
…ry entry exists (pythonGH-121233)
Configuration menu - View commit details
-
Copy full SHA for 17d5b9d - Browse repository at this point
Copy the full SHA 17d5b9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5c8d67 - Browse repository at this point
Copy the full SHA f5c8d67View commit details -
pythongh-121084: Fix test_typing random leaks (python#121360)
Clear typing ABC caches when running tests for refleaks (-R option): call _abc_caches_clear() on typing abstract classes and their subclasses.
Configuration menu - View commit details
-
Copy full SHA for 5f660e8 - Browse repository at this point
Copy the full SHA 5f660e8View commit details -
pythongh-90437: Fix __main__.py documentation wording (pythonGH-116309)
Co-authored-by: Éric <[email protected]> Co-authored-by: Frank Dana <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb688ba - Browse repository at this point
Copy the full SHA cb688baView commit details
Commits on Jul 5, 2024
-
pythongh-121390: tracemalloc: Fix tracebacks memory leak (python#121391)
The tracemalloc_tracebacks hash table has traceback keys and NULL values, but its destructors do not reflect this -- key_destroy_func is NULL while value_destroy_func is raw_free. Swap these to free the traceback keys instead.
Configuration menu - View commit details
-
Copy full SHA for db39bc4 - Browse repository at this point
Copy the full SHA db39bc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for cecd601 - Browse repository at this point
Copy the full SHA cecd601View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4faa7b - Browse repository at this point
Copy the full SHA d4faa7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e77540 - Browse repository at this point
Copy the full SHA 0e77540View commit details -
pythongh-121288: Make error message for index() methods consistent (p…
…ythonGH-121395) Make error message for index() methods consistent Remove the repr of the searched value (which can be arbitrary large) from ValueError messages for list.index(), range.index(), deque.index(), deque.remove() and ShareableList.index(). Make the error messages consistent with error messages for other index() and remove() methods.
Configuration menu - View commit details
-
Copy full SHA for 8ecb896 - Browse repository at this point
Copy the full SHA 8ecb896View commit details -
Update example of str.split, bytes.split (python#121287)
In `{str,bytes}.strip(chars)`, multiple characters are not treated as a prefix/suffix, but as individual characters. This may make users confuse whether `split` has similar behavior. Users may incorrectly expect that `'Good morning, John.'.split(', .') == ['Good', 'morning', 'John']` Adding a bit of clarification in the doc. Co-authored-by: Yuxin Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 892e3a1 - Browse repository at this point
Copy the full SHA 892e3a1View commit details -
pythongh-121359: Run test_pyrepl in isolated mode (python#121414)
run_repl() now pass the -I option (isolated mode) to Python if the 'env' parameter is not set.
Configuration menu - View commit details
-
Copy full SHA for 6239d41 - Browse repository at this point
Copy the full SHA 6239d41View commit details
Commits on Jul 6, 2024
-
pythonGH-73991: Support preserving metadata in
pathlib.Path.copy()
(p……ython#120806) Add *preserve_metadata* keyword-only argument to `pathlib.Path.copy()`, defaulting to false. When set to true, we copy timestamps, permissions, extended attributes and flags where available, like `shutil.copystat()`. The argument has no effect on Windows, where metadata is always copied. Internally (in the pathlib ABCs), path types gain `_readable_metadata` and `_writable_metadata` attributes. These sets of strings describe what kinds of metadata can be retrieved and stored. We take an intersection of `source._readable_metadata` and `target._writable_metadata` to minimise reads/writes. A new `_read_metadata()` method accepts a set of metadata keys and returns a dict with those keys, and a new `_write_metadata()` method accepts a dict of metadata. We *might* make these public in future, but it's hard to justify while the ABCs are still private.
Configuration menu - View commit details
-
Copy full SHA for 88fc065 - Browse repository at this point
Copy the full SHA 88fc065View commit details -
Configuration menu - View commit details
-
Copy full SHA for ada964f - Browse repository at this point
Copy the full SHA ada964fView commit details -
Regen
Doc/requirements-oldest-sphinx.txt
(python#121437)regen dependencies
Configuration menu - View commit details
-
Copy full SHA for 53e1202 - Browse repository at this point
Copy the full SHA 53e1202View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1143894 - Browse repository at this point
Copy the full SHA 1143894View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68e279b - Browse repository at this point
Copy the full SHA 68e279bView commit details
Commits on Jul 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3bddd07 - Browse repository at this point
Copy the full SHA 3bddd07View commit details -
pythonGH-73991: Fix "Operation not supported" on Fedora buildbot. (py…
…thon#121444) Follow-up to python#120806. Use `os_helper.skip_unless_xattr` to skip testing xattr preservation when unsupported.
Configuration menu - View commit details
-
Copy full SHA for b765e4a - Browse repository at this point
Copy the full SHA b765e4aView commit details
Commits on Jul 8, 2024
-
Fix sphinx reference target (python#121470)
This was introduced in python#121164 and appears to be causing test failures on main
Configuration menu - View commit details
-
Copy full SHA for c866948 - Browse repository at this point
Copy the full SHA c866948View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5aa1e60 - Browse repository at this point
Copy the full SHA 5aa1e60View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf74db7 - Browse repository at this point
Copy the full SHA bf74db7View commit details -
pythongh-108297: Update crashers README for test_crashers removal (py…
…thon#121475) Update Lib/test/crashers/README for test_crashers removal
Configuration menu - View commit details
-
Copy full SHA for 59be79a - Browse repository at this point
Copy the full SHA 59be79aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d69529d - Browse repository at this point
Copy the full SHA d69529dView commit details -
pythonGH-121012: Set index to -1 when list iterators become exhausted…
… in tier 2 (pythonGH-121483)
Configuration menu - View commit details
-
Copy full SHA for 8ad6067 - Browse repository at this point
Copy the full SHA 8ad6067View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5289550 - Browse repository at this point
Copy the full SHA 5289550View commit details -
pythonGH-119169: Simplify
os.walk()
exception handling (python#121435)Handle errors from `os.scandir()` and `ScandirIterator` similarly, which lets us loop over directory entries with `for`.
Configuration menu - View commit details
-
Copy full SHA for db00fee - Browse repository at this point
Copy the full SHA db00feeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31873be - Browse repository at this point
Copy the full SHA 31873beView commit details -
pythongh-121368: Fix seq lock memory ordering in _PyType_Lookup (pyth…
…on#121388) The `_PySeqLock_EndRead` function needs an acquire fence to ensure that the load of the sequence happens after any loads within the read side critical section. The missing fence can trigger bugs on macOS arm64. Additionally, we need a release fence in `_PySeqLock_LockWrite` to ensure that the sequence update is visible before any modifications to the cache entry.
Configuration menu - View commit details
-
Copy full SHA for 1d3cf79 - Browse repository at this point
Copy the full SHA 1d3cf79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2be37ec - Browse repository at this point
Copy the full SHA 2be37ecView commit details -
NEWS: Fix Sphinx warnings and increase threshold for new news nits (p…
…ython#121482) Co-authored-by: Alex Waygood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 006b53a - Browse repository at this point
Copy the full SHA 006b53aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 218edaf - Browse repository at this point
Copy the full SHA 218edafView commit details -
pythongh-121110: Fix Extension Module Tests Under Py_TRACE_REFS Builds (
pythongh-121503) The change in pythongh-118157 (b2cd54a) should have also updated clear_singlephase_extension() but didn't. We fix that here. Note that clear_singlephase_extension() (AKA _PyImport_ClearExtension()) is only used in tests.
Configuration menu - View commit details
-
Copy full SHA for 15d48ae - Browse repository at this point
Copy the full SHA 15d48aeView commit details
Commits on Jul 9, 2024
-
pythongh-121333: Clarify what is the default executor for asyncio.run…
…_in_executor (python#121335) Co-authored-by: Kumar Aditya <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for facf986 - Browse repository at this point
Copy the full SHA facf986View commit details -
pythonGH-118926: Better distinguish between pointer and arrays in int…
…erpreter generator (pythonGH-121496)
Configuration menu - View commit details
-
Copy full SHA for bf8686e - Browse repository at this point
Copy the full SHA bf8686eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ba2a46 - Browse repository at this point
Copy the full SHA 9ba2a46View commit details -
pythongh-121533: Improve
PyCell_[Get,Set]
docs: mention the excepti……ons (python#121534) Co-authored-by: Victor Stinner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 649d5b6 - Browse repository at this point
Copy the full SHA 649d5b6View commit details -
pythongh-117657: Fix TSAN races in setobject.c (python#121511)
The `used` field must be written using atomic stores because `set_len` and iterators may access the field concurrently without holding the per-object lock.
Configuration menu - View commit details
-
Copy full SHA for 9c08f40 - Browse repository at this point
Copy the full SHA 9c08f40View commit details -
pythongh-117657: Skip test when running under TSan (pythonGH-121549)
The ProcessPoolForkserver combined with resource_tracker starts a thread after forking, which is not supported by TSan. Also skip test_multiprocessing_fork for the same reason
Configuration menu - View commit details
-
Copy full SHA for 0439743 - Browse repository at this point
Copy the full SHA 0439743View commit details -
pythonGH-120372: Switch to wasmtime 22 (pythonGH-121523)
Along the way, make the cache key in GitHub Actions for `config.cache` be more robust in the face of potential env var changes from `Tools/wasm/wasi.py`.
1Configuration menu - View commit details
-
Copy full SHA for 8020946 - Browse repository at this point
Copy the full SHA 8020946View commit details -
Configuration menu - View commit details
-
Copy full SHA for f621618 - Browse repository at this point
Copy the full SHA f621618View commit details
Commits on Jul 10, 2024
-
pythonGH-121439: Allow PyTupleObjects with an ob_size of 20 in the fr…
…ee_list to be reused (pythongh-121428)
Configuration menu - View commit details
-
Copy full SHA for 9585a1a - Browse repository at this point
Copy the full SHA 9585a1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 22a0bdb - Browse repository at this point
Copy the full SHA 22a0bdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e282236 - Browse repository at this point
Copy the full SHA e282236View commit details -
Configuration menu - View commit details
-
Copy full SHA for cced22c - Browse repository at this point
Copy the full SHA cced22cView commit details -
pythongh-121567: Improve
slice
C-API docs by mentioning exceptions (p……ython#121568) Co-authored-by: Erlend E. Aasland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 84a5597 - Browse repository at this point
Copy the full SHA 84a5597View commit details -
pythongh-89364: Export PySignal_SetWakeupFd() function (python#121537)
Export the PySignal_SetWakeupFd() function. Previously, the function was documented but it couldn't be used in 3rd party code.
Configuration menu - View commit details
-
Copy full SHA for ca0fb34 - Browse repository at this point
Copy the full SHA ca0fb34View commit details -
pythongh-107851: Fix spurious failures in fcntl eintr tests (python#1…
…21556) On heavily loaded machines, the subprocess may finish its sleep before the parent process manages to synchronize with it via a failed lock. This leads to errors like: Exception: failed to sync child in 300.3 sec Use pipes instead to mutually synchronize between parent and child.
Configuration menu - View commit details
-
Copy full SHA for af9f6de - Browse repository at this point
Copy the full SHA af9f6deView commit details -
pythongh-121404: remove some accesses to compiler internals from code…
…gen functions (python#121538)
Configuration menu - View commit details
-
Copy full SHA for 0177a34 - Browse repository at this point
Copy the full SHA 0177a34View commit details -
pythongh-121460: Skip freeing unallocated arenas (pythongh-121491)
`munmap(NULL)` is not noop, like `free(NULL)` is. Fixes an observed testsuite hang on 32-bit ARM systems.
Configuration menu - View commit details
-
Copy full SHA for a802277 - Browse repository at this point
Copy the full SHA a802277View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bfc9c8 - Browse repository at this point
Copy the full SHA 3bfc9c8View commit details -
pythongh-117657: Fix TSan race in _PyDict_CheckConsistency (python#12…
…1551) The only remaining race in dictobject.c was in _PyDict_CheckConsistency when the dictionary has shared keys.
Configuration menu - View commit details
-
Copy full SHA for 3ec719f - Browse repository at this point
Copy the full SHA 3ec719fView commit details -
pythongh-117657: Remove TSAN suppressions for _abc.c (python#121508)
The functions look thread-safe and I haven't seen any warnings issued when running the tests locally.
Configuration menu - View commit details
-
Copy full SHA for 7641743 - Browse repository at this point
Copy the full SHA 7641743View commit details -
pythongh-121596: Fix Sharing Interpreter Channels (pythongh-121597)
This fixes a mistake in pythongh-113012 and adds a test that verifies the fix.
Configuration menu - View commit details
-
Copy full SHA for 35a67e3 - Browse repository at this point
Copy the full SHA 35a67e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef10110 - Browse repository at this point
Copy the full SHA ef10110View commit details -
pythongh-121554: remove unnecessary internal functions in compile.c (p…
…ython#121555) Co-authored-by: Erlend E. Aasland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6557af6 - Browse repository at this point
Copy the full SHA 6557af6View commit details
Commits on Jul 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 690b935 - Browse repository at this point
Copy the full SHA 690b935View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6264b4 - Browse repository at this point
Copy the full SHA e6264b4View commit details -
pythongh-121592: Make select.poll() and related objects thread-safe (p…
…ython#121594) This makes select.poll() and kqueue() objects thread-safe in the free-threaded build. Note that calling close() concurrently with other functions is still not thread-safe due to races on file descriptors (pythongh-121544).
Configuration menu - View commit details
-
Copy full SHA for 44937d1 - Browse repository at this point
Copy the full SHA 44937d1View commit details -
pythongh-121332: Make AST node constructor check _attributes instead …
…of hardcoding attributes (python#121334)
Configuration menu - View commit details
-
Copy full SHA for 58e8cf2 - Browse repository at this point
Copy the full SHA 58e8cf2View commit details -
pythongh-117482: Fix Builtin Types Slot Wrappers (pythongh-121602)
When builtin static types are initialized for a subinterpreter, various "tp" slots have already been inherited (for the main interpreter). This was interfering with the logic in add_operators() (in Objects/typeobject.c), causing a wrapper to get created when it shouldn't. This change fixes that by preserving the original data from the static type struct and checking that.
Configuration menu - View commit details
-
Copy full SHA for 5250a03 - Browse repository at this point
Copy the full SHA 5250a03View commit details -
pythongh-121103: Put free-threaded libraries in
lib/python3.14t
(py……thon#121293) On POSIX systems, excluding macOS framework installs, the lib directory for the free-threaded build now includes a "t" suffix to avoid conflicts with a co-located default build installation.
Configuration menu - View commit details
-
Copy full SHA for e8c91d9 - Browse repository at this point
Copy the full SHA e8c91d9View commit details
Commits on Jul 12, 2024
-
Update retroactive comments from pythonGH-117741 (segfault in `Future…
…Iter_dealloc`) (pythonGH-121638) Address comments
Configuration menu - View commit details
-
Copy full SHA for 65feded - Browse repository at this point
Copy the full SHA 65fededView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc03ce7 - Browse repository at this point
Copy the full SHA dc03ce7View commit details
Commits on Jul 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4e36dd7 - Browse repository at this point
Copy the full SHA 4e36dd7View commit details -
pythongh-99242 Ignore error when running regression tests under certa…
…in conditions. (pythonGH-121663) Co-Authored-By: Kevin Diem <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0759cec - Browse repository at this point
Copy the full SHA 0759cecView commit details -
pythongh-121153: Fix some errors with use of _PyLong_CompactValue() (p…
…ythonGH-121154) * The result has type Py_ssize_t, not intptr_t. * Type cast between unsigned and signdet integer types should be explicit. * Downcasting should be explicit. * Fix integer overflow check in sum().
Configuration menu - View commit details
-
Copy full SHA for 1801545 - Browse repository at this point
Copy the full SHA 1801545View commit details -
Configuration menu - View commit details
-
Copy full SHA for e745996 - Browse repository at this point
Copy the full SHA e745996View commit details -
pythongh-121499: Fix multi-line history rendering in the REPL (python…
…#121531) Signed-off-by: Pablo Galindo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4b9e10d - Browse repository at this point
Copy the full SHA 4b9e10dView commit details -
pythongh-96765: Update ConfigParser.read() docs with multi-file read …
…example (python#121664) Co-authored-by: Łukasz Langa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fc21781 - Browse repository at this point
Copy the full SHA fc21781View commit details -
pythongh-121671: Increase test coverage of
ast.get_docstring
(pytho……nGH-121674) Increase test coverage for `ast.get_docstring`
Configuration menu - View commit details
-
Copy full SHA for 0a26aa5 - Browse repository at this point
Copy the full SHA 0a26aa5View commit details -
pythongh-121605: Increase timeout in test_pyrepl.run_repl (python#121606
Configuration menu - View commit details
-
Copy full SHA for abc3aee - Browse repository at this point
Copy the full SHA abc3aeeView commit details -
pythongh-120823: Fix doc for ftplib.FTP.retrbinary() (pythonGH-121697)
Co-authored-by: Mirela Andreea GRIGORAS <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 422855a - Browse repository at this point
Copy the full SHA 422855aView commit details -
pythongh-120452: improve documentation about private name mangling (p…
…ython#120451) Co-authored-by: Jelle Zijlstra <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f4d6e45 - Browse repository at this point
Copy the full SHA f4d6e45View commit details -
pythongh-121657: Display correct error message for yield from outside…
… of a function (pythonGH-121680) Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Bénédikt Tran <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 178e44d - Browse repository at this point
Copy the full SHA 178e44dView commit details -
pythongh-121711: Set
-m asyncio
return_code to 1 for ENOTTY (python……#121714) Set return_code to 1 for ENOTTY
Configuration menu - View commit details
-
Copy full SHA for a183474 - Browse repository at this point
Copy the full SHA a183474View commit details -
pythongh-121652: Handle
allocate_weakref
returning NULL (python#121653Configuration menu - View commit details
-
Copy full SHA for a640a60 - Browse repository at this point
Copy the full SHA a640a60View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0af6d4 - Browse repository at this point
Copy the full SHA c0af6d4View commit details -
pythongh-73159 Added clarifications in multiprocessing docs on that o…
…bjects are pickled. (pythonGH-121686) Added explicit comments about that objects are pickled when transmitted via multiprocessing queues and pipes.
Configuration menu - View commit details
-
Copy full SHA for b580589 - Browse repository at this point
Copy the full SHA b580589View commit details -
pythongh-120642: Move _PyCode_CODE() to the internal C API (python#12…
…1644) Move _PyCode_CODE() and _PyCode_NBYTES() macros to the internal C API since they use _Py_CODEUNIT which is only part of the internal C API.
Configuration menu - View commit details
-
Copy full SHA for a2bec77 - Browse repository at this point
Copy the full SHA a2bec77View commit details
Commits on Jul 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 901ea41 - Browse repository at this point
Copy the full SHA 901ea41View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6f4022 - Browse repository at this point
Copy the full SHA f6f4022View commit details -
pythongh-121562: optimized hex_from_char (python#121563)
Performance improvement to `float.fromhex`: use a lookup table for computing the hexadecimal value of a character, in place of the previous switch-case construct. Patch by Bruno Lima.
Configuration menu - View commit details
-
Copy full SHA for 04130b2 - Browse repository at this point
Copy the full SHA 04130b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3086b86 - Browse repository at this point
Copy the full SHA 3086b86View commit details -
Configuration menu - View commit details
-
Copy full SHA for cae1526 - Browse repository at this point
Copy the full SHA cae1526View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26dfb27 - Browse repository at this point
Copy the full SHA 26dfb27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6505bda - Browse repository at this point
Copy the full SHA 6505bdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb802db - Browse repository at this point
Copy the full SHA bb802dbView commit details -
pythongh-121621: Use PyMutex for writes to asyncio state (python#121622)
Co-authored-by: Kumar Aditya <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5d6861a - Browse repository at this point
Copy the full SHA 5d6861aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d005f2c - Browse repository at this point
Copy the full SHA d005f2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7982363 - Browse repository at this point
Copy the full SHA 7982363View commit details -
pythongh-57141: Make shallow argument to filecmp.dircmp keyword-only (p…
…ython#121767) It is our general practice to make new optional parameters keyword-only, even if the existing parameters are all positional-or-keyword. Passing this parameter as positional would look confusing and could be error-prone if additional parameters are added in the future.
Configuration menu - View commit details
-
Copy full SHA for 50eec50 - Browse repository at this point
Copy the full SHA 50eec50View commit details
Commits on Jul 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 48042c5 - Browse repository at this point
Copy the full SHA 48042c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8303d32 - Browse repository at this point
Copy the full SHA 8303d32View commit details -
pythongh-84978: Add float.from_number() and complex.from_number() (py…
…thonGH-26827) They are alternate constructors which only accept numbers (including objects with special methods __float__, __complex__ and __index__), but not strings.
Configuration menu - View commit details
-
Copy full SHA for 94bee45 - Browse repository at this point
Copy the full SHA 94bee45View commit details -
pythongh-121785: Remove unused code from codecs.py (pythonGH-121787)
It was only needed for non-Unicode Python builds, which aren't supported anymore.
Configuration menu - View commit details
-
Copy full SHA for 74fbdcd - Browse repository at this point
Copy the full SHA 74fbdcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6522f0e - Browse repository at this point
Copy the full SHA 6522f0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 985dd8e - Browse repository at this point
Copy the full SHA 985dd8eView commit details -
pythongh-76785: Expand How Interpreter Queues Handle Interpreter Fina…
…lization (pythongh-116431) Any cross-interpreter mechanism for passing objects between interpreters must be very careful to respect isolation, even when the object is effectively immutable (e.g. int, str). Here this especially relates to when an interpreter sends one of its objects, and then is destroyed while the inter-interpreter machinery (e.g. queue) still holds a reference to the object. When I added interpreters.Queue, I dealt with that case (using an atexit hook) by silently removing all items from the queue that were added by the finalizing interpreter. Later, while working on concurrent.futures.InterpreterPoolExecutor (pythongh-116430), I noticed it was somewhat surprising when items were silently removed from the queue when the originating interpreter was destroyed. (See my comment on that PR.) It took me a little while to realize what was going on. I expect that users, which much less context than I have, would experience the same pain. My approach, here, to improving the situation is to give users three options: 1. return a singleton (interpreters.queues.UNBOUND) from Queue.get() in place of each removed item 2. raise an exception (interpreters.queues.ItemInterpreterDestroyed) from Queue.get() in place of each removed item 3. existing behavior: silently remove each item (i.e. Queue.get() skips each one) The default will now be (1), but users can still explicitly opt in any of them, including to the silent removal behavior. The behavior for each item may be set with the corresponding Queue.put() call. and a queue-wide default may be set when the queue is created. (This is the same as I did for "synconly".)
Configuration menu - View commit details
-
Copy full SHA for 6b98b27 - Browse repository at this point
Copy the full SHA 6b98b27View commit details -
Configuration menu - View commit details
-
Copy full SHA for e904300 - Browse repository at this point
Copy the full SHA e904300View commit details -
pythongh-121359: make clean environment (no PYTHON* vars) for test_py…
…repl.TestMain (pythonGH-121672) Co-authored-by: Łukasz Langa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fd085a4 - Browse repository at this point
Copy the full SHA fd085a4View commit details -
pythongh-76785: Expand How Interpreter Channels Handle Interpreter Fi…
…nalization (pythongh-121805) See 6b98b27 for an explanation of the problem and solution. Here I've applied the solution to channels.
Configuration menu - View commit details
-
Copy full SHA for 8b209fd - Browse repository at this point
Copy the full SHA 8b209fdView commit details -
pythongh-121245: Refactor site.register_readline() (pythonGH-121659)
Co-authored-by: Łukasz Langa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05d4137 - Browse repository at this point
Copy the full SHA 05d4137View commit details -
pythongh-117657: Skip tests that fork with threads under TSan (python…
…#121599) This avoids messages like: ThreadSanitizer: starting new threads after multi-threaded fork is not supported. Dying (set die_after_fork=0 to override)
Configuration menu - View commit details
-
Copy full SHA for 82a4dac - Browse repository at this point
Copy the full SHA 82a4dacView commit details -
pythongh-121794: Don't set
ob_tid
to zero in fast-path dealloc (pyt……hon#121799) We should maintain the invariant that a zero `ob_tid` implies the refcount fields are merged. * Move the assignment in `_Py_MergeZeroLocalRefcount` to immediately before the refcount merge. * Update `_PyTrash_thread_destroy_chain` to set `ob_ref_shared` to `_Py_REF_MERGED` when setting `ob_tid` to zero. Also check this invariant with assertions in the GC in debug builds. That uncovered a bug when running out of memory during GC.
Configuration menu - View commit details
-
Copy full SHA for d23be39 - Browse repository at this point
Copy the full SHA d23be39View commit details -
pythongh-121790: Fix interactive console initialization (python#121793)
Co-authored-by: Łukasz Langa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e5c7216 - Browse repository at this point
Copy the full SHA e5c7216View commit details -
pythongh-121605: Fix test hang when pyrepl is not available (pythonGH…
…-121820) The fallback repl does not support "exit" without parentheses, so the test would hang until the timeout expired.
Configuration menu - View commit details
-
Copy full SHA for 4134261 - Browse repository at this point
Copy the full SHA 4134261View commit details -
pythongh-121814: Only check f_trace_opcodes if Python frame exists (p…
…ython#121818) Co-authored-by: Matt Wozniski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2b1b689 - Browse repository at this point
Copy the full SHA 2b1b689View commit details -
pythongh-121610: pyrepl - handle extending blocks when multi-statemen…
…t blocks are pasted (pythonGH-121757) console.compile with the "single" param throws an exception when there are multiple statements, never allowing to adding newlines to a pasted code block (pythongh-121610) This add a few extra checks to allow extending when in an indented block, and tests for a few examples Co-authored-by: Łukasz Langa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7d111da - Browse repository at this point
Copy the full SHA 7d111daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 498a94c - Browse repository at this point
Copy the full SHA 498a94cView commit details
Commits on Jul 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2bac2b8 - Browse repository at this point
Copy the full SHA 2bac2b8View commit details -
pythongh-120831: Increase the default minimum supported iOS version t…
…o 13.0 (python#121250) Increases the default minimum iOS version to 13.0. Co-authored-by: Erlend E. Aasland <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7e91e0d - Browse repository at this point
Copy the full SHA 7e91e0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1755df7 - Browse repository at this point
Copy the full SHA 1755df7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b6d475 - Browse repository at this point
Copy the full SHA 8b6d475View commit details -
pythongh-120317: Lock around global state in the tokenize module (pyt…
…hon#120318) Co-authored-by: Pablo Galindo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8549559 - Browse repository at this point
Copy the full SHA 8549559View commit details -
pythongh-120522: Revert "Add a
--with-app-store-compliance
configur……e option to patch out problematic code" (pythongh-120984) (python#121844) This reverts commit 48cd104 prior to the release of 3.13.0b4 to allow for additional review time.
Configuration menu - View commit details
-
Copy full SHA for f27593a - Browse repository at this point
Copy the full SHA f27593aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0b205b - Browse repository at this point
Copy the full SHA a0b205bView commit details -
pythongh-113993: For string interning, do not rely on (or assert) _Py…
…_IsImmortal (pythonGH-121358) Older stable ABI extensions are allowed to make immortal objects mortal. Instead, use `_PyUnicode_STATE` (`interned` and `statically_allocated`).
Configuration menu - View commit details
-
Copy full SHA for 956270d - Browse repository at this point
Copy the full SHA 956270dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7a099d - Browse repository at this point
Copy the full SHA d7a099dView commit details -
pythongh-113993: Don't immortalize in PyUnicode_InternInPlace; keep i…
…mmortalizing in other API (python#121364) * Switch PyUnicode_InternInPlace to _PyUnicode_InternMortal, clarify docs * Document immortality in some functions that take `const char *` This is PyUnicode_InternFromString; PyDict_SetItemString, PyObject_SetAttrString; PyObject_DelAttrString; PyUnicode_InternFromString; and the PyModule_Add convenience functions. Always point out a non-immortalizing alternative. * Don't immortalize user-provided attr names in _ctypes
Configuration menu - View commit details
-
Copy full SHA for b4aedb2 - Browse repository at this point
Copy the full SHA b4aedb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 263c7e6 - Browse repository at this point
Copy the full SHA 263c7e6View commit details -
pythongh-59022: Added tests for
pkgutil.extend_path
(python#59022) (p……ythonGH-121673) This adds tests for the documented behaviour of `pkgutil.extend_path` regarding different argument types as well as for `*.pkg` files.
Configuration menu - View commit details
-
Copy full SHA for 8f25321 - Browse repository at this point
Copy the full SHA 8f25321View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69c68de - Browse repository at this point
Copy the full SHA 69c68deView commit details -
Configuration menu - View commit details
-
Copy full SHA for c46d64e - Browse repository at this point
Copy the full SHA c46d64eView commit details -
pythongh-121860: Fix crash when materializing managed dict (python#12…
…1866) The object's inline values may be marked invalid if the materialized dict was already initialized and then deleted.
Configuration menu - View commit details
-
Copy full SHA for 162b41f - Browse repository at this point
Copy the full SHA 162b41fView commit details -
pythongh-118934: Make PyEval_GetLocals return borrowed reference (pyt…
…hon#119769) Co-authored-by: Alyssa Coghlan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e65cb4c - Browse repository at this point
Copy the full SHA e65cb4cView commit details -
pythonGH-120371: Add WASI SDK 22 support (pythonGH-121870)
Required disabling stub functions now provided by wasi-libc.
Configuration menu - View commit details
-
Copy full SHA for f589f26 - Browse repository at this point
Copy the full SHA f589f26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e35dd6 - Browse repository at this point
Copy the full SHA 4e35dd6View commit details -
pythonGH-121583: Remove dependency from pystats.h to internal header …
…file (pythonGH-121587) Co-authored-by: Peter Bierma <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f036a46 - Browse repository at this point
Copy the full SHA f036a46View commit details
Commits on Jul 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 941b3b7 - Browse repository at this point
Copy the full SHA 941b3b7View commit details -
pythongh-121453: Update the
Doc/templates/download.html
download fi……les size estimates and support download `.texi` format. (python#121454) Co-authored-by: Hugo van Kemenade <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3761117 - Browse repository at this point
Copy the full SHA 3761117View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6c7d8d - Browse repository at this point
Copy the full SHA f6c7d8dView commit details -
pythongh-121834: Improve
complex
C-API docs (python#121835)Co-authored-by: Sergey B Kirpichev <[email protected]> Co-authored-by: Petr Viktorin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 72dccd6 - Browse repository at this point
Copy the full SHA 72dccd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc9cc91 - Browse repository at this point
Copy the full SHA dc9cc91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d98a4d - Browse repository at this point
Copy the full SHA 5d98a4dView commit details -
pythongh-121849: Fix PyUnicodeWriter_WriteSubstring() crash if len=0 (p…
…ython#121896) Do nothing if start=end.
Configuration menu - View commit details
-
Copy full SHA for bfdbeac - Browse repository at this point
Copy the full SHA bfdbeacView commit details -
Configuration menu - View commit details
-
Copy full SHA for cffad5c - Browse repository at this point
Copy the full SHA cffad5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6682d91 - Browse repository at this point
Copy the full SHA 6682d91View commit details -
pythongh-78889: Stop IDLE Shell freezes from sys.stdout.shell.xyz (py…
…thon#121876) Problem occurred when attribute xyz could not be pickled. Since this is not trivial to selectively fix, block all attributes (other than 'width'). IDLE does not access them and they are private implementation details.
Configuration menu - View commit details
-
Copy full SHA for 58753f3 - Browse repository at this point
Copy the full SHA 58753f3View commit details -
pythongh-120678: pyrepl: Include globals from modules passed with
-i
(pythonGH-120904) Co-authored-by: Łukasz Langa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ac07451 - Browse repository at this point
Copy the full SHA ac07451View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19cbf8f - Browse repository at this point
Copy the full SHA 19cbf8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4bc84d - Browse repository at this point
Copy the full SHA f4bc84dView commit details -
pythongh-121528: Fix _PyObject_Init() assertion for stable ABI (pytho…
…n#121725) Add _Py_IsImmortalLoose() function for assertions.
Configuration menu - View commit details
-
Copy full SHA for b826e45 - Browse repository at this point
Copy the full SHA b826e45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51da3df - Browse repository at this point
Copy the full SHA 51da3dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for f113c1a - Browse repository at this point
Copy the full SHA f113c1aView commit details -
pythongh-121621: Move asyncio_running_loop to private struct (python#…
…121939) This avoids changing the ABI and keeps the field in the private struct.
Configuration menu - View commit details
-
Copy full SHA for 81fd625 - Browse repository at this point
Copy the full SHA 81fd625View commit details
Commits on Jul 18, 2024
-
pythongh-121266: Remove Py_ALWAYS_INLINE in dictobject.c (python#121493)
compare_unicode_generic(), compare_unicode_unicode() and compare_generic() are callbacks used by do_lookup(). When enabling assertions, it's not possible to inline these functions.
Configuration menu - View commit details
-
Copy full SHA for c5a6b9a - Browse repository at this point
Copy the full SHA c5a6b9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 63ddd28 - Browse repository at this point
Copy the full SHA 63ddd28View commit details -
pythongh-121874: Define audit-event open parameters consistently (pyt…
…honGH-121883) Use same names for parameters to avoid triggering a race-condition in Sphinx that causes non-deterministic output.
Configuration menu - View commit details
-
Copy full SHA for 24cf867 - Browse repository at this point
Copy the full SHA 24cf867View commit details
Commits on Jul 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 27db060 - Browse repository at this point
Copy the full SHA 27db060View commit details
Commits on Jul 25, 2024
-
Co-authored-by: Petr Viktorin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0b98ed4 - Browse repository at this point
Copy the full SHA 0b98ed4View commit details