summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gh-111187: Postpone removal version for locale.getdefaultlocale() to 3.15 ↵Hugo van Kemenade2023-10-256-11/+27
| | | | (#111188)
* gh-111230: Fix errors checking in _ssl module init (#111232)Nikita Sobolev2023-10-252-82/+72
| | | Introduce ADD_INT_CONST macro wrapper for PyModule_AddIntConstant()
* gh-111174: Fix crash in getbuffer() called repeatedly for empty BytesIO ↵Serhiy Storchaka2023-10-253-3/+20
| | | | (GH-111210)
* gh-111165: Move test running code from test.support to libregrtest (GH-111166)Serhiy Storchaka2023-10-2512-342/+266
| | | | Remove no longer used functions run_unittest() and run_doctest() from the test.support module.
* gh-106320: Re-add some PyLong/PyDict C-API functions (GH-#111162)scoder2023-10-2510-55/+44
| | | | | | | | * gh-106320: Re-add _PyLong_FromByteArray(), _PyLong_AsByteArray() and _PyLong_GCD() to the public header files since they are used by third-party packages and there is no efficient replacement. See https://github.com/python/cpython/issues/111140 See https://github.com/python/cpython/issues/111139 * gh-111262: Re-add _PyDict_Pop() to have a C-API until a new public one is designed.
* gh-111065: Add more tests for the C API with the PySys_ prefix (GH-111067)Serhiy Storchaka2023-10-258-72/+215
| | | | | | | * Move existing tests for PySys_GetObject() and PySys_SetObject() into specialized files. * Add test for PySys_GetXOptions() using _testcapi. * Add tests for PySys_FormatStdout(), PySys_FormatStderr(), PySys_WriteStdout() and PySys_WriteStderr() using ctypes.
* Bump test deps: `ruff` and `mypy` (#111288)Artyom Romanov2023-10-252-2/+2
|
* gh-111295: Fix error checking in time extension module init (#111296)Nikita Sobolev2023-10-252-10/+18
| | | Introduce ADD_INT macro wrapper for PyModule_AddIntConstant()
* gh-111233: Fix error checking in select extension module init (#111234)Nikita Sobolev2023-10-252-66/+85
| | | Introduce ADD_INT macro wrapper for PyModule_AddIntConstant()
* gh-111253: Fix error checking in _socket module init (#111254)Nikita Sobolev2023-10-252-2/+3
|
* gh-111251: Fix error checking in _blake2 module init (#111252)Nikita Sobolev2023-10-252-8/+18
| | | Introduce ADD_INT_CONST macro wrapper for PyModule_AddIntConstant()
* gh-57129: Add test for inspect.getsource in the REPL (#111197)Pablo Galindo Salgado2023-10-251-1/+64
|
* Fix first parameter name in `tool` functions from `sys.monitoring` (#111286)Pavel Karateev2023-10-241-9/+9
|
* gh-102956: Fix returning of empty byte strings after seek in zipfile … ↵Jokimax2023-10-243-5/+22
| | | | | (#103565) gh-102956: Fix returning of empty byte strings after seek in zipfile module. This was a regression in 3.12.0 due to a performance enhancement.
* GH-109214: _SET_IP before _PUSH_FRAME (but not _POP_FRAME) (GH-111001)Brandt Bucher2023-10-245-44/+28
|
* GH-111182: Update EnumType.__contains__ docs (GH-111184)InSync2023-10-241-3/+4
|
* gh-109017: Use non alternate name for Kyiv (GH-109251)Jochen Sprickerhof2023-10-241-7/+4
| | | | | | | | | | | | tzdata provides Kiev as an alternative to Kyiv: https://sources.debian.org/src/tzdata/2023c-10/backward/?hl=314#L314 But Debian moved it to the tzdata-legacy package breaking the test: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050530 This patch switches to the name provided by tzdata. Also check that the new name is actually available.
* Revert "Fix a code snippet typo in asyncio docs (#108427)" (GH-111271)Zachary Ware2023-10-241-1/+1
| | | | | | | | | This reverts commit 7f316763402a7d5556deecc3acd06cb719e189b3. The change resulted in a tautology and should not have been made. There may be an opportunity for additional clarity in this section, but this change wasn't it :) Ref: https://github.com/python/cpython/pull/108427#issuecomment-1777525740
* gh-111151: Convert monospaced directives to :ref: (#111152)InSync2023-10-243-8/+20
|
* gh-75666: Tkinter: add tests for binding (GH-111202)Serhiy Storchaka2023-10-241-0/+307
|
* gh-97928: Change the behavior of tkinter.Text.count() (GH-98484)Serhiy Storchaka2023-10-245-55/+53
| | | | | | | It now always returns an integer if one or less counting options are specified. Previously it could return a single count as a 1-tuple, an integer (only if option "update" was specified) or None if no items found. The result is now the same if wantobjects is set to 0.
* gh-110019: Refactor summarize_stats (GH-110398)Michael Droettboom2023-10-241-791/+1041
|
* Fix typo in sys docs (#111196)James Tocknell2023-10-241-1/+1
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* GH-94438: Restore ability to jump over None tests (GH-111237)Savannah Ostrowski2023-10-244-0/+38
|
* gh-110572: Remove `test_*` from `_testcapi/getargs.c` (GH-111214)Nikita Sobolev2023-10-244-214/+25
|
* gh-109894: Fix initialization of static `MemoryError` in subinterpreter ↵Radislav Chugunov2023-10-234-4/+16
| | | | | | | | | | | | (gh-110911) Fixes #109894 * set `interp.static_objects.last_resort_memory_error.args` to empty tuple to avoid crash on `PyErr_Display()` call * allow `_PyExc_InitGlobalObjects()` to be called on subinterpreter init --------- Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* gh-101100: Fix Sphinx warnings for `fileno` (#111118)Hugo van Kemenade2023-10-238-13/+49
|
* Add a version added note for PY_VECTORCALL_ARGUMENTS_OFFSET (#110963)Anthony Shaw2023-10-231-0/+2
|
* typo: missing line of output in pull parser example (#111068)Don Patterson2023-10-231-0/+1
|
* Fix typo in 3.13's whatsnew (#111215)Pablo Martí Gamboa2023-10-231-1/+1
|
* gh-105931: Fix surprising compileall stripdir behaviour (GH-108671)hetmankp2023-10-233-6/+37
| | | | | | | | | | | | | | | | Before, the '-s STRIPDIR' option on compileall lead to some surprising results as it only strips away path components that match, but leaves alone the non-matching ones interspersed in between. For example, with: python -m compileall -s/path/to/another/src /path/to/build/src/file.py The resulting written path will be: build/file.py This fix only strips directories that are a fully matching prefix of the source path. If a stripdir is provided that is not a valid prefix, a warning will be displayed (which can be silenced with '-qq').
* GH-109369: Add machinery for deoptimizing tier2 executors, both individually ↵Mark Shannon2023-10-237-2/+353
| | | | and globally. (GH-110384)
* gh-67565: Remove redundant C-contiguity checks (GH-105521)Furkan Onder2023-10-2330-464/+36
| | | | Co-authored-by: Stefan Krah <skrah@bytereef.org>
* gh-110383: Italicize variable name (#111206)Nick2023-10-231-1/+1
|
* gh-110383: Added explanation about simplest regex use case for quantifiers. ↵Nick2023-10-231-0/+3
| | | | | | (#111110) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-110828: AIX 32bit build needs -latomic for _testcapi module (#110962)Ayappan Perumal2023-10-223-3/+9
|
* gh-110196: Fix ipaddress.IPv6Address.__reduce__ (GH-110198)Tian Gao2023-10-223-0/+11
|
* gh-109975: What's new in 3.13: Add module headers to removals and sort (#110994)Hugo van Kemenade2023-10-221-66/+107
|
* gh-101100: Fix sphinx warnings in `library/asyncio-dev.rst` (GH-111179)Nikita Sobolev2023-10-222-4/+11
| | | | | | | | | | | * gh-101100: Fix sphinx warnings in `library/asyncio-dev.rst` * Update Doc/library/asyncio-eventloop.rst * Update Doc/library/asyncio-eventloop.rst --------- Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
* gh-101100: Fix Sphinx warning in `tutorial/introduction.rst` (#111173)Maciej Olko2023-10-222-2/+1
|
* gh-109975: What's new in 3.13: Add PEP 594 to release highlights (#110993)Hugo van Kemenade2023-10-221-113/+127
|
* gh-111085: Fix invalid state handling in TaskGroup and Timeout (#111111)Serhiy Storchaka2023-10-216-9/+120
| | | | | | | | | | | | | | | | asyncio.TaskGroup and asyncio.Timeout classes now raise proper RuntimeError if they are improperly used. * When they are used without entering the context manager. * When they are used after finishing. * When the context manager is entered more than once (simultaneously or sequentially). * If there is no current task when entering the context manager. They now remain in a consistent state after an exception is thrown, so subsequent operations can be performed correctly (if they are allowed). Co-authored-by: James Hilton-Balfe <gobot1234yt@gmail.com>
* gh-111159: Fix `doctest` output comparison for exceptions with notes (#111160)Nikita Sobolev2023-10-213-1/+159
|
* gh-111157: Mention `__notes__` in `traceback.format_exception_only` ↵Nikita Sobolev2023-10-211-15/+12
| | | | docstring (#111158)
* gh-110918: regrtest: allow to intermix --match and --ignore options (GH-110919)Serhiy Storchaka2023-10-2112-141/+126
| | | | | | | Test case matching patterns specified by options --match, --ignore, --matchfile and --ignorefile are now tested in the order of specification, and the last match determines whether the test case be run or ignored.
* gh-111123: symtable should visit exception handlers before the else block ↵Irit Katriel2023-10-214-2/+25
| | | | (#111142)
* gh-110572: Fix potential leaks in test_*_code in _testcapi/getargs.c (GH-110573)Nikita Sobolev2023-10-211-33/+57
|
* gh-111155: Fix direct invocation of test_pprint (GH-111156)Nikita Sobolev2023-10-211-1/+5
|
* gh-110974: Make sure all test_zoneinfo tests are collected (GH-110975)Nikita Sobolev2023-10-211-2/+5
| | | | | Test classes from the test_zoneinfo submodule were overridden by test classes from the test_zoneinfo_property submodule with the same name.
* gh-110932: Fix regrtest for SOURCE_DATE_EPOCH (#111143)Victor Stinner2023-10-214-22/+75
| | | | If the SOURCE_DATE_EPOCH environment variable is defined, use its value as the random seed.