Pablo Galindo Salgado
b3c9faf056
gh-110912: Correctly display tracebacks for MemoryError exceptions using the traceback module ( #110921 )
2023-10-16 15:39:23 +01:00
Nikita Sobolev
bad7a35055
gh-110907: AC: Disallow using *
with vararg ( #110908 )
2023-10-16 15:26:11 +01:00
Alex Waygood
14d2d1576d
gh-110923: Fix silently skipped tests in test__opcode.py ( #110926 )
2023-10-16 13:30:35 +00:00
Nikita Sobolev
bfc1cd8145
gh-110527: Improve PySet_Clear
docs ( #110528 )
2023-10-16 15:05:09 +02:00
Nikita Sobolev
c2192a2bee
gh-110864: Fix _PyArg_UnpackKeywordsWithVararg overwriting vararg with NULL ( #110868 )
2023-10-16 13:42:44 +02:00
Karolina Surma
db656aebc6
sysconfig docs: fix broken link to the source code ( #110920 )
...
It's now a package. See: 4a53a397c3
2023-10-16 12:27:12 +01:00
Radislav Chugunov
162213f2db
gh-108791: Fix pdb
CLI invalid argument handling ( #108816 )
2023-10-16 10:38:07 +01:00
Zachary Ware
b75186f69e
regrtest: Prepend 'use' options in --{fast,slow}-ci (GH-110363)
...
This allows individual resources to be disabled without having to explicitly re-enable all others.
2023-10-15 20:34:28 +02:00
partev
42a5d21d46
gh-110886 Doc: add a link to BNF Wikipedia article ( #110887 )
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-15 10:52:13 -06:00
Hugo van Kemenade
9608704cde
Lint: Include test_monitoring.py for Ruff ( #110898 )
2023-10-15 17:48:00 +01:00
Tian Gao
fa18b0afe4
gh-84583: Make pdb enter post-mortem mode even for SyntaxError ( #110883 )
2023-10-15 11:55:00 +01:00
Łukasz Langa
84b7e9e3fa
gh-110722: Add PYTHON_PRESITE to import a module before site.py is run ( #110769 )
2023-10-14 23:32:57 +02:00
Serhiy Storchaka
ab08ff7882
bpo-42663: Fix parsing TZ strings in zoneinfo module (GH-23825)
...
zipinfo now supports the full range of values in the TZ string
determined by RFC 8536 and detects all invalid formats.
Both Python and C implementations now raise exceptions of the same
type on invalid data.
2023-10-14 23:24:33 +03:00
Nikita Sobolev
12deda7633
gh-101100: Fix sphinx warnings in library/time.rst
( #110862 )
2023-10-14 16:20:19 +02:00
Thomas Grainger
596589104f
remove redundant call to attach_loop in watcher ( #110847 )
2023-10-14 10:24:02 +02:00
Kirill Podoprigora
4110cfec12
gh-110715: Add missing import in zipfile (gh-110822)
2023-10-14 16:17:47 +09:00
Serhiy Storchaka
e2b3d831fd
gh-109747: Improve errors for unsupported look-behind patterns (GH-109859)
...
Now re.error is raised instead of OverflowError or RuntimeError for
too large width of look-behind pattern.
The limit is increased to 2**32-1 (was 2**31-1).
2023-10-14 09:13:02 +03:00
Serhiy Storchaka
ca0f3d858d
gh-107705: Fix file leak in test_tkinter in the C locale (GH-110507)
2023-10-14 09:09:07 +03:00
Serhiy Storchaka
38bd2c520a
gh-88434: Emit deprecation warnings for non-integer numbers in gettext if translation not found (GH-110574)
2023-10-14 09:07:02 +03:00
Nikita Sobolev
45cfabb842
gh-101100: Fix sphinx warnings in usage/cmdline.rst
( #110841 )
2023-10-14 08:05:46 +02:00
Serhiy Storchaka
9d40ebf190
gh-110628: Add tests for PyLong C API (GH-110629)
2023-10-14 08:53:57 +03:00
Serhiy Storchaka
84e2096fbd
gh-110392: Fix tty functions (GH-110642)
...
* tty.setraw() and tty.setcbreak() previously returned partially modified
list of the original tty attributes. Now they return the correct list of
the original tty attributes
* tty.cfmakeraw() and tty.cfmakecbreak() now make a copy of the list of
special characters before modifying it.
2023-10-14 08:50:41 +03:00
Serhiy Storchaka
7284e0ef84
gh-110815: Support non-ASCII keyword names in PyArg_ParseTupleAndKeywords() (GH-110816)
...
It already mostly worked, except in the case when invalid keyword
argument with non-ASCII name was passed to function with non-ASCII
parameter names. Then it crashed in the debug mode.
2023-10-14 08:50:03 +03:00
Victor Stinner
ce298a1c15
regrtest: --fast-ci/slow-ci no longer imply --rerun-fail ( #110849 )
2023-10-14 00:25:38 +00:00
Donghee Na
b2ab210aae
gh-109693: Update pyruntimestate._finalizing to use pyatomic.h (gh-110837)
2023-10-13 16:40:15 +00:00
Victor Stinner
8f07b6e4e3
gh-110697: test_os TimerfdTests uses selectors ( #110789 )
...
Replace select.epoll() with selectors.DefaultSelector to support
FreeBSD 14 and newer.
* Merge common code between test_timerfd_epoll()
test_timerfd_ns_epoll().
* Replace "_ = func()" with "func()".
* Add TimerfdTests.read_count_signaled() method.
2023-10-13 16:20:18 +02:00
Russell Keith-Magee
a7e2a10a85
gh-110771: Decompose run_forever() into parts ( #110773 )
...
Effectively introduce an unstable, private (really: protected) API for subclasses that want to override `run_forever()`.
2023-10-13 14:12:32 +00:00
Alex Waygood
0ed2329a16
Bump sphinx-lint to 0.7.0 ( #110830 )
2023-10-13 13:58:26 +00:00
paskozdilar
f81e36f700
gh-110703: Add asyncio.wait_for() change notes for 3.11 (GH-110818)
...
* Remove redundant versionchanged
* Add missing versionchanged
* Update Doc/library/asyncio-task.rst
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
---------
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2023-10-13 15:15:28 +02:00
Serhiy Storchaka
548ce0923b
gh-110815: Improve tests for PyArg_ParseTupleAndKeywords() (GH-110817)
2023-10-13 16:05:01 +03:00
Petr Viktorin
2ab34f0e42
gh-110803: Reorganize docs for what PyType_Slot doesn't cover (GH-110813)
...
* gh-110803: Reorganize docs for what PyType_Slot doesn't cover
- Cover the offset fields first
- Mention the old alternative for MANAGED flags, which is needed
to support older Pythons
- De-emphasize the internal flags: use an inline list.
- Add a note to PyMemberDef saying what to do with it
* Remove an older draft...
2023-10-13 14:51:48 +02:00
Thomas Wouters
11bbe6c6e1
Merge branch 'main' of https://github.com/python/cpython
2023-10-13 13:40:12 +02:00
Thomas Wouters
4e011229a9
Post 3.13.0a1
2023-10-13 13:39:00 +02:00
Pablo Galindo Salgado
8316769d83
gh-110805: Fix test_peg_generator after the change in the parser for REPL tracebacks ( #110814 )
...
Fix test_peg_generator after the change in the parser for REPL tracebacks
2023-10-13 13:04:23 +02:00
Pablo Galindo Salgado
e1d8c65e1d
gh-110805: Allow the repl to show source code and complete tracebacks ( #110775 )
2023-10-13 09:25:37 +00:00
Lysandros Nikolaou
898f531996
gh-106212: Raise when using c-analyzer with clang on darwin ( #110757 )
2023-10-13 10:52:30 +02:00
Thomas Wouters
ad056f03ae
Python 3.13.0a1
2023-10-13 10:52:10 +02:00
T. Wouters
b7f9661bc1
Fix the pyspecific SOURCE_URI ( #110811 )
2023-10-13 08:43:01 +00:00
Lysandros Nikolaou
2a68f77026
gh-107450: Fix testMemoryErrorBigSource using the bigmemtest decorator (GH-110810)
2023-10-13 08:30:56 +00:00
Nikita Sobolev
989a253947
gh-110525: Delete test_c_api
method from set
object ( #110688 )
2023-10-13 10:06:25 +02:00
Lysandros Nikolaou
05439d3087
gh-107450: Fix parser column offset overflow test on Windows ( #110768 )
...
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-10-13 09:41:00 +02:00
Filipe Laíns
2f59d418cf
GH-110796: fix intermittent test failure in test_current_exceptions
2023-10-13 06:26:27 +00:00
Filipe Laíns
6478dea3c8
GH-110786: suppress BrokenPipeError on the sysconfig CLI ( #110791 )
2023-10-13 06:49:55 +01:00
Filipe Laíns
b883cad06b
GH-103480: fix sysconfig package not being installed ( #110792 )
2023-10-13 01:13:28 +00:00
Donghee Na
2566434e59
gh-109693: Update _gil_runtime_state.last_holder to use pyatomic.h ( #110605 )
2023-10-13 10:07:27 +09:00
Filipe Laíns
4a53a397c3
GH-103480: make sysconfig a package (GH-110785)
2023-10-12 23:41:34 +00:00
Jelle Zijlstra
d2a536b170
gh-110782: Fix crash when TypeVar is constructed with keyword args ( #110784 )
2023-10-12 16:00:12 -07:00
InSync
2c472a87c7
Remove unnecessary escape in Doc/library/enum.rst (GH-110780)
2023-10-12 15:04:36 -07:00
Alex Waygood
aa3f419acb
gh-109653: Improve the import time of email.utils
( #109824 )
2023-10-12 15:03:20 -07:00
Pablo Galindo Salgado
e7331365b4
gh-110721: Use the traceback module for PyErr_Display() and fallback to the C implementation ( #110702 )
2023-10-12 14:52:14 +00:00