9d34f60 | Thomas Wouters | 15 February 2024, 13:30:16 UTC | Python 3.13.0a4 | 15 February 2024, 13:38:42 UTC |
b0e5c35 | T. Wouters | 15 February 2024, 13:24:13 UTC | gh-115490: Work around test.support.interpreters.channels not handling unloading (#115515) Work around test.support.interpreters.channels not handling unloading, which regrtest does when running tests sequentially, by explicitly skipping the unloading of test.support.interpreters and its submodules. This can be rolled back once test.support.interpreters.channels supports unloading, if we are keeping sequential runs in the same process around. | 15 February 2024, 13:24:13 UTC |
a0149fa | Erlend E. Aasland | 15 February 2024, 13:21:31 UTC | gh-113317: Argument Clinic: remove global clinic instance (#115517) | 15 February 2024, 13:21:31 UTC |
7f074a7 | Erlend E. Aasland | 15 February 2024, 12:22:21 UTC | gh-113317: Argument Clinic: don't use global state in warn() and fail() (#115510) | 15 February 2024, 12:22:21 UTC |
98ee4ec | Erlend E. Aasland | 15 February 2024, 12:10:32 UTC | gh-113317: Argument Clinic: don't use fail() in CLI (#115513) | 15 February 2024, 12:10:32 UTC |
edb59d5 | Martijn Pieters | 15 February 2024, 11:08:45 UTC | bpo-38364: unwrap partialmethods just like we unwrap partials (#16600) * bpo-38364: unwrap partialmethods just like we unwrap partials The inspect.isgeneratorfunction, inspect.iscoroutinefunction and inspect.isasyncgenfunction already unwrap functools.partial objects, this patch adds support for partialmethod objects as well. Also: Rename _partialmethod to __partialmethod__. Since we're checking this attribute on arbitrary function-like objects, we should use the namespace reserved for core Python. --------- Co-authored-by: Petr Viktorin <encukou@gmail.com> | 15 February 2024, 11:08:45 UTC |
9e3729b | David Hewitt | 15 February 2024, 10:05:20 UTC | gh-114626: add PyCFunctionFast and PyCFunctionFastWithKeywords (GH-114627) Co-authored-by: Petr Viktorin <encukou@gmail.com> | 15 February 2024, 10:05:20 UTC |
32f8ab1 | Erlend E. Aasland | 15 February 2024, 08:45:21 UTC | gh-114258: Refactor Argument Clinic function name parser (#114930) Refactor state_modulename_name() of the parsing state machine, by adding helpers for the sections that deal with ...: 1. parsing the function name 2. normalizing "function kind" 3. dealing with cloned functions 4. resolving return converters 5. adding the function to the DSL parser | 15 February 2024, 08:45:21 UTC |
dc978f6 | mpage | 15 February 2024, 08:22:47 UTC | gh-112050: Make collections.deque thread-safe in free-threaded builds (#113830) Use critical sections to make deque methods that operate on mutable state thread-safe when the GIL is disabled. This is mostly accomplished by using the @critical_section Argument Clinic directive, though there are a few places where this was not possible and critical sections had to be manually acquired/released. | 15 February 2024, 08:22:47 UTC |
4742047 | Ned Batchelder | 15 February 2024, 07:14:03 UTC | docs: use consistent .append() in dis.rst (#115434) The STACK variable is described as like a Python list, so pushing to it should be done with .append() consistently throughout. | 15 February 2024, 07:14:03 UTC |
4ebf8fb | Ken Jin | 15 February 2024, 06:02:18 UTC | gh-115480: Type and constant propagation for int BINARY_OPs (GH-115478) | 15 February 2024, 06:02:18 UTC |
ed23839 | Ken Jin | 15 February 2024, 06:01:24 UTC | Trigger JIT CI with optimizer files (#115483) * Trigger JIT CI with optimizer files | 15 February 2024, 06:01:24 UTC |
18343c0 | Brett Cannon | 15 February 2024, 00:51:23 UTC | GH-113516: don't set `LDSHARED` when building for WASI (GH-115495) | 15 February 2024, 00:51:23 UTC |
4684301 | Eric Snow | 14 February 2024, 23:07:22 UTC | gh-115482: Assume the Main Interpreter is Always Running "main" (gh-115484) This is a temporary fix to unblock embedders that do not call Py_Main(). _PyInterpreterState_IsRunningMain() will always return true for the main interpreter, even in corner cases where it technically should not. The (future) full solution will do the right thing in those corner cases. | 14 February 2024, 23:07:22 UTC |
3e7b7df | Victor Stinner | 14 February 2024, 22:35:06 UTC | gh-114570: Add PythonFinalizationError exception (#115352) Add PythonFinalizationError exception. This exception derived from RuntimeError is raised when an operation is blocked during the Python finalization. The following functions now raise PythonFinalizationError, instead of RuntimeError: * _thread.start_new_thread() * subprocess.Popen * os.fork() * os.fork1() * os.forkpty() Morever, _winapi.Overlapped finalizer now logs an unraisable PythonFinalizationError, instead of an unraisable RuntimeError. | 14 February 2024, 22:35:06 UTC |
326119d | Sam Gross | 14 February 2024, 21:41:29 UTC | gh-112529: Use _PyThread_Id() in mimalloc in free-threaded build (#115488) The free-threaded GC uses mimallocs segment thread IDs to restore the overwritten `ob_tid` thread ids in PyObjects. For that reason, it's important that PyObjects and mimalloc use the same identifiers. | 14 February 2024, 21:41:29 UTC |
a95b1a5 | mpage | 14 February 2024, 20:15:05 UTC | gh-115041: Add wrappers that are atomic only in free-threaded builds (#115046) These are intended to be used in places where atomics are required in free-threaded builds but not in the default build. We don't want to introduce the potential performance overhead of an atomic operation in the default build. | 14 February 2024, 20:15:05 UTC |
d9f4cbe | Ken Jin | 14 February 2024, 19:48:11 UTC | Add myself to various CODEOWNERS (GH-115481) | 14 February 2024, 19:48:11 UTC |
889cc43 | Seth Michael Larson | 14 February 2024, 19:47:15 UTC | gh-112302: Move pip SBOM discovery to release-tools (#115360) | 14 February 2024, 19:47:15 UTC |
49e8fdc | Erlend E. Aasland | 14 February 2024, 18:03:20 UTC | Docs: spell out sentence about ndbm/gdbm file formats (#115470) | 14 February 2024, 18:03:20 UTC |
17773fc | Sam Gross | 14 February 2024, 17:27:39 UTC | gh-115441: Fix missing braces warning (#115460) Removes `_py_object_state_INIT`. We want to initialize the `object_state` field to zero. | 14 February 2024, 17:27:39 UTC |
a2d4281 | Donghee Na | 14 February 2024, 17:00:50 UTC | gh-112087: Make __sizeof__ and listiter_{len, next} to be threadsafe (gh-114843) | 14 February 2024, 17:00:50 UTC |
4b2d178 | Seth Michael Larson | 14 February 2024, 16:29:06 UTC | gh-115399: Upgrade bundled libexpat to 2.6.0 (#115431) | 14 February 2024, 16:29:06 UTC |
6713601 | kcatss | 14 February 2024, 16:08:26 UTC | gh-115243: Fix crash in deque.index() when the deque is concurrently modified (GH-115247) | 14 February 2024, 16:08:26 UTC |
81e140d | Erlend E. Aasland | 14 February 2024, 15:36:13 UTC | Docs: reword sentences about dbm submodule traits (#114609) Don't repeatedly say that keys and values are coerced into bytes. | 14 February 2024, 15:36:13 UTC |
bb791c7 | Brian Schubert | 14 February 2024, 15:01:27 UTC | gh-115392: Fix doctest reporting incorrect line numbers for decorated functions (#115440) | 14 February 2024, 15:01:27 UTC |
6755c4e | Stanislav Lyu | 14 February 2024, 13:52:42 UTC | gh-115403: Remove extra colon after "Examples" in datetime documentation (#115452) | 14 February 2024, 13:52:42 UTC |
6d9141e | Erlend E. Aasland | 14 February 2024, 13:47:19 UTC | gh-100414: Make dbm.sqlite3 the preferred dbm backend (#115447) | 14 February 2024, 13:47:19 UTC |
ec8909a | Nikita Sobolev | 14 February 2024, 13:31:28 UTC | gh-115450: Fix direct invocation of `test_desctut` (#115451) | 14 February 2024, 13:31:28 UTC |
029ec91 | Erlend E. Aasland | 14 February 2024, 13:16:09 UTC | gh-100414: Skip test_dbm_sqlite3 if sqlite3 is unavailable (#115449) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | 14 February 2024, 13:16:09 UTC |
dd5e4d9 | Erlend E. Aasland | 14 February 2024, 11:14:56 UTC | gh-100414: Add SQLite backend to dbm (#114481) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | 14 February 2024, 11:14:56 UTC |
57e4c81 | Ken Jin | 14 February 2024, 11:12:52 UTC | gh-114058: Fix flaky globals to constant test (#115423) Co-authored-by: Victor Stinner <vstinner@python.org> | 14 February 2024, 11:12:52 UTC |
3fd2ad8 | Alex Waygood | 14 February 2024, 10:41:17 UTC | ftplib docs: `timeout` doesn't have to be a whole number (#115443) | 14 February 2024, 10:41:17 UTC |
46245b0 | Hugo van Kemenade | 14 February 2024, 06:55:00 UTC | Docs: Use substitutions instead of manual version updates (#115416) | 14 February 2024, 06:55:00 UTC |
f15795c | Donghee Na | 14 February 2024, 00:32:51 UTC | gh-111968: Rename freelist related struct names to Eric's suggestion (gh-115329) | 14 February 2024, 00:32:51 UTC |
518af37 | T. Wouters | 13 February 2024, 23:58:49 UTC | gh-115421: Update the list of installed test subdirectories. (#115422) Update the list of installed test subdirectories with all newly added subdirectories of Lib/test, so that the tests in those directories are properly installed. | 13 February 2024, 23:58:49 UTC |
514b1c9 | Eric Snow | 13 February 2024, 21:56:49 UTC | gh-76785: Improved Subinterpreters Compatibility with 3.12 (gh-115424) For the most part, these changes make is substantially easier to backport subinterpreter-related code to 3.12, especially the related modules (e.g. _xxsubinterpreters). The main motivation is to support releasing a PyPI package with the 3.13 capabilities compiled for 3.12. A lot of the changes here involve either hiding details behind macros/functions or splitting up some files. | 13 February 2024, 21:56:49 UTC |
206f73d | Kirill Podoprigora | 13 February 2024, 20:49:13 UTC | gh-115391: Fix compiler warning in `Objects/longobject.c` (GH-115368) | 13 February 2024, 20:49:13 UTC |
4deb705 | Sam Gross | 13 February 2024, 19:35:06 UTC | gh-115383: Use runner version to compute config.cache key (#115409) | 13 February 2024, 19:35:06 UTC |
225cd55 | Kirill Podoprigora | 13 February 2024, 17:45:37 UTC | gh-115417: Remove accidentally left debugging print (#115418) gh-115417: Remove debugging print | 13 February 2024, 17:45:37 UTC |
02b6323 | Ezio Melotti | 13 February 2024, 17:07:16 UTC | Remove more stray backticks from NEWS files (#115374) * Remove stray backtick from NEWS file * Remove more stray backticks from 3.12.0a1.rst * Remove another stray backtick in 3.13.0a1.rst | 13 February 2024, 17:07:16 UTC |
681778c | Mark Shannon | 13 February 2024, 16:28:19 UTC | GH-113710: Improve `_SET_IP` and `_CHECK_VALIDITY` (GH-115248) | 13 February 2024, 16:28:19 UTC |
de07941 | Christophe Papazian | 13 February 2024, 16:10:00 UTC | gh-115405: add versionadded tag for co_qualname in code objects documentation (#115411) | 13 February 2024, 16:10:00 UTC |
5719aa2 | qqwqqw689 | 13 February 2024, 14:23:10 UTC | gh-113437: Update documentation about PyUnicode_AsWideChar() function (GH-113455) | 13 February 2024, 14:23:10 UTC |
f9f6156 | Mark Shannon | 13 February 2024, 14:16:37 UTC | GH-113710: Backedge counter improvements. (GH-115166) | 13 February 2024, 14:16:37 UTC |
7cce857 | Ken Jin | 13 February 2024, 13:24:48 UTC | gh-114058: Foundations of the Tier2 redundancy eliminator (GH-115085) --------- Co-authored-by: Mark Shannon <9448417+markshannon@users.noreply.github.com> Co-authored-by: Jules <57632293+JuliaPoo@users.noreply.github.com> Co-authored-by: Guido van Rossum <gvanrossum@users.noreply.github.com> | 13 February 2024, 13:24:48 UTC |
ccc76c3 | Nikita Sobolev | 13 February 2024, 10:40:40 UTC | gh-108303: Move all `pydoc` related test files to new `test.test_pydoc` package (#114506) | 13 February 2024, 10:40:40 UTC |
ca3604a | Serhiy Storchaka | 13 February 2024, 10:21:20 UTC | gh-115252: Fix test_enum with -OO mode again (GH-115334) | 13 February 2024, 10:21:20 UTC |
d823c23 | Mariusz Felisiak | 13 February 2024, 08:47:40 UTC | gh-115032: Update DictConfigurator.configure_formatter() comment about `fmt` retry. (GH-115303) | 13 February 2024, 08:47:40 UTC |
0a6e1a4 | Hugo van Kemenade | 13 February 2024, 06:31:49 UTC | Update "Using Python on a Mac" (#115024) | 13 February 2024, 06:31:49 UTC |
ea25f32 | Steve Dower | 13 February 2024, 00:28:35 UTC | gh-89240: Enable multiprocessing on Windows to use large process pools (GH-107873) We add _winapi.BatchedWaitForMultipleObjects to wait for larger numbers of handles. This is an internal module, hence undocumented, and should be used with caution. Check the docstring for info before using BatchedWaitForMultipleObjects. | 13 February 2024, 00:28:35 UTC |
2f07786 | Russell Keith-Magee | 12 February 2024, 23:10:24 UTC | gh-114099: Refactor configure and Makefile to accomodate non-macOS frameworks (#115120) Part of the PEP 730 work to add iOS support. This change lays the groundwork for introducing iOS/tvOS/watchOS frameworks; it includes the structural refactoring needed so that iOS branches can be added into in a subsequent PR. Summary of changes: * Updates config.sub to the 2024-01-01 release. This is the "as released" version of config.sub. * Adds a RESSRCDIR variable to allow sharing of macOS and iOS Makefile steps. * Adds an INSTALLTARGETS variable so platforms can customise which targets are actually installed. This will be used to exclude certain targets (e.g., binaries, manfiles) from iOS framework installs. * Adds a PYTHONFRAMEWORKINSTALLNAMEPREFIX variable; this is used as the install name for the library. This is needed to allow for iOS frameworks to specify an @rpath-based install name. * Evaluates MACHDEP earlier in the configure process so that ac_sys_system is available. * Modifies _PYTHON_HOST_PLATFORM evaluation for cross-platform builds so that the CPU architecture is differentiated from the host identifier. This will be used to generate a _PYTHON_HOST_PLATFORM definition that includes ABI information, not just CPU architecture. * Differentiates between SOABI_PLATFORM and PLATFORM_TRIPLET. SOABI_PLATFORM is used in binary module names, and includes the ABI, but not the OS or CPU architecture (e.g., math.cpython-313-iphonesimulator.dylib). PLATFORM_TRIPLET is used as the sys._multiarch value, and on iOS will contains the ABI and architecture (e.g., iphoneos-arm64). This differentiation hasn't historically been needed because while macOS is a multiarch platform, it uses a bare darwin as PLATFORM_TRIPLE. * Removes the use of the deprecated -Wl,-single_module flag when compiling macOS frameworks. * Some whitespace normalisation where there was a mix of spaces and tabs in a single block. | 12 February 2024, 23:10:24 UTC |
10756b1 | Steve Dower | 12 February 2024, 22:28:36 UTC | gh-111140: Minor doc fixes for PyLong_AsNativeBytes (GH-115375) | 12 February 2024, 22:28:36 UTC |
341d787 | Hugo van Kemenade | 12 February 2024, 22:17:33 UTC | gh-115317: Rewrite changelog filter to use vanilla JavaScript (#115324) Co-authored-by: Tomas R <tomas.roun8@gmail.com> | 12 February 2024, 22:17:33 UTC |
bee2a11 | Kirill Podoprigora | 12 February 2024, 20:52:25 UTC | gh-115258: Temporarily skip some `queue` tests on all platforms (#115361) | 12 February 2024, 20:52:25 UTC |
7861dfd | Steve Dower | 12 February 2024, 20:13:13 UTC | gh-111140: Adds PyLong_AsNativeBytes and PyLong_FromNative[Unsigned]Bytes functions (GH-114886) | 12 February 2024, 20:13:13 UTC |
a82fbc1 | Ezio Melotti | 12 February 2024, 19:23:45 UTC | Remove stray backtick in NEWS entry (#115356) | 12 February 2024, 19:23:45 UTC |
4297d73 | Nikita Sobolev | 12 February 2024, 18:31:07 UTC | gh-115285: Fix `test_dataclasses` with `-OO` mode (#115286) | 12 February 2024, 18:31:07 UTC |
de7d67b | mpage | 12 February 2024, 17:44:00 UTC | gh-114271: Make `PyInterpreterState.threads.count` thread-safe in free-threaded builds (gh-115093) Use atomics to mutate PyInterpreterState.threads.count. | 12 February 2024, 17:44:00 UTC |
879f454 | Petr Viktorin | 12 February 2024, 17:13:10 UTC | gh-110850: Add PyTime_t C API (GH-115215) * gh-110850: Add PyTime_t C API Add PyTime_t API: * PyTime_t type. * PyTime_MIN and PyTime_MAX constants. * PyTime_AsSecondsDouble(), PyTime_Monotonic(), PyTime_PerfCounter() and PyTime_GetSystemClock() functions. Co-authored-by: Victor Stinner <vstinner@python.org> | 12 February 2024, 17:13:10 UTC |
c39272e | Steve Dower | 12 February 2024, 17:05:38 UTC | gh-115049: Fix py.exe failing when user has no LocalAppData. (GH-115185) Also ensure we always display a debug message or error for RC_INTERNAL_ERROR | 12 February 2024, 17:05:38 UTC |
91bf01d | Nikita Sobolev | 12 February 2024, 16:27:27 UTC | gh-87804: Fix the refleak in error handling of `_pystatvfs_fromstructstatfs` (#115335) It was the macro expansion! Sorry! | 12 February 2024, 16:27:27 UTC |
9182201 | Serhiy Storchaka | 12 February 2024, 16:24:45 UTC | gh-115233: Fix an example in the Logging Cookbook (GH-115325) Also add more tests for LoggerAdapter. Also support stacklevel in LoggerAdapter._log(). | 12 February 2024, 16:24:45 UTC |
8144661 | Mark Shannon | 12 February 2024, 16:07:38 UTC | GH-113710: Fix updating of dict version tag and add watched dict stats (GH-115221) | 12 February 2024, 16:07:38 UTC |
93ac78a | Kirill Podoprigora | 12 February 2024, 16:05:30 UTC | gh-115058: Add ``reset_rare_event_counters`` function in `_testinternalcapi` (GH-115128) | 12 February 2024, 16:05:30 UTC |
95ebd45 | Nikita Sobolev | 12 February 2024, 14:23:54 UTC | Remove outdated comment about py3.6 in `test_typing` (#115318) | 12 February 2024, 14:23:54 UTC |
dc8893a | Hugo van Kemenade | 12 February 2024, 14:16:16 UTC | Add missing sections to blurbs (#114553) | 12 February 2024, 14:16:16 UTC |
46190d9 | Eugene Toder | 12 February 2024, 12:44:56 UTC | gh-89039: Call subclass constructors in datetime.*.replace (GH-114780) When replace() method is called on a subclass of datetime, date or time, properly call derived constructor. Previously, only the base class's constructor was called. Also, make sure to pass non-zero fold values when creating subclasses in various methods. Previously, fold was silently ignored. | 12 February 2024, 12:44:56 UTC |
92483b2 | Hugo van Kemenade | 12 February 2024, 12:40:41 UTC | gh-101100: Fix Sphinx warnings in `whatsnew/2.7.rst` and related (#115319) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | 12 February 2024, 12:40:41 UTC |
705c76d | Nikita Sobolev | 12 February 2024, 11:59:58 UTC | gh-114785: Remove content from `Porting from Python2` how-to (#114805) Keep the page though, because people might still rely on it (the traffic shows that they do). Instead of our own manual we now give links to the 3rd-party ones. Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | 12 February 2024, 11:59:58 UTC |
72340d1 | John Belmonte | 12 February 2024, 11:17:51 UTC | gh-114563: C decimal falls back to pydecimal for unsupported format strings (GH-114879) Immediate merits: * eliminate complex workarounds for 'z' format support (NOTE: mpdecimal recently added 'z' support, so this becomes efficient in the long term.) * fix 'z' format memory leak * fix 'z' format applied to 'F' * fix missing '#' format support Suggested and prototyped by Stefan Krah. Fixes gh-114563, gh-91060 Co-authored-by: Stefan Krah <skrah@bytereef.org> | 12 February 2024, 11:17:51 UTC |
235cacf | Brandt Bucher | 12 February 2024, 09:04:36 UTC | GH-114695: Add `sys._clear_internal_caches` (GH-115152) | 12 February 2024, 09:04:36 UTC |
54bde5d | Nikita Sobolev | 12 February 2024, 07:27:12 UTC | gh-87804: Fix error handling and style in `_pystatvfs_fromstructstatfs` (#115236) | 12 February 2024, 07:27:12 UTC |
e1552fd | Skip Montanaro | 11 February 2024, 18:51:07 UTC | gh-101100: Clean up Doc/c-api/exceptions.rst and Doc/c-api/sys.rst (GH-114825) | 11 February 2024, 18:51:07 UTC |
cc573c7 | Nikita Sobolev | 11 February 2024, 16:07:08 UTC | gh-115282: Fix direct invocation of `test_traceback.py` (#115283) | 11 February 2024, 16:07:08 UTC |
2939ad0 | Serhiy Storchaka | 11 February 2024, 13:19:44 UTC | gh-97959: Fix rendering of routines in pydoc (GH-113941) * Class methods no longer have "method of builtins.type instance" note. * Corresponding notes are now added for class and unbound methods. * Method and function aliases now have references to the module or the class where the origin was defined if it differs from the current. * Bound methods are now listed in the static methods section. * Methods of builtin classes are now supported as well as methods of Python classes. | 11 February 2024, 13:19:44 UTC |
b104360 | Serhiy Storchaka | 11 February 2024, 11:06:43 UTC | gh-49766: Make date-datetime comparison more symmetric and flexible (GH-114760) Now the special comparison methods like `__eq__` and `__lt__` return NotImplemented if one of comparands is date and other is datetime instead of ignoring the time part and the time zone or forcefully return "not equal" or raise TypeError. It makes comparison of date and datetime subclasses more symmetric and allows to change the default behavior by overriding the special comparison methods in subclasses. It is now the same as if date and datetime was independent classes. | 11 February 2024, 11:06:43 UTC |
d9d6909 | Serhiy Storchaka | 11 February 2024, 10:45:58 UTC | gh-115011: Improve support of __index__() in setters of members with unsigned integer type (GH-115029) Setters for members with an unsigned integer type now support the same range of valid values for objects that has a __index__() method as for int. Previously, Py_T_UINT, Py_T_ULONG and Py_T_ULLONG did not support objects that has a __index__() method larger than LONG_MAX. Py_T_ULLONG did not support negative ints. Now it supports them and emits a RuntimeWarning. | 11 February 2024, 10:45:58 UTC |
d2c4baa | Serhiy Storchaka | 11 February 2024, 10:43:14 UTC | gh-97928: Partially restore the behavior of tkinter.Text.count() by default (GH-115031) By default, it preserves an inconsistent behavior of older Python versions: packs the count into a 1-tuple if only one or none options are specified (including 'update'), returns None instead of 0. Except that setting wantobjects to 0 no longer affects the result. Add a new parameter return_ints: specifying return_ints=True makes Text.count() always returning the single count as an integer instead of a 1-tuple or None. | 11 February 2024, 10:43:14 UTC |
5d2794a | Serhiy Storchaka | 11 February 2024, 10:38:07 UTC | gh-67837, gh-112998: Fix dirs creation in concurrent extraction (GH-115082) Avoid race conditions in the creation of directories during concurrent extraction in tarfile and zipfile. Co-authored-by: Samantha Hughes <shughes-uk@users.noreply.github.com> Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com> | 11 February 2024, 10:38:07 UTC |
bf75f1b | Soumendra Ganguly | 11 February 2024, 10:29:44 UTC | gh-85984: Add _POSIX_VDISABLE from unistd.h to termios module. (#114985) Signed-off-by: Soumendra Ganguly <soumendraganguly@gmail.com> Co-authored-by: Gregory P. Smith <greg@krypto.org> | 11 February 2024, 10:29:44 UTC |
aeffc7f | Serhiy Storchaka | 11 February 2024, 10:24:13 UTC | gh-79382: Fix recursive glob() with trailing "**" (GH-115134) Trailing "**" no longer allows to match files and non-existing paths in recursive glob(). | 11 February 2024, 10:24:13 UTC |
573acb3 | Serhiy Storchaka | 11 February 2024, 10:23:30 UTC | gh-115172: Fix explicit index extries for the C API (GH-115173) | 11 February 2024, 10:23:30 UTC |
4a08e7b | Serhiy Storchaka | 11 February 2024, 10:08:39 UTC | gh-115133: Fix tests for XMLPullParser with Expat 2.6.0 (GH-115164) Feeding the parser by too small chunks defers parsing to prevent CVE-2023-52425. Future versions of Expat may be more reactive. | 11 February 2024, 10:08:39 UTC |
4b75032 | Hood Chatham | 11 February 2024, 09:59:50 UTC | gh-114807: multiprocessing: don't raise ImportError if _multiprocessing is missing (#114808) `_multiprocessing` is only used under the `if _winapi:` block, this moves the import to be within the `_winapi` ImportError handling try/except for equivalent treatment. | 11 February 2024, 09:59:50 UTC |
1b89591 | Skip Montanaro | 11 February 2024, 09:21:10 UTC | gh-101100: Fix dangling refs in bdb.rst (#114983) Co-authored-by: AN Long <aisk@users.noreply.github.com> | 11 February 2024, 09:21:10 UTC |
f8e9c57 | Nikita Sobolev | 11 February 2024, 08:51:25 UTC | gh-115274: Fix direct invocation of `testmock/testpatch.py` (#115275) | 11 February 2024, 08:51:25 UTC |
1f23837 | Nikita Sobolev | 11 February 2024, 08:00:44 UTC | gh-115249: Fix `test_descr` with `-OO` mode (#115250) | 11 February 2024, 08:00:44 UTC |
1a6e213 | Sam Gross | 11 February 2024, 03:14:25 UTC | gh-115258: Temporarily disable test on Windows (#115269) The "test_shutdown_all_methods_in_many_threads" test times out on the Windows CI. This skips the test on Windows until we figure out the root cause. | 11 February 2024, 03:14:25 UTC |
4821f08 | Nikita Sobolev | 10 February 2024, 22:59:23 UTC | gh-101100: Fix sphinx warnings in `c-api/gcsupport.rst` (#114786) | 10 February 2024, 22:59:23 UTC |
b70a68f | Nikita Sobolev | 10 February 2024, 21:51:05 UTC | gh-115254: Fix `test_property` with `-00` mode (#115255) | 10 February 2024, 21:51:05 UTC |
3a5b38e | Nikita Sobolev | 10 February 2024, 21:48:28 UTC | gh-114670: Fix `_testbuffer` module initialization (#114672) | 10 February 2024, 21:48:28 UTC |
33f56b7 | Nikita Sobolev | 10 February 2024, 18:34:22 UTC | gh-115252: Fix `test_enum` with `-OO` mode (GH-115253) | 10 February 2024, 18:34:22 UTC |
6f93b4d | Barney Gale | 10 February 2024, 18:12:34 UTC | GH-115060: Speed up `pathlib.Path.glob()` by removing redundant regex matching (#115061) When expanding and filtering paths for a `**` wildcard segment, build an `re.Pattern` object from the subsequent pattern parts, rather than the entire pattern, and match against the `os.DirEntry` object prior to instantiating a path object. Also skip compiling a pattern when expanding a `*` wildcard segment. | 10 February 2024, 18:12:34 UTC |
9d1a353 | Mike Zimin | 10 February 2024, 15:59:46 UTC | gh-114894: add array.array.clear() method (#114919) Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: AN Long <aisk@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | 10 February 2024, 15:59:46 UTC |
5319c66 | Kirill Podoprigora | 10 February 2024, 14:37:19 UTC | gh-102840: Fix confused traceback when floordiv or mod operations happens between Fraction and complex objects (GH-102842) | 10 February 2024, 14:37:19 UTC |
597fad0 | Serhiy Storchaka | 10 February 2024, 13:17:33 UTC | gh-115059: Remove debugging code in test_io (GH-115240) | 10 February 2024, 13:17:33 UTC |
e2c4038 | Serhiy Storchaka | 10 February 2024, 10:21:35 UTC | gh-76763: Make chr() always raising ValueError for out-of-range values (GH-114882) Previously it raised OverflowError for very large or very small values. | 10 February 2024, 10:21:35 UTC |
6e222a5 | Ronald Oussoren | 10 February 2024, 10:16:45 UTC | GH-87804: Fix counter overflow in statvfs on macOS (#99570) On macOS the statvfs interface returns block counts as 32-bit integers, and that results in bad reporting for larger disks. Therefore reimplement statvfs in terms of statfs, which does use 64-bit integers for block counts. Tested using a sparse filesystem image of 100TB. | 10 February 2024, 10:16:45 UTC |
e19103a | Nikita Sobolev | 10 February 2024, 08:34:23 UTC | gh-114552: Update `__dir__` method docs: it allows returning an iterable (#114662) | 10 February 2024, 08:34:23 UTC |