summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* gh-106310 - document the __signature__ attribute (#106311)Gouvernathor2023-10-201-0/+5
| | | | | Document the __signature__ attribute Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-111046: for wasi-threads, export memory as well via the linker (GH-111099)YAMAMOTO Takashi2023-10-203-0/+11
|
* gh-110964: clinic: refactor output_templates() (#110982)Victor Stinner2023-10-201-56/+53
|
* gh-111133: Remove unnecessary PyFrozenSet_Check() calls in const folding ↵Kirill Podoprigora2023-10-201-14/+3
| | | | | (GH-111137) frozenset does not support multiplication.
* gh-111132: Fix crash on interactive_filename in `run_mod` (#111136)Nikita Sobolev2023-10-202-1/+14
|
* gh-111089: Use PyUnicode_AsUTF8() in sqlite3 (#111122)Victor Stinner2023-10-201-6/+1
| | | | PyUnicode_AsUTF8() now raises an exception if the string contains embedded null characters.
* gh-111126: Use `isinstance` instead of `assert[Not]IsInstance` in ↵Nikita Sobolev2023-10-201-4/+4
| | | | `test_typing` (#111127)
* gh-111089: PyUnicode_AsUTF8AndSize() sets size on error (#111106)Victor Stinner2023-10-203-4/+11
| | | | On error, PyUnicode_AsUTF8AndSize() now sets the size argument to -1, to avoid undefined value.
* gh-111089: Add PyUnicode_AsUTF8() to the limited C API (#111121)Victor Stinner2023-10-209-16/+23
| | | | | | | | Add PyUnicode_AsUTF8() function to the limited C API. multiprocessing posixshmem now uses PyUnicode_AsUTF8() instead of PyUnicode_AsUTF8AndSize(): the extension is built with the limited C API. The function now raises an exception if the filename contains an embedded null character instead of truncating silently the filename.
* gh-111119: Fix flaky test test_lock_two_threads (gh-111124)Sam Gross2023-10-201-4/+12
|
* gh-110093: Partially revert previous change in socketmodule.c (GH-111120)Serhiy Storchaka2023-10-201-1/+3
|
* gh-111089: PyUnicode_AsUTF8() now raises on embedded NUL (#111091)Victor Stinner2023-10-208-25/+49
| | | | | | | | | * PyUnicode_AsUTF8() now raises an exception if the string contains embedded null characters. * Update related C API tests (test_capi.test_unicode). * type_new_set_doc() uses PyUnicode_AsUTF8AndSize() to silently truncate doc containing null bytes. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-110093: Replace trivial Py_BuildValue() with direct C API call (GH-110094)Serhiy Storchaka2023-10-2013-32/+33
|
* Synchronize test_contextlib with test_contextlib_async (GH-111000)Serhiy Storchaka2023-10-201-0/+46
|
* gh-110913: Fix WindowsConsoleIO chunking of UTF-8 text (GH-111007)Tamás Hegedűs2023-10-202-16/+21
|
* Add tests for failing PyUnicode_AsUTF8AndSize() with psize=NULL (GH-111100)Serhiy Storchaka2023-10-201-0/+4
|
* gh-101100: Fix Sphinx warnings in `library/tty.rst` (#111079)Hugo van Kemenade2023-10-202-5/+14
| | | Fix Sphinx warnings in library/tty.rst