summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add some 'meta hooks' to our pre-commit config (#110587)Alex Waygood2023-10-101-0/+5
|
* gh-109408: Add the docs whitespace check from patchcheck to pre-commit (#109854)Hugo van Kemenade2023-10-102-33/+13
| | | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* gh-110558: Run ruff on Argument Clinic in CI (#110559)Alex Waygood2023-10-105-4/+21
|
* gh-110378: Close invalid generators in contextmanager and ↵Serhiy Storchaka2023-10-104-7/+43
| | | | | | asynccontextmanager (GH-110499) contextmanager and asynccontextmanager context managers now close an invalid underlying generator object that yields more then one value.
* Fix CIFuzz build (#110576)Nikita Sobolev2023-10-101-3/+7
|
* gh-109693: Use pyatomic.h for signal module (gh-110480)Donghee Na2023-10-093-27/+26
|
* Remove unused `SPHINXLINT` var from `Doc/Makefile`. (#110570)Ezio Melotti2023-10-091-1/+0
| | | Remove unused `SPHINXLINT` var.
* gh-78469: Declare missing sethostname for Solaris 10 (#109447)Jakub Kulík2023-10-094-2/+23
| | | Add OS version specific macro for Solaris: Py_SUNOS_VERSION.
* gh-106765: Updates Windows installer build instructions to clarify system ↵Ashish Shirodkar2023-10-092-0/+10
| | | | requirements (GH-110566)
* gh-107652: Set up CIFuzz to run fuzz targets continuously (#107653)Illia Volochii2023-10-093-0/+66
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-110519: Improve deprecation warning in the gettext module (#110520)Serhiy Storchaka2023-10-093-51/+144
| | | | | | | | 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().
* gh-76785: Add SendChannel.send_buffer() (#110246)Eric Snow2023-10-0913-67/+467
| | | (This is still a test module.)
* gh-109191: Fix build with newer editline (gh-110239)Bo Anderson2023-10-095-1/+31
|
* gh-110437: Allow overriding VCRuntimeDLL with a semicolon separated list of ↵Steve Dower2023-10-092-1/+6
| | | | DLLs to bundle (GH-110470)
* gh-110525: Cover PySet_Add corner case with frozenset objects (GH-110544)Nikita Sobolev2023-10-091-0/+37
|
* gh-110549: Remove unused includes of <stddef.h> in _testcapi (GH-110552)Nikita Sobolev2023-10-093-6/+0
|
* gh-109286: Update macOS installer to use SQLite 3.43.1 (#110482)jtranquilli2023-10-092-3/+4
|
* gh-110497: Add note about `OSError` being an alias to `IOError` in docs ↵Nikita Sobolev2023-10-095-9/+11
| | | | (#110498)
* gh-110525: Add CAPI tests for set and frozenset objects (GH-110526)Nikita Sobolev2023-10-096-1/+383
|
* gh-110514: Add PY_THROW to `sys.setprofile` events (GH-110524)Tian Gao2023-10-093-1/+27
|
* gh-106670: Set convenience variable for post mortem debugging (#110493)Tian Gao2023-10-093-0/+15
|
* Remove unused imports in multiprocessing docs example (#109984)Albert Villanova del Moral2023-10-091-1/+0
|
* gh-110534 fix a URL redirect to wikipedia article on Fibonacci numbers (#110535)partev2023-10-091-1/+1
|
* gh-108277: Fix test_os TimerfdTests (#110515)Victor Stinner2023-10-081-3/+11
| | | | | | * 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.
* gh-89902: Deprecate non-standard format specifier "N" for Decimal (GH-110508)Serhiy Storchaka2023-10-084-0/+29
| | | It was not documented and only supported in the C implementation.
* gh-110378: Move to `IsolatedAsyncTestCase` in `test_contextlib_async.py` ↵Nikita Sobolev2023-10-081-51/+5
| | | | (#110379)
* Update floatingpoint.rst (#110509)zipperer2023-10-081-1/+1
| | | | | | | | | | | 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::`
* gh-110237: Check `PyList_Append` for errors in `_PyEval_MatchClass` (#110238)denballakh2023-10-082-3/+12
|
* gh-108277: Add os.timerfd_create() function (#108382)Masaru Tsuchiyama2023-10-0717-5/+1527
| | | | | | | | 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>
* gh-110397: Add Py_IsFinalizing() to the stable ABI (#110441)Victor Stinner2023-10-076-2/+9
|
* gh-109848: Make test_rot13_func in test_codecs independent (GH-109850)Serhiy Storchaka2023-10-071-1/+2
|
* gh-109864: Make test_gettext tests order independent (GH-109866)Serhiy Storchaka2023-10-071-2/+13
|
* gh-76785: Support Running Some Functions in Subinterpreters (gh-110251)Eric Snow2023-10-063-26/+439
| | | This specifically refers to `test.support.interpreters.Interpreter.run()`.
* gh-106078: Suppress the warning caused by multi-phase initialization of ↵Charlie Zhao2023-10-062-1/+10
| | | | `decimal` (#107524)
* GH-110455: Guard `assert(tstate->thread_id > 0)` with `#ifndef ↵Brett Cannon2023-10-062-2/+5
| | | | HAVE_PTHREAD_STUBS` (GH-110487)
* gh-110489: Optimise math.ceil for known exact float (#108801)Shantanu2023-10-062-7/+10
| | | | This matches a similar optimisation done for math.floor in https://github.com/python/cpython/pull/21072
* gh-109286: Update Windows installer to use SQLite 3.43.1 (#110403)jtranquilli2023-10-064-3/+4
| | | | Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend@python.org>
* Fix typo in Doc/library/textwrap.rst (#110328)InSync2023-10-061-1/+1
| | | "One problem with this is algorithm is that [...]" -> "One problem with this algorithm is that [...]"
* gh-110184: Fix subprocess test_pipesize_default() (#110465)Victor Stinner2023-10-061-18/+23
| | | | | For proc.stdin, get the size of the read end of the test pipe. Use subprocess context manager ("with proc:").
* gh-103053: Fix test_tools.test_freeze on FreeBSD (#110451)Victor Stinner2023-10-062-14/+22
| | | | | | | | | | | 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.
* gh-103053: Fix make check-clean-src: check "python" program (#110449)Victor Stinner2023-10-062-1/+5
| | | | "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.
* Add support.MS_WINDOWS constant (#110446)Victor Stinner2023-10-0615-33/+22
|
* gh-109287: fix overrides in cases generator (#110419)Carl Meyer2023-10-054-31/+37
|
* gh-85283: Add PySys_AuditTuple() function (#108965)Victor Stinner2023-10-057-9/+109
| | | | | | 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().
* gh-109888: Fix test_os _kill_with_event() on Windows (#110421)Victor Stinner2023-10-051-23/+27
| | | | | | | | | | | | | 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.
* gh-110429: Fix race condition in "make regen-all" (#110433)Victor Stinner2023-10-051-2/+2
| | | | | | "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.
* gh-110383: Swap 'the all' -> 'all the' in socket docs (#110434)Bradley Reynolds2023-10-051-1/+1
|
* gh-110119: Fix test_importlib `--disable-gil` Windows test failures (#110422)Sam Gross2023-10-051-2/+5
| | | Use "t" in the expected tag for `--disable-gil` builds in test_tagged_suffix.
* gh-109840: Fix multiprocessing test_waitfor_timeout() (#110428)Victor Stinner2023-10-051-3/+3
| | | | Don't measure the CI performance: don't fail if cond.wait_for() takes longer than 1 second on a slow CI.
* gh-110167: Increase support.LOOPBACK_TIMEOUT to 10 seconds (#110413)Victor Stinner2023-10-052-7/+3
| | | | | | 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.