Peter Bierma
133e929a79
gh-124309: Revert eager task factory fix to prevent breaking downstream ( #124810 )
...
* Revert "GH-124639: add back loop param to staggered_race (#124700 )"
This reverts commit e0a41a5dd1
.
* Revert "gh-124309: Modernize the `staggered_race` implementation to support eager task factories (#124390 )"
This reverts commit de929f353c
.
2024-09-30 18:37:27 -07:00
Kirill Podoprigora
1c0bd8bd00
gh-115142: Skip some test cases in ``Lib/test/test_compile`` if ``_testinternalcapi`` is not available ( #124474 )
...
* Skip some test cases if "_testinternalcapi" is not available and if the test suite is
running on another implementation than CPython.
2024-09-30 22:13:23 +03:00
Victor Stinner
e44eebfc1e
gh-124613, regrtest: Detect JIT in build info ( #124793 )
2024-09-30 20:50:41 +02:00
Pablo Galindo Salgado
35541c410d
gh-124613: Don't run perf tests in JIT builds ( #124792 )
...
* gh-124613: Don't run perf tests in JIT builds
Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
* Apply suggestions from code review
Co-authored-by: Victor Stinner <vstinner@python.org>
---------
Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2024-09-30 17:57:00 +00:00
sobolevn
6f4d64b048
gh-124722: Fix leak in `test_detach_materialized_dict_no_memory` (GH-124769)
2024-09-29 20:47:45 -05:00
Tian Gao
b5774603a0
gh-124400: Use the normal command path for breakpoint commands ( #124401 )
...
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2024-09-29 19:46:16 -04:00
Bénédikt Tran
6d0d26eb8c
gh-111495: Add tests for `PyCodec_*` C API ( #123343 )
2024-09-29 15:22:39 +00:00
Serhiy Storchaka
3f27153e07
gh-58573: Fix conflicts between abbreviated long options in the parent parser and subparsers in argparse (GH-124631)
...
Check for ambiguous options if the option is consumed, not when it is
parsed.
2024-09-29 12:01:03 +03:00
Serhiy Storchaka
95e92ef6c7
gh-116850: Fix argparse for namespaces with not directly writable dict (GH-124667)
...
It now always uses setattr() instead of setting the dict item to modify
the namespace. This allows to use a class as a namespace.
2024-09-29 11:01:10 +03:00
Serhiy Storchaka
f1a2417b9e
gh-61181: Fix support of choices with string value in argparse (GH-124578)
...
Substrings of the specified string no longer considered valid values.
2024-09-29 10:57:21 +03:00
Serhiy Storchaka
dac4ec5286
gh-53834: Fix support of arguments with choices in argparse (GH-124495)
...
Positional arguments with nargs equal to '?' or '*' no longer check
default against choices.
Optional arguments with nargs equal to '?' no longer check const
against choices.
2024-09-29 10:52:52 +03:00
Serhiy Storchaka
61180446ee
gh-124345: Support abbreviated single-dash long options with = in argparse (GH-124428)
2024-09-29 10:52:07 +03:00
Serhiy Storchaka
9bcadf589a
gh-80259: Fix conflict between type and default=SUPPRESS in argparse (GH-124519)
...
type() no longer called for SUPPRESS.
This only affects positional arguments with nargs='?'.
2024-09-29 10:47:06 +03:00
Serhiy Storchaka
49e105f948
gh-104860: Fix allow_abbrev=False for single-dash long options (GH-124340)
2024-09-29 10:44:34 +03:00
Kumar Aditya
e0a41a5dd1
GH-124639: add back loop param to staggered_race ( #124700 )
2024-09-29 08:42:46 +05:30
Bénédikt Tran
c00964ecd5
gh-124665: Add `_PyCodec_UnregisterError` and `_codecs._unregister_error` ( #124677 )
2024-09-29 02:25:23 +02:00
Kira
04c837d9d8
gh-124442: make `__static_attributes__` deterministic by sorting ( #124492 )
...
Signed-off-by: kp2pml30 <kp2pml30@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-09-28 15:15:43 -07:00
Serhiy Storchaka
69a4063ca5
gh-123339: Fix cases of inconsistency of __module__ and __firstlineno__ in classes (GH-123613)
...
* Setting the __module__ attribute for a class now removes the
__firstlineno__ item from the type's dict.
* The _collections_abc and _pydecimal modules now completely replace the
collections.abc and decimal modules after importing them. This
allows to get the source of classes and functions defined in these
modules.
* inspect.findsource() now checks whether the first line number for a
class is out of bound.
2024-09-28 20:51:49 +03:00
Pablo Galindo Salgado
02b49c5150
gh-107954: Fix configuration type for the perf profiler ( #124636 )
2024-09-28 01:50:16 +02:00
Mark Shannon
0e21cc6cf8
GH-124547: Clear instance dictionary if memory error occurs during object dealloc (GH-124627)
2024-09-27 14:51:01 -07:00
Russell Keith-Magee
10d504aecc
gh-124682: Disable test that is prone to intermittent failure on iOS. ( #124683 )
...
Disable test that is prone to intermittent failure on iOS.
2024-09-27 10:49:35 -07:00
sobolevn
9c7657f099
gh-113878: Add `doc` parameter to `dataclasses.field` (gh-114051)
...
If using `slots=True`, the `doc` parameter ends up in the `__slots__` dict. The `doc` parameter is also in the corresponding `Field` object.
2024-09-27 12:20:49 -04:00
Malcolm Smith
0a3577bdfc
gh-123017: Add Android to the list of platforms where `strftime` doesn't support negative years ( #124467 )
...
Add Android to the list of platforms where `strftime` doesn't support negative years
2024-09-27 10:35:18 -04:00
Jelle Zijlstra
365dffbaad
gh-119180: No longer set `__annotations__` in `__main__` ( #124634 )
2024-09-27 05:49:43 -07:00
sobolevn
3a0e7f5762
gh-124176: Add special support for dataclasses to `create_autospec` ( #124429 )
2024-09-27 09:48:31 +03:00
Erlend E. Aasland
08e1bbe4a3
gh-86673: Harden `test_ttk.test_element_create_image` ( #123335 )
...
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-09-27 08:21:15 +02:00
Gregory P. Smith
b65f2cdfa7
gh-84559: Change the multiprocessing start method default to `forkserver` (GH-101556)
...
Change the default multiprocessing start method away from fork to forkserver or spawn on the remaining platforms where it was fork. See the issue for context. This makes the default far more thread safe (other than for people spawning threads at import time... - don't do that!).
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-09-26 16:57:19 -07:00
Bénédikt Tran
5e7eba09bc
gh-89683: add tests for `deepcopy` on frozen dataclasses (gh-123098)
...
Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
2024-09-26 21:15:28 +00:00
Jelle Zijlstra
2c10832887
gh-119180: Rename SOURCE format to STRING ( #124620 )
2024-09-26 13:49:48 -07:00
sobolevn
abe5f799e6
gh-124498: Fix `TypeAliasType` not to be generic, when `type_params=()` ( #124499 )
2024-09-26 17:15:38 +03:00
Peter Bierma
f923605658
gh-124538: Fix crash when using `gc.get_referents` on an untracked capsule object ( #124559 )
2024-09-26 12:29:43 +02:00
Victor Stinner
0387c34f7c
gh-124402: Speed up test_free_threading and test_super ( #124491 )
...
* Reduce the number of iterations and the number of threads so a
whole test file takes less than a minute.
* Refactor test_racing_iter_extend() to remove two levels of
indentation.
* test_monitoring() uses a sleep of 100 ms instead of 1 second.
2024-09-26 10:53:17 +02:00
Ron Frederick
1229cb8c14
gh-120284: Enhance `asyncio.run` to accept awaitable objects ( #120566 )
...
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2024-09-26 11:45:08 +05:30
Peter Bierma
de929f353c
gh-124309: Modernize the `staggered_race` implementation to support eager task factories ( #124390 )
...
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2024-09-26 05:11:17 +00:00
dgpb
d9296529eb
gh-119127: functools.partial placeholders (gh-119827)
2024-09-26 01:04:38 +00:00
larryhastings
4defb58d38
Add "annotate" SET_FUNCTION_ATTRIBUTE bit to dis. ( #124566 )
2024-09-25 17:01:45 -07:00
Jelle Zijlstra
4e829c0e6f
gh-124412: Add helpers for converting annotations to source format ( #124551 )
2024-09-26 00:01:09 +00:00
Jelle Zijlstra
0268b072d8
gh-119180: Disallow instantiation of ConstEvaluator objects ( #124561 )
2024-09-25 23:30:17 +00:00
Jelle Zijlstra
bc543936ab
gh-119180: Make FORWARDREF format look at __annotations__ first ( #124479 )
...
From discussion with Larry Hastings and Carl Meyer, this is the desired
behavior.
2024-09-25 15:32:45 -07:00
Nice Zombies
9968caa0cc
gh-41431: Add `datetime.time.strptime()` and `datetime.date.strptime()` ( #120752 )
...
* Python implementation
* C implementation
* Test `date.strptime`
* Test `time.strptime`
* 📜 🤖 Added by blurb_it.
* Update whatsnew
* Update documentation
* Add leap year note
* Update 2024-06-19-19-53-42.gh-issue-41431.gnkUc5.rst
* Apply suggestions from code review
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* Remove parentheses
* Use helper function
* Remove bad return
* Link to github issue
* Fix directive
* Apply suggestions from code review
Co-authored-by: Paul Ganssle <1377457+pganssle@users.noreply.github.com>
* Fix test cases
---------
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Paul Ganssle <1377457+pganssle@users.noreply.github.com>
2024-09-25 14:43:58 -07:00
TizzySaurus
b0c6cf5f17
gh-102450: Add ISO-8601 alternative for midnight to `fromisoformat()` calls. ( #105856 )
...
* Add NEWS.d entry
* Allow ISO-8601 24:00 alternative to midnight on datetime.time.fromisoformat()
* Allow ISO-8601 24:00 alternative to midnight on datetime.datetime.fromisoformat()
* Add NEWS.d entry
* Improve error message when hour is 24 and minute/second/microsecond is not 0
* Add tests for 24:00 fromisoformat
* Remove duplicate call to days_in_month() by storing in variable
* Add Python implementation
* Fix Lint
* Fix differing error msg in datetime.fromisoformat implementations when 24hrs has non-zero time component(s)
* Fix using time components inside tzinfo in Python implementation
* Don't parse tzinfo in C implementation when invalid iso midnight
* Remove duplicated variable in datetime test assertion line
* Add self to acknowledgements
* Remove duplicate NEWS entry
* Linting
* Add missing test case for when wrapping the year makes it invalid (too large)
2024-09-25 14:32:51 -07:00
Alexander Kanavin
1ff1b899ce
gh-119400: make_ssl_certs: update reference test data automatically, pass in expiration dates as parameters #119400 (GH-119401)
...
* Lib/test/certdata: do not hardcode reference cert data into tests
The script was simply printing the reference data and asking
users to update it by hand into the test suites. This can
be easily improved by writing the data into files and
having the test cases load the files.
* make_ssl_certs: make it possible to pass in expiration dates from command line
Note that in this commit, the defaults are same as they were,
so if nothing is specified the script works as before.
---------
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
2024-09-25 21:23:47 +00:00
Jelle Zijlstra
17a544b257
gh-119180: Avoid going through AST and eval() when possible in annotationlib ( #124337 )
...
Often, ForwardRefs represent a single simple name. In that case, we
can avoid going through the overhead of creating AST nodes and code
objects and calling eval(): we can simply look up the name directly
in the relevant namespaces.
Co-authored-by: Victor Stinner <vstinner@python.org>
2024-09-25 21:14:03 +00:00
Raymond Hettinger
909c6f7189
gh-123884 Tee of tee was not producing n independent iterators (gh-124490)
2024-09-25 13:38:05 -07:00
Zachary Ware
fb6bd31cb7
gh-124378: Update test_ttk for Tcl/Tk 8.6.15 (GH-124542)
...
Co-authored-by: Marc Culler <culler@users.noreply.github.com>
2024-09-25 20:16:32 +00:00
Victor Stinner
d6954b6421
gh-124513: Check args in framelocalsproxy_new() ( #124515 )
...
Fix a crash in FrameLocalsProxy constructor: check the number of
arguments.
2024-09-25 21:41:09 +02:00
Emily Morehouse
c1600c78e4
gh-123856: Fix PyREPL failure when a keyboard interrupt is triggered after using a history search ( #124396 )
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2024-09-25 20:22:03 +02:00
Tian Gao
28efeefab7
gh-123756: Disable restart command if pdb is in inline mode ( #123757 )
2024-09-25 11:18:01 -07:00
Irit Katriel
78aeb38f7d
gh-124285: Fix bug where bool() is called multiple times for the same part of a boolean expression ( #124394 )
2024-09-25 15:51:25 +01:00
Malcolm Smith
461c12b438
gh-116622: Make test_unzip_zipfile recognize Android error message format ( #124462 )
...
Make test_unzip_zipfile recognize Android error message format
2024-09-25 07:02:18 -07:00
Eric V. Smith
5c6e3b7150
gh-90562: Support zero argument super with dataclasses when slots=True (gh-124455)
...
Co-authored-by: @wookie184
Co-authored-by: Carl Meyer <carl@oddbird.net>
2024-09-24 21:26:26 -04:00
Victor Stinner
5a60566074
gh-124402: Require cpu resource in test_super slow method ( #124434 )
...
test___class___modification_multithreaded() now requires the 'cpu'
test resource on a Free Threaded build.
2024-09-24 22:36:45 +02:00
Tian Gao
af8403a58d
gh-120254: Add a `commands` argument to `pdb.set_trace` ( #120255 )
2024-09-24 12:52:15 -07:00
Victor Stinner
38a5beb12a
gh-124402: Require cpu resource in test_free_threading ( #124438 )
...
Require the 'cpu' test resource on slow test_free_threading tests.
2024-09-24 16:33:27 +02:00
Payton
d21b0b5d36
gh-113008: Correct argparse usage output for required, mutually exclusive groups (GH-113085)
2024-09-24 17:14:35 +03:00
Serhiy Storchaka
4a5e4aade4
gh-59317: Improve parsing optional positional arguments in argparse (GH-124303)
...
Fix parsing positional argument with nargs equal to '?' or '*' if it is
preceded by an option and another positional argument.
2024-09-24 15:46:41 +03:00
Serhiy Storchaka
e2f710792b
gh-124188: Fix PyErr_ProgramTextObject() (GH-124189)
...
* Detect source file encoding.
* Use the "replace" error handler even for UTF-8 (default) encoding.
* Remove the BOM.
* Fix detection of too long lines if they contain NUL.
* Return the head rather than the tail for truncated long lines.
2024-09-24 11:01:37 +03:00
Serhiy Storchaka
3c83f9958c
gh-72795: Make positional arguments with nargs='*' or REMAINDER non-required (GH-124306)
...
This allows to use positional argument with nargs='*' and without default
in mutually exclusive group and improves error message about required
arguments.
2024-09-24 07:55:33 +00:00
Serhiy Storchaka
c578271366
gh-53780: Ignore the first "--" (double dash) between an option and command in argparse (GH-124275)
2024-09-24 07:35:28 +00:00
Serhiy Storchaka
3094cd17b0
gh-63143: Fix parsing mutually exclusive arguments in argparse (GH-124307)
...
Arguments with the value identical to the default value (e.g. booleans,
small integers, empty or 1-character strings) are no longer considered
"not present".
2024-09-24 10:23:07 +03:00
Victor Stinner
9d344fafc4
gh-124127: Make Py_REFCNT() opaque in limited C API 3.14 ( #124128 )
2024-09-24 08:42:58 +02:00
Serhiy Storchaka
b82f07653e
gh-124130: Increase test coverage for \b and \B in regular expressions (GH-124330)
2024-09-24 06:31:10 +00:00
Jason Fried
d87482bc4e
gh-119333: Add C api to have contextvar enter/exit callbacks ( #119335 )
...
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2024-09-23 20:40:17 -07:00
Donghee Na
ad7c778546
gh-123990: Good bye WITH_FREELISTS macro (gh-124358)
2024-09-24 01:28:59 +00:00
Petr Viktorin
be76e3f26e
gh-100980: ctypes: Test, document, and fix finalizing _fields_ (GH-124292)
...
- If setting `_fields_` fails, e.g. with AttributeError, don't set the attribute in `__dict__`
- Document the “finalization” behaviour
- Beef up tests: add `getattr`, test Union as well as Structure
- Put common functionality in a common function
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2024-09-24 02:40:53 +02:00
Bénédikt Tran
38a887dc3e
gh-119004: fix a crash in equality testing between `OrderedDict` ( #121329 )
2024-09-23 18:44:36 -05:00
Alex Waygood
8a2baedc4b
Bump Ruff to 0.6.7 ( #124384 )
2024-09-23 22:19:35 +00:00
Savannah Ostrowski
7ee9921734
GH-87041: Fix incorrect indentation in argparse help (GH-124230)
...
In case of usage a long command along with max_help_position more than
the length of the command, the command's help was incorrectly started
on the new line.
Co-authored-by: Pavel Ditenbir <pavel.ditenbir@gmail.com>
2024-09-23 19:45:36 +00:00
Jelle Zijlstra
2e0d445364
gh-119180: Fix annotationlib.ForwardRef.evaluate with no globals ( #124326 )
...
We were sometimes passing None as the globals argument to eval(), which makes it
inherit the globals from the calling scope. Instead, ensure that globals is always
non-None. The test was passing accidentally because I passed "annotationlib" as a
module object; fix that. Also document the parameters to ForwardRef() and remove
two unused private ones.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-09-23 19:06:19 +00:00
Savannah Ostrowski
dc48312717
GH-124321: Fix argparse negative number parsing to capture -.5(GH-124322)
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-09-23 11:16:55 -07:00
Michał Górny
342e654b8e
gh-124213: Skip tests failing inside systemd-nspawn --suppress-sync=true ( #124215 )
...
Add a helper function that checks whether the test suite is running
inside a systemd-nspawn container, and skip the few tests failing
with `--suppress-sync=true` in that case. The tests are failing because
`--suppress-sync=true` stubs out `fsync()`, `fdatasync()` and `msync()`
calls, and therefore they always return success without checking for
invalid arguments.
Call `os.open(__file__, os.O_RDONLY | os.O_SYNC)` and check the errno to
detect whether `--suppress-sync=true` is actually used, and skip
the tests only in that scenario.
2024-09-20 13:37:49 +00:00
Y5
db6eb3640a
gh-124217, ipaddress: Add RFC 9637 reserved IPv6 block `3fff::/20` ( #124240 )
...
Signed-off-by: y5c4l3 <y5c4l3@proton.me>
2024-09-20 11:01:28 +00:00
Brian Schubert
63f196090f
gh-124248: Fix crash in struct when processing 0p fields ( #124251 )
2024-09-20 12:08:59 +02:00
Serhiy Storchaka
baa3550bc3
gh-95468: Add more tests for "--" (double dash) in test_argparse (GH-124274)
2024-09-20 09:54:20 +00:00
Petr Viktorin
aee219f455
gh-123880: Allow recursive import of single-phase-init modules (GH-123950)
...
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Brett Cannon <brett@python.org>
2024-09-20 10:27:34 +02:00
sobolevn
3e36e5aef1
gh-123797: Check for runtime availability of `ptsname_r` on macos ( #123806 )
2024-09-20 09:30:27 +03:00
Serhiy Storchaka
aae126748f
gh-81691: Fix handling of multiple "--" (double dashes) in argparse (GH-124233)
...
Only the first one has now been removed, all subsequent ones are now
taken literally.
2024-09-20 09:20:47 +03:00
Victor Stinner
7a2d77c903
test_cext, test_cppext: enable /W4 warnings on Windows ( #124253 )
...
Add an explicit cast to (void*) and add Py_UNUSED() to fix some
warnings in extension.c.
2024-09-19 22:32:01 +02:00
Serhiy Storchaka
992e8f6102
gh-124245: Fix UserWarning in test_argparse (GH-124246)
2024-09-19 21:35:12 +03:00
Sergey B Kirpichev
4420cf4dc9
gh-124040: Adjust few tests in testHypot/testDist to get exactly computed results (GH-124042)
2024-09-19 11:11:03 +03:00
sobolevn
7628f67d55
gh-123934: Fix `MagicMock` not to reset magic method return values ( #124038 )
2024-09-19 10:55:47 +03:00
Jacek
ea7fe1fe2e
gh-124212: Fix undefined variable in error message in venv (GH-124211)
2024-09-18 22:05:18 +00:00
Furkan Onder
36682c0914
gh-124083: Skip test_signal.test_strsignal() on NetBSD ( #124084 )
...
Skip test_strsignal() on NetBSD due to TypeError.
2024-09-18 21:22:00 +00:00
Tomas R
21d2a9ab2f
gh-116022: Improve `repr()` of AST nodes ( #117046 )
...
Co-authored-by: AN Long <aisk@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-09-18 10:28:22 -07:00
Bénédikt Tran
5cd50cb6eb
gh-122145: Handle an empty AST body when reporting tracebacks ( #122161 )
2024-09-18 18:42:33 +02:00
Jelle Zijlstra
96f619faa7
gh-124206: Fix calling get_annotate_function() on static types ( #124208 )
...
Fixes #124206 . No news entry because the bug this fixes was never
released.
2024-09-18 08:39:22 -07:00
Sam James
0c4884d8aa
test: fix _is_perf_version_at_least typo ( #124199 )
2024-09-18 13:44:32 +01:00
Petr Viktorin
42c8b0556c
gh-123085: _compile_importlib: Avoid copying sources before compilation (GH-124131)
...
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
2024-09-18 14:14:34 +02:00
Sergey B Kirpichev
8a284e1896
gh-119771: Set errno on overflows in _Py_c_pow() ( #120256 )
...
Before we did this in complex_pow() and behavior of the public C API
function _Py_c_pow() was different from the pure-python pow().
2024-09-18 10:39:11 +02:00
neonene
646f16bdee
gh-124153: Implement `PyType_GetBaseByToken()` and `Py_tp_token` slot (GH-124163)
2024-09-18 09:18:19 +02:00
Sergey B Kirpichev
28aea5d07d
gh-123836: Check zero signs in math_testcases.txt ( #123854 )
...
Just like cmath_testcases.txt. These tests require IEEE 754 anyway.
Correct zero sign for sqrt tests to match math.h convention.
2024-09-17 10:22:40 +02:00
Savannah Ostrowski
14e5bdceff
GH-123945: Update regex for parsing negative numbers that contain underscores ( #123970 )
...
---------
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2024-09-16 23:30:17 -07:00
Furkan Onder
10de3600a9
GH-124108: Skip test_locale.test_strcoll_with_diacritic() on NetBSD ( #124110 )
...
Skip test_strcoll_with_diacritic() and test_strxfrm_with_diacritic()
of test_locale on NetBSD due to lack of UTF-8 LC_COLLATE
support.
2024-09-16 23:00:36 +00:00
Loïc Estève
eadb9660ed
gh-122957: Fix test flakiness in asyncio test in free-thread build ( #124039 )
2024-09-13 11:13:30 -07:00
Furkan Onder
9f42b62db9
gh-124030: Skip test_tcsendbreak on NetBSD for ENOTTY error (GH-124031)
2024-09-13 19:27:54 +03:00
Wenzel Jakob
74330d992b
gh-100554: Add ``Py_tp_vectorcall`` slot to set ``PyTypeObject.tp_vectorcall`` using the ``PyType_FromSpec`` function family. ( #123332 )
2024-09-13 17:40:25 +02:00
Benjamin Peterson
bb904e063d
closes gh-124016: update Unicode to 16.0.0 ( #124017 )
2024-09-13 07:47:04 -07:00
Irit Katriel
a9594a34c6
gh-124022: Fix bug where class docstring is removed in interactive mode ( #124023 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-09-13 14:06:06 +00:00
Sergey B Kirpichev
b46c65ed2b
gh-123811: Test that round(Decimal) can return signed zero (GH-124007)
2024-09-13 15:49:13 +03:00
Petr Viktorin
432bf31327
gh-123909: PyType_From*: Disallow metaclasses with custom tp_new (GH-123947)
2024-09-13 13:18:49 +02:00