Brett Cannon
87eec70d97
Deprecate audioop (GH-32392)
2022-04-07 12:27:35 -07:00
Christian Heimes
2b16a08bc7
bpo-40280: Detect missing threading on WASM platforms (GH-32352)
...
Co-authored-by: Brett Cannon <brett@python.org>
2022-04-07 09:22:47 +02:00
Victor Stinner
85addfb9c6
bpo-35134: Remove the Include/code.h header file (GH-32385)
...
Remove the Include/code.h header file. C extensions should only
include the main <Python.h> header file.
Python.h includes directly Include/cpython/code.h instead.
2022-04-07 02:29:52 +02:00
Steve Dower
2390b2236d
bpo-47239: Fixes py.exe output when run in a virtual environment. (GH-32364)
2022-04-07 00:09:54 +01:00
Serhiy Storchaka
884eba3c76
bpo-26579: Add object.__getstate__(). (GH-2821)
...
Copying and pickling instances of subclasses of builtin types
bytearray, set, frozenset, collections.OrderedDict, collections.deque,
weakref.WeakSet, and datetime.tzinfo now copies and pickles instance attributes
implemented as slots.
2022-04-06 20:00:14 +03:00
Serhiy Storchaka
a69a4a917c
bpo-46721: Optimize set.issuperset() for non-set arguments (GH-31280)
2022-04-06 19:57:13 +03:00
Serhiy Storchaka
31cd25f4e1
bpo-43464: Optimize set.intersection() for non-set arguments (GH-31316)
2022-04-06 19:56:28 +03:00
Serhiy Storchaka
50872dbadc
bpo-47227: Suppress expression chaining for more RE parsing errors (GH-32333)
2022-04-06 19:54:44 +03:00
Serhiy Storchaka
b09184bf05
bpo-47211: Remove function re.template() and flag re.TEMPLATE (GH-32300)
...
They were undocumented and never working.
2022-04-06 19:53:50 +03:00
Petr Viktorin
d79f118d04
bpo-47115: Document which parts of structs are in limited API/stable ABI (GH-32196)
...
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2022-04-06 16:50:45 +02:00
Ken Jin
9ffe47df54
bpo-47189: What's New in 3.11: Faster CPython (GH-32235)
...
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@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: Guido van Rossum <gvanrossum@users.noreply.github.com>
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2022-04-06 19:38:25 +08:00
Steve Dower
074da78802
bpo-47103: Copy pgort140.dll into output directory when building PGInstrument on Windows (GH-32083)
2022-04-06 11:56:31 +01:00
Pablo Galindo
2e49bd06c5
Python 3.11.0a7
2022-04-05 20:54:03 +01:00
Brett Cannon
c1d93b6411
bpo-47061: deprecate the `aifc` module (GH-32134)
...
Co-authored-by: Christian Heimes <christian@python.org>
2022-04-05 12:05:48 -07:00
Sam Ezeh
050a8f94c6
bpo-4833: Add ZipFile.mkdir (GH-32160)
2022-04-05 11:41:38 -07:00
Hugo van Kemenade
75280944e5
bpo-46607: Add DeprecationWarning for LegacyInterpolation, deprecated in docs since 3.2 (GH-30927)
2022-04-05 08:15:11 -07:00
Jelle Zijlstra
cfb849a326
bpo-47088: Add typing.LiteralString (PEP 675) (GH-32064)
...
Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2022-04-05 07:21:03 -07:00
Erlend Egeberg Aasland
a7551247e7
bpo-41930: Add support for SQLite serialise/deserialise API (GH-26728)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-04-05 07:15:25 -07:00
Matthieu Dartiailh
aa0f056a00
bpo-47212: Improve error messages for un-parenthesized generator expressions (GH-32302)
2022-04-05 14:47:13 +01:00
Erlend Egeberg Aasland
f1606a5ba5
bpo-45774: Harden SQLite detection (GH-30016)
2022-04-05 14:54:47 +02:00
Irit Katriel
0aa8d5cbd8
bpo-47120: make JUMP_NO_INTERRUPT relative (GH-32221)
2022-04-05 12:49:08 +01:00
Irit Katriel
32091df41c
bpo-47186: Replace JUMP_IF_NOT_EG_MATCH by CHECK_EG_MATCH + jump (GH-32309)
2022-04-05 12:06:22 +01:00
Christian Heimes
96e09837fb
bpo-40280: Add limited Emscripten REPL (GH-32284)
...
Co-authored-by: Katie Bell <katie@katharos.id.au>
2022-04-05 11:21:11 +02:00
Ronald Oussoren
6aaf4cd866
bpo-46890: Fix setting of sys._base_executable with framework builds on macOS (GH-31958)
...
The side effect of this bug was that venv environments directly
used the main interpreter instead of the intermediate stub executable,
which can cause problems when a script uses system APIs that
require the use of an application bundle.
2022-04-05 02:05:36 -04:00
rtobar
b275267aa7
bpo-45790: List macros in same order in which fields are described (GH-29529)
...
Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-04 19:36:33 -07:00
Shantanu
5a4973e29f
bpo-46998: Allow subclassing Any at runtime (GH-31841)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-04 19:35:29 -07:00
yyyyyyyan
a74892cb21
bpo-41233: Add links to errnos referenced in exceptions docs (GH-21380)
...
Co-authored-by: Andrew Kuchling <amk@amk.ca>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-04 19:01:36 -07:00
Christian Heimes
c9844cb8aa
bpo-40280: Add --enable-wasm-dynamic-linking (GH-32253)
2022-04-04 19:31:31 +02:00
180909
48269ea9fd
bpo-46484:Add test for Calendar.iterweekdays (GH-30825)
2022-04-04 18:16:56 +01:00
Christian Heimes
d1b1c885d8
bpo-47208: Allow vendors to override CTYPES_MAX_ARGCOUNT (GH-32297)
2022-04-04 19:13:42 +02:00
Inada Naoki
4216dce04b
bpo-47000: Make `io.text_encoding()` respects UTF-8 mode (GH-32003)
...
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
2022-04-04 11:46:57 +09:00
Hood Chatham
087d0fa5b9
bpo-47176: Interrupt handling for wasm32-emscripten builds without pthreads (GH-32209)
...
Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: Brett Cannon <brett@python.org>
2022-04-03 22:58:52 +02:00
Jason R. Coombs
84acb5cad1
bpo-46126: Restore 'descriptions' when running tests internally. (GH-32128)
...
This reverts commit a941e5927f
(GH-30194).
Automerge-Triggered-By: GH:jaraco
2022-04-03 12:33:28 -07:00
Ma Lin
6e3eee5c11
bpo-23689: re module, fix memory leak when a match is terminated by a signal or memory allocation failure (GH-32283)
2022-04-03 19:16:20 +03:00
Christian Heimes
b82cdd1dac
bpo-47205: Skip error check of sched_get/setaffinity on FreeBSD (GH-32285)
2022-04-03 17:03:49 +02:00
Michał D
281f980d35
bpo-46033: Clarify for-statement execution (GH-30025)
...
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-02 20:52:20 -04:00
Zachary Ware
6066739ff7
bpo-47194: Update zlib to v1.2.12 on Windows to resolve CVE-2018-25032 (GH-32241)
2022-04-02 14:10:23 +01:00
Serhiy Storchaka
1be3260a90
bpo-47152: Convert the re module into a package (GH-32177)
...
The sre_* modules are now deprecated.
2022-04-02 11:35:13 +03:00
Christian Heimes
abdd69c95c
bpo-46023: makesetup: skip all duplicate modules (GH-32234)
2022-04-01 17:23:12 +02:00
Irit Katriel
04e07c258f
bpo-47186: Replace JUMP_IF_NOT_EXC_MATCH by CHECK_EXC_MATCH + jump (GH-32231)
2022-04-01 13:59:38 +01:00
Brandt Bucher
bd2e47c883
bpo-46841: Avoid unnecessary allocations in code object comparisons (GH-32222)
2022-04-01 11:42:46 +01:00
Dennis Sweeney
a0ea7a116c
bpo-47009: Streamline list.append for the common case (GH-31864)
2022-04-01 11:23:42 +01:00
Victor Stinner
f877b40e3f
bpo-46850: Move _PyInterpreterState_SetEvalFrameFunc() to internal C API (GH-32054)
...
Move the private _PyFrameEvalFunction type, and private
_PyInterpreterState_GetEvalFrameFunc() and
_PyInterpreterState_SetEvalFrameFunc() functions to the internal C
API. The _PyFrameEvalFunction callback function type now uses the
_PyInterpreterFrame type which is part of the internal C API.
Update the _PyFrameEvalFunction documentation.
2022-04-01 10:55:00 +02:00
Victor Stinner
b9a5522dd9
bpo-46850: Move _PyEval_EvalFrameDefault() to internal C API (GH-32052)
...
Move the private undocumented _PyEval_EvalFrameDefault() function to
the internal C API. The function now uses the _PyInterpreterFrame
type which is part of the internal C API.
2022-04-01 10:17:57 +02:00
Andrew Svetlov
d4bb38f82b
bpo-47167: Allow overriding a future compliance check in asyncio.Task (GH-32197)
2022-04-01 04:25:15 +03:00
Andrew Svetlov
ab89ccff3c
bpo-45099: Document asyncio internal API (GH-32166)
2022-04-01 00:06:07 +03:00
Gregory P. Smith
4a08c4c469
bpo-47151: Fallback to fork when vfork fails in subprocess. (GH-32186)
...
bpo-47151: Fallback to fork when vfork fails in subprocess. An OS kernel can specifically decide to disallow vfork() in a process. No need for that to prevent us from launching subprocesses.
2022-03-31 13:42:28 -07:00
Mark Shannon
74b95d86e0
bpo-40421: Add missing getters for frame object attributes to C-API. (GH-32114)
2022-03-31 17:13:25 +01:00
Christian Heimes
44e915028d
bpo-47182: Fix crash by named unicode characters after interpreter reinitialization (GH-32212)
...
Automerge-Triggered-By: GH:tiran
2022-03-31 08:14:50 -07:00
Irit Katriel
a00518d9ad
bpo-47120: Replace the JUMP_ABSOLUTE opcode by the relative JUMP_BACKWARD (GH-32115)
2022-03-31 14:14:15 +01:00