Mark Shannon
52e902ccf0
GH-109369: Add machinery for deoptimizing tier2 executors, both individually and globally. (GH-110384)
2023-10-23 14:49:09 +01:00
Furkan Onder
32c37fe1ba
gh-67565: Remove redundant C-contiguity checks (GH-105521)
...
Co-authored-by: Stefan Krah <skrah@bytereef.org>
2023-10-23 12:54:46 +03:00
Nick
c84b0390c0
gh-110383: Italicize variable name ( #111206 )
2023-10-23 07:56:36 +00:00
Nick
1172d02f9f
gh-110383: Added explanation about simplest regex use case for quantifiers. ( #111110 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-23 10:22:17 +03:00
Ayappan Perumal
88bac5d504
gh-110828: AIX 32bit build needs -latomic for _testcapi module ( #110962 )
2023-10-22 22:58:52 +02:00
Tian Gao
767f416feb
gh-110196: Fix ipaddress.IPv6Address.__reduce__ (GH-110198)
2023-10-22 21:50:51 +03:00
Hugo van Kemenade
b845a9e145
gh-109975: What's new in 3.13: Add module headers to removals and sort ( #110994 )
2023-10-22 12:45:17 -06:00
Nikita Sobolev
8c689c9b88
gh-101100: Fix sphinx warnings in `library/asyncio-dev.rst` (GH-111179)
...
* 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>
2023-10-22 17:11:57 +00:00
Maciej Olko
663cf513b0
gh-101100: Fix Sphinx warning in `tutorial/introduction.rst` ( #111173 )
2023-10-22 14:53:17 +03:00
Hugo van Kemenade
c9c4a87f5d
gh-109975: What's new in 3.13: Add PEP 594 to release highlights ( #110993 )
2023-10-22 10:17:03 +03:00
Serhiy Storchaka
6c23635f2b
gh-111085: Fix invalid state handling in TaskGroup and Timeout ( #111111 )
...
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>
2023-10-21 22:18:34 +03:00
Nikita Sobolev
fd60549c0a
gh-111159: Fix `doctest` output comparison for exceptions with notes ( #111160 )
2023-10-21 19:02:00 +01:00
Nikita Sobolev
5e7727b052
gh-111157: Mention `__notes__` in `traceback.format_exception_only` docstring ( #111158 )
2023-10-21 15:30:14 +00:00
Serhiy Storchaka
9a1fe09622
gh-110918: regrtest: allow to intermix --match and --ignore options (GH-110919)
...
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.
2023-10-21 17:44:46 +03:00
Irit Katriel
b578e51f02
gh-111123: symtable should visit exception handlers before the else block ( #111142 )
2023-10-21 13:38:29 +01:00
Nikita Sobolev
f71cd5394e
gh-110572: Fix potential leaks in test_*_code in _testcapi/getargs.c (GH-110573)
2023-10-21 15:23:09 +03:00
Nikita Sobolev
e136e2d640
gh-111155: Fix direct invocation of test_pprint (GH-111156)
2023-10-21 15:09:01 +03:00
Nikita Sobolev
86276fe4f8
gh-110974: Make sure all test_zoneinfo tests are collected (GH-110975)
...
Test classes from the test_zoneinfo submodule were overridden by
test classes from the test_zoneinfo_property submodule with the same name.
2023-10-21 14:26:03 +03:00
Victor Stinner
7237fb578d
gh-110932: Fix regrtest for SOURCE_DATE_EPOCH ( #111143 )
...
If the SOURCE_DATE_EPOCH environment variable is defined, use its
value as the random seed.
2023-10-21 10:37:48 +02:00
Gouvernathor
b07f23259d
gh-106310 - document the __signature__ attribute ( #106311 )
...
Document the __signature__ attribute
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-10-21 08:54:02 +10:00
YAMAMOTO Takashi
5dfa71769f
gh-111046: for wasi-threads, export memory as well via the linker (GH-111099)
2023-10-20 14:54:03 -07:00
Victor Stinner
0937b11b89
gh-110964: clinic: refactor output_templates() ( #110982 )
2023-10-20 23:42:02 +02:00
Kirill Podoprigora
7162c3a1e8
gh-111133: Remove unnecessary PyFrozenSet_Check() calls in const folding (GH-111137)
...
frozenset does not support multiplication.
2023-10-20 23:37:38 +03:00
Nikita Sobolev
124259f9b3
gh-111132: Fix crash on interactive_filename in `run_mod` ( #111136 )
2023-10-20 21:31:26 +01:00
Victor Stinner
37e4e20eaa
gh-111089: Use PyUnicode_AsUTF8() in sqlite3 ( #111122 )
...
PyUnicode_AsUTF8() now raises an exception if the string contains
embedded null characters.
2023-10-20 20:04:27 +02:00
Nikita Sobolev
ea7c26e4b8
gh-111126: Use `isinstance` instead of `assert[Not]IsInstance` in `test_typing` ( #111127 )
2023-10-20 18:03:32 +00:00
Victor Stinner
f1e751e933
gh-111089: PyUnicode_AsUTF8AndSize() sets size on error ( #111106 )
...
On error, PyUnicode_AsUTF8AndSize() now sets the size argument to -1,
to avoid undefined value.
2023-10-20 20:03:11 +02:00
Victor Stinner
d8f32be5b6
gh-111089: Add PyUnicode_AsUTF8() to the limited C API ( #111121 )
...
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.
2023-10-20 19:29:27 +02:00
Sam Gross
264f4af506
gh-111119: Fix flaky test test_lock_two_threads (gh-111124)
2023-10-20 16:51:34 +00:00
Serhiy Storchaka
cb4f7462d1
gh-110093: Partially revert previous change in socketmodule.c (GH-111120)
2023-10-20 19:39:45 +03:00
Victor Stinner
d731579bfb
gh-111089: PyUnicode_AsUTF8() now raises on embedded NUL ( #111091 )
...
* 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>
2023-10-20 17:59:29 +02:00
Serhiy Storchaka
59ea0f523e
gh-110093: Replace trivial Py_BuildValue() with direct C API call (GH-110094)
2023-10-20 18:08:41 +03:00
Serhiy Storchaka
ff4e53cb74
Synchronize test_contextlib with test_contextlib_async (GH-111000)
2023-10-20 17:07:14 +03:00
Tamás Hegedűs
11312eae6e
gh-110913: Fix WindowsConsoleIO chunking of UTF-8 text (GH-111007)
2023-10-20 12:52:31 +01:00
Serhiy Storchaka
b60f058708
Add tests for failing PyUnicode_AsUTF8AndSize() with psize=NULL (GH-111100)
2023-10-20 12:54:00 +03:00
Hugo van Kemenade
c42c68aa7b
gh-101100: Fix Sphinx warnings in `library/tty.rst` ( #111079 )
...
Fix Sphinx warnings in library/tty.rst
2023-10-20 07:33:17 +03:00
Terry Jan Reedy
b802882fb2
gh-111092: Make turtledemo run without default root enabled ( #111093 )
...
Add missing 'root' argument to PanedWindow call.
Other root children already have it.
2023-10-19 23:58:41 -04:00
Victor Stinner
8d234cd315
gh-85283: Build posixshmem extension with Limited C API ( #111087 )
...
Build the _multiprocessing.posixshmem extension with the Limited C
API.
* Add <errno.h> include.
* Replace PyUnicode_AsUTF8() with PyUnicode_AsUTF8AndSize().
2023-10-20 00:23:49 +02:00
Furkan Onder
9376728ce4
gh-67565: Add tests for C-contiguity checks (GH-110951)
2023-10-20 01:09:57 +03:00
sc07kvm
677d4bc15e
Remove unnecessary while in SocketIO.readinto (GH-111057)
...
It is unnecessary after removing "continue" in 6e6c59b
(bpo-42357).
2023-10-20 00:26:30 +03:00
Ned Batchelder
c9aef19cbf
add 3.13 as an option on the bug form ( #111083 )
2023-10-19 17:52:56 +01:00
Unique-Usman
bcc941bd4a
gh-109510: Clearly explain "Which Docstrings Are Examined" ( #109696 )
...
Co-authored-by: Mariatta <Mariatta@users.noreply.github.com>
Co-authored-by: Jacob Coffee <jacob@z7x.org>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-10-19 18:10:06 +03:00
Adam Turner
63acf78d71
GH-101100: Fix reference warnings for ``__enter__`` and ``__exit__`` ( #110112 )
2023-10-19 18:05:17 +03:00
Adam Turner
da99133710
GH-101100: Fix reference warnings for ``__getitem__`` ( #110118 )
2023-10-19 18:05:05 +03:00
Nikita Sobolev
d144749914
gh-101100: Fix sphinx warnings in `library/getpass.rst` ( #110461 )
2023-10-19 18:04:29 +03:00
Eric Snow
d23a2f9887
gh-76785: Make interpreters.*Channel Objects Shareable (gh-110607)
...
This restores their shareability, which was disabled by gh-110318 due to ref leaks.
2023-10-19 08:52:02 -06:00
Eric Snow
6741d5af32
gh-76785: Add *Channel.is_closed (gh-110606)
2023-10-19 08:51:21 -06:00
Nikita Sobolev
a89708aeea
gh-101100: Fix sphinx warnings in `library/codecs.rst` ( #110979 )
2023-10-19 17:20:52 +03:00
Nikita Sobolev
e9b5399bee
gh-111031: Check more files in `test_tokenize` ( #111032 )
2023-10-19 09:29:45 +01:00
Terry Jan Reedy
642eb8df95
gh-111050: IDLE - Simplify configdialog.HighPage.theme_elements ( #111053 )
...
Replace tuple value with internal name, removing numbers.
Remove sorting of already ordered dislay names.
Remove '[0]' indexing into now-gone tuple.
2023-10-19 00:03:24 -04:00