Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Revert "Fix a code snippet typo in asyncio docs (#108427)" (GH-111271) | Zachary Ware | 2023-10-24 | 1 | -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) | InSync | 2023-10-24 | 3 | -8/+20 | |
| | ||||||
* | gh-75666: Tkinter: add tests for binding (GH-111202) | Serhiy Storchaka | 2023-10-24 | 1 | -0/+307 | |
| | ||||||
* | gh-97928: Change the behavior of tkinter.Text.count() (GH-98484) | Serhiy Storchaka | 2023-10-24 | 5 | -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 Droettboom | 2023-10-24 | 1 | -791/+1041 | |
| | ||||||
* | Fix typo in sys docs (#111196) | James Tocknell | 2023-10-24 | 1 | -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 Ostrowski | 2023-10-24 | 4 | -0/+38 | |
| | ||||||
* | gh-110572: Remove `test_*` from `_testcapi/getargs.c` (GH-111214) | Nikita Sobolev | 2023-10-24 | 4 | -214/+25 | |
| | ||||||
* | gh-109894: Fix initialization of static `MemoryError` in subinterpreter ↵ | Radislav Chugunov | 2023-10-23 | 4 | -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 Kemenade | 2023-10-23 | 8 | -13/+49 | |
| | ||||||
* | Add a version added note for PY_VECTORCALL_ARGUMENTS_OFFSET (#110963) | Anthony Shaw | 2023-10-23 | 1 | -0/+2 | |
| | ||||||
* | typo: missing line of output in pull parser example (#111068) | Don Patterson | 2023-10-23 | 1 | -0/+1 | |
| | ||||||
* | Fix typo in 3.13's whatsnew (#111215) | Pablo Martí Gamboa | 2023-10-23 | 1 | -1/+1 | |
| | ||||||
* | gh-105931: Fix surprising compileall stripdir behaviour (GH-108671) | hetmankp | 2023-10-23 | 3 | -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 Shannon | 2023-10-23 | 7 | -2/+353 | |
| | | | | and globally. (GH-110384) | |||||
* | gh-67565: Remove redundant C-contiguity checks (GH-105521) | Furkan Onder | 2023-10-23 | 30 | -464/+36 | |
| | | | | Co-authored-by: Stefan Krah <skrah@bytereef.org> | |||||
* | gh-110383: Italicize variable name (#111206) | Nick | 2023-10-23 | 1 | -1/+1 | |
| | ||||||
* | gh-110383: Added explanation about simplest regex use case for quantifiers. ↵ | Nick | 2023-10-23 | 1 | -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 Perumal | 2023-10-22 | 3 | -3/+9 | |
| | ||||||
* | gh-110196: Fix ipaddress.IPv6Address.__reduce__ (GH-110198) | Tian Gao | 2023-10-22 | 3 | -0/+11 | |
| | ||||||
* | gh-109975: What's new in 3.13: Add module headers to removals and sort (#110994) | Hugo van Kemenade | 2023-10-22 | 1 | -66/+107 | |
| | ||||||
* | gh-101100: Fix sphinx warnings in `library/asyncio-dev.rst` (GH-111179) | Nikita Sobolev | 2023-10-22 | 2 | -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 Olko | 2023-10-22 | 2 | -2/+1 | |
| | ||||||
* | gh-109975: What's new in 3.13: Add PEP 594 to release highlights (#110993) | Hugo van Kemenade | 2023-10-22 | 1 | -113/+127 | |
| | ||||||
* | gh-111085: Fix invalid state handling in TaskGroup and Timeout (#111111) | Serhiy Storchaka | 2023-10-21 | 6 | -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 Sobolev | 2023-10-21 | 3 | -1/+159 | |
| | ||||||
* | gh-111157: Mention `__notes__` in `traceback.format_exception_only` ↵ | Nikita Sobolev | 2023-10-21 | 1 | -15/+12 | |
| | | | | docstring (#111158) | |||||
* | gh-110918: regrtest: allow to intermix --match and --ignore options (GH-110919) | Serhiy Storchaka | 2023-10-21 | 12 | -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 Katriel | 2023-10-21 | 4 | -2/+25 | |
| | | | | (#111142) | |||||
* | gh-110572: Fix potential leaks in test_*_code in _testcapi/getargs.c (GH-110573) | Nikita Sobolev | 2023-10-21 | 1 | -33/+57 | |
| | ||||||
* | gh-111155: Fix direct invocation of test_pprint (GH-111156) | Nikita Sobolev | 2023-10-21 | 1 | -1/+5 | |
| | ||||||
* | gh-110974: Make sure all test_zoneinfo tests are collected (GH-110975) | Nikita Sobolev | 2023-10-21 | 1 | -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 Stinner | 2023-10-21 | 4 | -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) | Gouvernathor | 2023-10-20 | 1 | -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 Takashi | 2023-10-20 | 3 | -0/+11 | |
| | ||||||
* | gh-110964: clinic: refactor output_templates() (#110982) | Victor Stinner | 2023-10-20 | 1 | -56/+53 | |
| | ||||||
* | gh-111133: Remove unnecessary PyFrozenSet_Check() calls in const folding ↵ | Kirill Podoprigora | 2023-10-20 | 1 | -14/+3 | |
| | | | | | (GH-111137) frozenset does not support multiplication. | |||||
* | gh-111132: Fix crash on interactive_filename in `run_mod` (#111136) | Nikita Sobolev | 2023-10-20 | 2 | -1/+14 | |
| | ||||||
* | gh-111089: Use PyUnicode_AsUTF8() in sqlite3 (#111122) | Victor Stinner | 2023-10-20 | 1 | -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 Sobolev | 2023-10-20 | 1 | -4/+4 | |
| | | | | `test_typing` (#111127) | |||||
* | gh-111089: PyUnicode_AsUTF8AndSize() sets size on error (#111106) | Victor Stinner | 2023-10-20 | 3 | -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 Stinner | 2023-10-20 | 9 | -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 Gross | 2023-10-20 | 1 | -4/+12 | |
| | ||||||
* | gh-110093: Partially revert previous change in socketmodule.c (GH-111120) | Serhiy Storchaka | 2023-10-20 | 1 | -1/+3 | |
| | ||||||
* | gh-111089: PyUnicode_AsUTF8() now raises on embedded NUL (#111091) | Victor Stinner | 2023-10-20 | 8 | -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 Storchaka | 2023-10-20 | 13 | -32/+33 | |
| | ||||||
* | Synchronize test_contextlib with test_contextlib_async (GH-111000) | Serhiy Storchaka | 2023-10-20 | 1 | -0/+46 | |
| | ||||||
* | gh-110913: Fix WindowsConsoleIO chunking of UTF-8 text (GH-111007) | Tamás Hegedűs | 2023-10-20 | 2 | -16/+21 | |
| | ||||||
* | Add tests for failing PyUnicode_AsUTF8AndSize() with psize=NULL (GH-111100) | Serhiy Storchaka | 2023-10-20 | 1 | -0/+4 | |
| | ||||||
* | gh-101100: Fix Sphinx warnings in `library/tty.rst` (#111079) | Hugo van Kemenade | 2023-10-20 | 2 | -5/+14 | |
| | | | Fix Sphinx warnings in library/tty.rst |