https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
790ecf6 gh-110662: multiprocessing test_async_timeout() increase timeout (#110663) Increase timeout from 1 second to 30 seconds, if not longer. The important part is that apply_async() takes longer than TIMEOUT2. 11 October 2023, 02:36:06 UTC
1556f42 gh-110666: Fix multiprocessing test_terminate() elapsed (#110667) multiprocessing test_terminate() and test_wait_socket_slow() no longer test the CI performance: no longer check maximum elapsed time. Add CLOCK_RES constant: tolerate a difference of 100 ms. 11 October 2023, 01:49:09 UTC
f901f56 gh-110656: Fix logging test_post_fork_child_no_deadlock() if ASAN (#110657) Skip test_post_fork_child_no_deadlock() if Python is built with ASAN. Add support.HAVE_ASAN_FORK_BUG. 11 October 2023, 00:57:53 UTC
7ca4aaf gh-108277: test_os tolerates 1 ms diff for timerfd (#110661) 11 October 2023, 00:38:04 UTC
e07c37c gh-110647: Fix signal test_stress_modifying_handlers() (#110650) * cycle_handlers() now waits until at least one signal is received. * num_received_signals can be equal to num_sent_signals. 10 October 2023, 23:59:43 UTC
da0a68a GH-110109: Simplify pathlib test setup (#110308) Use the class under test to create files, directories and symlinks. 10 October 2023, 23:03:42 UTC
0d805b9 gh-108826: Document `dis` module CLI and rename `_test` function to `main` (#108827) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> 10 October 2023, 22:31:28 UTC
732532b gh-108303: Move all inspect test files to `test_inspect/` (#109607) 10 October 2023, 20:15:11 UTC
9cfb4e0 gh-110525: Add tests for internal `set` CAPI (GH-110630) 10 October 2023, 16:00:05 UTC
66a9b10 gh-110631: Set three-space indents for reST in EditorConfig (#110635) Set three-space indents in EditorConfig 10 October 2023, 14:36:19 UTC
5bc1b7f gh-109693: Update pycore_interp.h to use pyatomic.h (#110604) 10 October 2023, 14:17:08 UTC
f5edb56 GH-109408: Move the C file whitespace check from patchcheck to pre-commit (#109890) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 10 October 2023, 13:40:08 UTC
e24f9ae Don't doubly-parallelise sphinx-lint (#110617) 10 October 2023, 12:51:20 UTC
ce43d5f gh-110050: Adjust the newline position in the TypeError message of the random.seed call. (#110051) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 10 October 2023, 12:16:26 UTC
756062b gh-101100: Fix sphinx warnings in `library/socketserver.rst` (GH-110207) 10 October 2023, 11:44:19 UTC
7f702b2 gh-110388: Add tests for tty (GH-110394) 10 October 2023, 11:42:25 UTC
92a9e98 gh-81002: Add tests for termios (GH-110386) 10 October 2023, 11:35:15 UTC
344d3a2 gh-110590: Fix a bug where _sre.compile would overwrite exceptions (#110591) TypeError would be overwritten by OverflowError if 'code' param contained non-ints. 10 October 2023, 10:15:12 UTC
0362cbf gh-109595: Add -Xcpu_count=<n> cmdline for container users (#109667) --------- Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org> 10 October 2023, 10:00:09 UTC
5aa62a8 gh-110378: Fix test_async_gen_propagates_generator_exit in test_contextlib_async (#110500) It now fails if the original bug is not fixed, and no longer produce ResourceWarning with fixed code. 10 October 2023, 09:38:40 UTC
fc811c8 gh-110558: Enable ruff's pyupgrade rules when running on Argument Clinic (#110603) 10 October 2023, 09:35:36 UTC
757cc35 gh-84570: Implement Waiting in SendChannel.send() (gh-110565) We had been faking it (poorly). We will add timeouts separately. 10 October 2023, 09:35:14 UTC
46462ff gh-107652: Fix CIFuzz typo (#110602) 10 October 2023, 09:34:48 UTC
08ec4a1 GH-109408: Move the Python file whitespace check from patchcheck to pre-commit (#109891) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 10 October 2023, 09:17:53 UTC
982f1b7 Remove an old macro from executor.c (#110597) 10 October 2023, 08:45:23 UTC
13380da GH-104584: Fix refleak when tracing through calls (GH-110593) 10 October 2023, 08:29:48 UTC
d5ec77f Add some 'meta hooks' to our pre-commit config (#110587) 10 October 2023, 08:21:58 UTC
7426ed0 gh-109408: Add the docs whitespace check from patchcheck to pre-commit (#109854) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 10 October 2023, 08:11:51 UTC
7b2764e gh-110558: Run ruff on Argument Clinic in CI (#110559) 10 October 2023, 07:52:39 UTC
96fed66 gh-110378: Close invalid generators in contextmanager and asynccontextmanager (GH-110499) contextmanager and asynccontextmanager context managers now close an invalid underlying generator object that yields more then one value. 10 October 2023, 07:43:04 UTC
def7ea5 Fix CIFuzz build (#110576) 10 October 2023, 06:44:57 UTC
67e8d41 gh-109693: Use pyatomic.h for signal module (gh-110480) 09 October 2023, 23:26:29 UTC
bdbe43c Remove unused `SPHINXLINT` var from `Doc/Makefile`. (#110570) Remove unused `SPHINXLINT` var. 09 October 2023, 22:30:23 UTC
3b1580a gh-78469: Declare missing sethostname for Solaris 10 (#109447) Add OS version specific macro for Solaris: Py_SUNOS_VERSION. 09 October 2023, 21:18:05 UTC
0050670 gh-106765: Updates Windows installer build instructions to clarify system requirements (GH-110566) 09 October 2023, 21:15:19 UTC
ea7b53f gh-107652: Set up CIFuzz to run fuzz targets continuously (#107653) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 09 October 2023, 15:30:10 UTC
326c6c4 gh-110519: Improve deprecation warning in the gettext module (#110520) Deprecation warning about non-integer numbers in gettext now always refers to the line in the user code where gettext function or method is used. Previously, it could refer to a line in gettext code. Also, increase test coverage for NullTranslations and domain-aware functions like dngettext(). 09 October 2023, 13:45:22 UTC
7bd560c gh-76785: Add SendChannel.send_buffer() (#110246) (This is still a test module.) 09 October 2023, 13:39:51 UTC
f4cb0d2 gh-109191: Fix build with newer editline (gh-110239) 09 October 2023, 13:21:20 UTC
12cc679 gh-110437: Allow overriding VCRuntimeDLL with a semicolon separated list of DLLs to bundle (GH-110470) 09 October 2023, 11:17:42 UTC
ea39c87 gh-110525: Cover PySet_Add corner case with frozenset objects (GH-110544) 09 October 2023, 11:04:49 UTC
89df5b7 gh-110549: Remove unused includes of <stddef.h> in _testcapi (GH-110552) 09 October 2023, 10:37:57 UTC
48419a5 gh-109286: Update macOS installer to use SQLite 3.43.1 (#110482) 09 October 2023, 10:05:50 UTC
5e7edac gh-110497: Add note about `OSError` being an alias to `IOError` in docs (#110498) 09 October 2023, 09:18:06 UTC
c49edd7 gh-110525: Add CAPI tests for set and frozenset objects (GH-110526) 09 October 2023, 08:57:48 UTC
dd4bb05 gh-110514: Add PY_THROW to `sys.setprofile` events (GH-110524) 09 October 2023, 08:38:45 UTC
9f8282d gh-106670: Set convenience variable for post mortem debugging (#110493) 09 October 2023, 08:17:24 UTC
0df772f Remove unused imports in multiprocessing docs example (#109984) 09 October 2023, 05:36:01 UTC
892ee72 gh-110534 fix a URL redirect to wikipedia article on Fibonacci numbers (#110535) 09 October 2023, 04:44:15 UTC
7e30821 gh-108277: Fix test_os TimerfdTests (#110515) * test_timerfd_TFD_TIMER_ABSTIME() and test_timerfd_ns_TFD_TIMER_ABSTIME() tolerate a difference of 50 us. * test_timerfd_negative() checks if os.TFD_TIMER_CANCEL_ON_SET is defined. 08 October 2023, 11:26:18 UTC
d96a8cd gh-89902: Deprecate non-standard format specifier "N" for Decimal (GH-110508) It was not documented and only supported in the C implementation. 08 October 2023, 07:01:39 UTC
6780d63 gh-110378: Move to `IsolatedAsyncTestCase` in `test_contextlib_async.py` (#110379) 08 October 2023, 06:14:56 UTC
8e56d55 Update floatingpoint.rst (#110509) This commit removes a ':'. I believe the extra colon causes a display error. What I believe to be an error: Above this expression `round(math.pi, ndigits=2) == round(22 / 7, ndigits=2)` the page displays `.. doctest::`. What I observed: After I remove the extra colon, the page does not display `.. doctest::` 08 October 2023, 00:07:36 UTC
dd9d781 gh-110237: Check `PyList_Append` for errors in `_PyEval_MatchClass` (#110238) 08 October 2023, 00:04:51 UTC
de2a403 gh-108277: Add os.timerfd_create() function (#108382) Add wrapper for timerfd_create, timerfd_settime, and timerfd_gettime to os module. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Victor Stinner <vstinner@python.org> 07 October 2023, 17:33:22 UTC
64f158e gh-110397: Add Py_IsFinalizing() to the stable ABI (#110441) 07 October 2023, 15:59:16 UTC
b987fdb gh-109848: Make test_rot13_func in test_codecs independent (GH-109850) 07 October 2023, 13:01:39 UTC
1aad4fc gh-109864: Make test_gettext tests order independent (GH-109866) 07 October 2023, 13:00:28 UTC
92ca90b gh-76785: Support Running Some Functions in Subinterpreters (gh-110251) This specifically refers to `test.support.interpreters.Interpreter.run()`. 06 October 2023, 23:52:22 UTC
de10522 gh-106078: Suppress the warning caused by multi-phase initialization of `decimal` (#107524) 06 October 2023, 23:15:19 UTC
5fd8821 GH-110455: Guard `assert(tstate->thread_id > 0)` with `#ifndef HAVE_PTHREAD_STUBS` (GH-110487) 06 October 2023, 23:12:19 UTC
f013b47 gh-110489: Optimise math.ceil for known exact float (#108801) This matches a similar optimisation done for math.floor in https://github.com/python/cpython/pull/21072 06 October 2023, 22:57:18 UTC
201dc11 gh-109286: Update Windows installer to use SQLite 3.43.1 (#110403) Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend@python.org> 06 October 2023, 15:12:15 UTC
02cdaef Fix typo in Doc/library/textwrap.rst (#110328) "One problem with this is algorithm is that [...]" -> "One problem with this algorithm is that [...]" 06 October 2023, 14:25:02 UTC
d023d41 gh-110184: Fix subprocess test_pipesize_default() (#110465) For proc.stdin, get the size of the read end of the test pipe. Use subprocess context manager ("with proc:"). 06 October 2023, 13:44:53 UTC
a4baa9e gh-103053: Fix test_tools.test_freeze on FreeBSD (#110451) Fix test_tools.test_freeze on FreeBSD: run "make distclean" instead of "make clean" in the copied source directory to remove also the "python" program. Other test_freeze changes: * Log executed commands and directories, and the current directory. * No longer uses make -C option to change the directory, instead use subprocess cwd parameter. 06 October 2023, 01:08:34 UTC
a155f9f gh-103053: Fix make check-clean-src: check "python" program (#110449) "make check-clean-src" now also checks if the "python" program is found in the source directory: fail with an error if it does exist. 06 October 2023, 00:46:52 UTC
e0c4437 Add support.MS_WINDOWS constant (#110446) 06 October 2023, 00:37:28 UTC
3c0f65e gh-109287: fix overrides in cases generator (#110419) 05 October 2023, 22:05:29 UTC
bb057b3 gh-85283: Add PySys_AuditTuple() function (#108965) sys.audit() now has assertions to check that the event argument is not NULL and that the format argument does not use the "N" format. Add tests on PySys_AuditTuple(). 05 October 2023, 21:59:35 UTC
aaf297c gh-109888: Fix test_os _kill_with_event() on Windows (#110421) Replace os.kill() with proc.kill() which catchs PermissionError. Rewrite _kill_with_event(): * Use subprocess context manager ("with proc:"). * Use sleeping_retry() to wait until the child process is ready. * Replace SIGINT with proc.kill() on error. * Replace 10 seconds with SHORT_TIMEOUT to wait until the process is ready. * Replace 0.5 seconds with SHORT_TIMEOUT to wait for the process exit. 05 October 2023, 21:40:49 UTC
fb6c4ed gh-110429: Fix race condition in "make regen-all" (#110433) "make regen-pegen" now creates a temporary file called "parser.c.new" instead of "parser.new.c". Previously, if "make clinic" was run in parallel with "make regen-all", clinic may try but fail to open "parser.new.c" if the temporay file was removed in the meanwhile. 05 October 2023, 20:26:37 UTC
d257479 gh-110383: Swap 'the all' -> 'all the' in socket docs (#110434) 05 October 2023, 19:55:44 UTC
3c2f321 gh-110119: Fix test_importlib `--disable-gil` Windows test failures (#110422) Use "t" in the expected tag for `--disable-gil` builds in test_tagged_suffix. 05 October 2023, 19:51:17 UTC
5eae8dc gh-109840: Fix multiprocessing test_waitfor_timeout() (#110428) Don't measure the CI performance: don't fail if cond.wait_for() takes longer than 1 second on a slow CI. 05 October 2023, 19:32:06 UTC
0db2f14 gh-110167: Increase support.LOOPBACK_TIMEOUT to 10 seconds (#110413) Increase support.LOOPBACK_TIMEOUT from 5 to 10 seconds. Also increase the timeout depending on the --timeout option. For example, for a test timeout of 40 minutes (ARM Raspbian 3.x), use LOOPBACK_TIMEOUT of 20 seconds instead of 5 seconds before. 05 October 2023, 18:54:27 UTC
318f5df gh-110167: Fix test_socket deadlock in doCleanups() (#110416) Fix a deadlock in test_socket when server fails with a timeout but the client is still running in its thread. Don't hold a lock to call cleanup functions in doCleanups(). One of the cleanup function waits until the client completes, whereas the client could deadlock if it called addCleanup() in such situation. doCleanups() is called when the server completed, but the client can still be running in its thread especially if the server failed with a timeout. Don't put a lock on doCleanups() to prevent deadlock between addCleanup() called in the client and doCleanups() waiting for self.done.wait of ThreadableTest._setUp(). 05 October 2023, 18:53:03 UTC
1f3af03 gh-110147: test_msvcrt: run console I/O tests in new processes (#110268) 05 October 2023, 17:52:26 UTC
a136206 Fix env var typo in perf profiling docs (#110404) Fix typo in docs 05 October 2023, 17:27:19 UTC
a973bf0 gh-110383 TimeIt Docs Spelling Fix (#110407) Make 0.2 second plural 05 October 2023, 17:01:35 UTC
e37d455 gh-110391: socket NetworkConnectionAttributesTest always declare cli (#110401) NetworkConnectionAttributesTest of test_socket now always declare the 'cli' attribute, so clientTearDown() cannot fail with AttributeError. 05 October 2023, 16:31:02 UTC
6e97a96 gh-109549: Add new states to PyThreadState to support PEP 703 (gh-109915) This adds a new field 'state' to PyThreadState that can take on one of three values: _Py_THREAD_ATTACHED, _Py_THREAD_DETACHED, or _Py_THREAD_GC. The "attached" and "detached" states correspond closely to acquiring and releasing the GIL. The "gc" state is current unused, but will be used to implement stop-the-world GC for --disable-gil builds in the near future. 05 October 2023, 15:46:33 UTC
9eb2489 gh-109329: Add stat for "trace too short" (GH-110402) 05 October 2023, 15:12:06 UTC
1328fa3 gh-110393: Remove watchdog with hardcoded timeout (#110400) test_builtin and test_socketserver no longer use signal.alarm() to implement a watchdog with a hardcoded timeout (2 and 60 seconds). Python test runner regrtest has two watchdogs: faulthandler and timeout on running worker processes. Tests using short hardcoded timeout can fail on slowest buildbots just because the timeout is too short. 05 October 2023, 15:02:48 UTC
d33aa18 gh-82367: Use `FindFirstFile` Win32 API in `ntpath.realpath()` (GH-110298) * Use `FindFirstFile` Win32 API to fix a bug where `ntpath.realpath()` breaks out of traversing a series of paths where a (handled) `ERROR_ACCESS_DENIED` or `ERROR_SHARING_VIOLATION` occurs. * Update docs to reflect that `ntpath.realpath()` eliminates MS-DOS style names. 05 October 2023, 14:49:07 UTC
2cb62c6 gh-110309: Prune empty constant in format specs (#110320) Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> 05 October 2023, 14:08:42 UTC
cc389ef gh-110259: Fix f-strings with multiline expressions and format specs (#110271) Signed-off-by: Pablo Galindo <pablogsal@gmail.com> 05 October 2023, 13:26:44 UTC
af29282 gh-110367: Fix regrtest test_worker_output_on_failure() on ASAN build (#110387) Set ASAN_OPTIONS="handle_segv=0" env var to run the test. 05 October 2023, 12:42:36 UTC
2bbbab2 gh-110365: Fix error overwrite in `termios.tcsetattr` (#110366) Co-authored-by: Erlend E. Aasland <erlend@python.org> 05 October 2023, 11:02:52 UTC
6592976 gh-110367: Enhance regrtest -jN --verbose3 (#110368) When using worker processes (-jN) with --verbose3 option, regrtest can now display the worker output even if a worker process does crash. Previously, sys.stdout and sys.stderr were replaced and so the worker output was lost on a crash. 05 October 2023, 06:24:43 UTC
313aa86 Remove duplicate word. (#110376) 05 October 2023, 04:18:17 UTC
cf6f23b gh-88402: Add new sysconfig variables on Windows (GH-110049) Co-authored-by: Filipe Laíns <filipe.lains@gmail.com> 04 October 2023, 22:50:29 UTC
80dc39e gh-110310: Add a Per-Interpreter XID Registry for Heap Types (gh-110311) We do the following: * add a per-interpreter XID registry (PyInterpreterState.xidregistry) * put heap types there (keep static types in _PyRuntimeState.xidregistry) * clear the registries during interpreter/runtime finalization * avoid duplicate entries in the registry (when _PyCrossInterpreterData_RegisterClass() is called more than once for a type) * use Py_TYPE() instead of PyObject_Type() in _PyCrossInterpreterData_Lookup() The per-interpreter registry helps preserve isolation between interpreters. This is important when heap types are registered, which is something we haven't been doing yet but I will likely do soon. 04 October 2023, 22:35:27 UTC
e561e98 GH-109329: Add tier 2 stats (GH-109913) 04 October 2023, 21:52:28 UTC
f786029 Add back bltin-boolean-values ref tag (#110371) To avoid breaking downstream intersphinx via numpydoc 04 October 2023, 19:56:11 UTC
ee317f7 gh-76785: Print the Traceback from Interpreter.run() (gh-110322) This is a temporary solution. The full fix may involve serializing the traceback in some form. (FYI, I merged this yesterday and the reverted it due to buildbot failures. See gh-110248.) 04 October 2023, 17:57:03 UTC
3bbe3b7 gh-110222: Add support of PyStructSequence in copy.replace() (GH-110223) 04 October 2023, 16:47:41 UTC
9561648 gh-110235: Raise TypeError for duplicate/unknown fields in PyStructSequence constructor (GH-110258) 04 October 2023, 16:44:17 UTC
bf4bc36 GH-109369: Merge all eval-breaker flags and monitoring version into one word. (GH-109846) 04 October 2023, 15:09:48 UTC
7c149a7 gh-104909: Split more LOAD_ATTR specializations (GH-110317) * Split LOAD_ATTR_MODULE * Split LOAD_ATTR_WITH_HINT * Split _GUARD_TYPE_VERSION out of the latter * Split LOAD_ATTR_CLASS * Split LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES * Fix indent of DEOPT_IF in macros * Split LOAD_ATTR_METHOD_LAZY_DICT * Split LOAD_ATTR_NONDESCRIPTOR_NO_DICT * Fix omission of _CHECK_ATTR_METHOD_LAZY_DICT 04 October 2023, 15:08:02 UTC
back to top