Andrew Svetlov
dd0082c627
bpo-47038: Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase (GH-31942)
2022-03-16 21:49:18 +02:00
Serhiy Storchaka
dbbe4d2d00
bpo-45979: Fix Tkinter tests with old Tk (>= 8.5.12) (GH-31938)
2022-03-16 19:39:00 +02:00
Alex Waygood
81b425d4dc
bpo-46769: Improve documentation for `typing.TypeVar` (GH-31712)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-03-16 08:51:26 -07:00
Steve Dower
d56a237e16
Fix some Windows release build script issues (GH-31931)
...
* Fix the condition used when excluding ARM64 packages from publish
* Do not publish anything unless the traditional installer works
* Fix disabling of MSI build
* Add override conditions for publish steps
* Allow overriding the Nuget version number during build
2022-03-16 15:23:35 +00:00
Andrew Svetlov
e707ceb6e4
Rewrite asyncio.Queue tests with IsolatedAsyncioTestCace ( #31935 )
2022-03-16 16:59:12 +02:00
Steve Dower
7c77652141
bpo-47032: Ensure Windows install builds fail correctly with a non-zero exit code when part of the build fails (GH-31921)
2022-03-16 01:36:20 +00:00
Steve Dower
7088120853
bpo-46948: Fix launcher installer build failure due to first part of fix (GH-31920)
2022-03-16 00:46:33 +00:00
Steve Dower
cb495a1e9f
In Windows release builds, do not attempt to copy Tcl/Tk for ARM64 when it is not being published (GH-31918)
2022-03-16 00:44:17 +00:00
Mark Shannon
49e1e1e1bd
bpo-46841: Don't scan backwards in bytecode (GH-31901)
2022-03-15 17:08:37 -07:00
Christian Heimes
a4674f0194
bpo-40280: Detect presence of time.tzset and thread_time clock (GH-31898)
2022-03-15 21:55:35 +01:00
Christian Heimes
af0a50de4b
bpo-47024: Update OpenSSL to 1.1.1n (GH-31895)
...
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
2022-03-15 21:03:04 +01:00
Mark Shannon
099f756141
bpo-45923: Decouple suspension of tracing from tracing flag. (GH-31908)
2022-03-15 17:06:21 +00:00
Mariusz Felisiak
a8c728b8b7
bpo-46907: Update Windows installer to SQLite 3.38.1. (GH-31655)
2022-03-15 16:55:10 +00:00
Christian Heimes
b43b9b49be
bpo-40280: Skip wakeup_fd pipe tests on Emscripten (GH-31909)
2022-03-15 17:14:15 +01:00
Mariusz Felisiak
ea786a882b
bpo-46907: Update macOS installer to SQLite 3.38.1. (GH-31656)
2022-03-15 11:04:41 -04:00
Maximilian Hils
70155412f1
bpo-43253: Don't call shutdown() for invalid socket handles (GH-31892)
2022-03-15 16:59:02 +02:00
Kumar Aditya
6dfe09fc5f
bpo-46993: Speed up bytearray creation from list and tuple (GH-31834)
2022-03-15 15:27:30 +02:00
Kumar Aditya
5dd7ec52b8
bpo-20392: Fix inconsistency with uppercase file extensions in mimetypes.guess_type (GH-30229)
2022-03-15 15:25:43 +02:00
Andrew Svetlov
22403d3a81
Drop accidentally added whitespaces in asyncio internals (GH-31900)
2022-03-15 15:22:26 +02:00
Christian Heimes
2cf7f865f0
bpo-46587: Skip tests if strftime does not support glibc extension (GH-31873)
...
Co-authored-by: Victor Stinner <vstinner@python.org>
2022-03-15 10:41:04 +01:00
Michael P. Nitowski
d8066b420b
bpo-46557: Log captured warnings without format string (GH-30975)
2022-03-15 09:01:03 +00:00
Hugo van Kemenade
16995ed0f2
But Add missing newline to NEWS entry (GH-31893)
2022-03-15 08:29:10 +00:00
Inada Naoki
52f6ce396d
Tools/gdb: Drop code to support Python 2. (GH-31717)
2022-03-15 17:04:11 +09:00
Irit Katriel
e3d348a525
bpo-43721: Fix docstrings for property.getter/setter/deleter (GH-31046)
2022-03-14 23:28:54 +00:00
Ned Deily
19f69993ae
Revert "bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820)" (GH-31879)
...
This reverts commit c99ac3c364
as it breaks test_bdb and test_distutils with installed Pythons.
2022-03-14 16:30:46 -04:00
slateny
879fbd9472
bpo-30677: [doc] mention that os.mkdir() can raise FileNotFoundError (GH-31548)
2022-03-14 19:57:10 +00:00
Dennis Sweeney
3dcc396219
git ignore Lib/site-packages (GH-31862)
2022-03-14 11:53:41 -07:00
Victor Stinner
29624e769c
bpo-31415: importtime was made by Inada Naoki (GH-31875)
2022-03-14 10:39:33 -07:00
Oleg Iarygin
13b0412223
bpo-46920: Remove code that has explainers why it was disabled (GH-31813)
2022-03-14 17:04:22 +01:00
Oleg Iarygin
a52f82baf2
bpo-46920: Remove disabled debug code added decades ago and likely unnecessary (GH-31812)
2022-03-14 17:03:21 +01:00
Oleg Iarygin
e885ac3d5f
bpo-46920: Remove code that has no explainer why it was disabled (GH-31814)
2022-03-14 17:02:32 +01:00
Victor Stinner
11c25b87ae
bpo-46906: Mention native endian in PyFloat_Pack8() doc (GH-31866)
2022-03-14 16:51:51 +01:00
Christian Heimes
f00ced8396
bpo-40280: select: Use NULL for empty fdset (GH-31865)
...
wasm32-emscripten does not support exceptfds and requires NULL. Python
now passes NULL instead of a fdset pointer when the input list is empty.
This works fine on all platforms and might even be a tiny bit faster.
2022-03-14 14:40:28 +01:00
Hugo van Kemenade
23abae621f
CI: Fix patchcheck (GH-31708)
2022-03-14 15:28:57 +02:00
Dong-hee Na
bb1c543f4a
bpo-46987: Remove _PySys_GetObjectId / _PySys_GetObjectId (GH-31835)
2022-03-14 21:48:00 +09:00
Andrew Svetlov
9523c0d84f
bpo-46994: Accept explicit contextvars.Context in asyncio create_task() API (GH-31837)
2022-03-14 13:54:13 +02:00
Crowthebird
2153daf0a0
bpo-39829: Fix `__len__()` is called twice in list() constructor (GH-31816)
2022-03-14 10:23:59 +09:00
Andrew Svetlov
690490e4de
bpo-47003: Cleanup _overlapped module (GH-31848)
2022-03-13 23:28:45 +02:00
Jason R. Coombs
b1e2868607
bpo-47004: Sync with importlib_metadata 4.11.3. ( #31854 )
2022-03-13 15:53:29 -04:00
Pradyun Gedam
c99ac3c364
bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820)
2022-03-13 14:49:28 -04:00
Pradyun Gedam
d87f1b787e
bpo-46985: Upgrade bundled pip to 22.0.4 (GH-31819)
2022-03-13 14:14:20 -04:00
Alex Grönholm
9f04ee569c
bpo-46805: Add low level UDP socket functions to asyncio (GH-31455)
2022-03-13 18:42:29 +02:00
Andrew Svetlov
7e473e94a5
bpo-46995: Deprecate missing asyncio.Task.set_name() for third-party task implementations (GH-31838)
...
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-03-13 18:34:46 +02:00
Illia Volochii
3543ddb4c4
bpo-43215: Document Happy Eyeballs args of asyncio.open_connection (GH-24525)
...
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
2022-03-13 01:54:59 +02:00
andrei kulakov
d9db07a310
bpo-37529: Add test for guessing extensions (GH-28243)
...
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
2022-03-12 19:26:17 +02:00
Matthew Rahtz
af2277e461
bpo-43224: Implement PEP 646 changes to genericaliasobject.c (GH-31019)
...
Specifically, prepare for starring of tuples via a new genericalias iter type. GenericAlias also partially supports the iterator protocol after this change.
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2022-03-12 20:20:12 +08:00
Jelle Zijlstra
75174371e6
bpo-46644: Fix test_typing test broken by GH-31151 due to a merge race (GH-31833)
2022-03-11 18:17:45 -08:00
Gregory Beauregard
870b22b9c4
bpo-46644: Remove callable() requirement from typing._type_check (GH-31151)
...
We also remove all the tests that check for integer literals.
2022-03-11 17:12:17 -08:00
Brandt Bucher
a89c29fbcc
bpo-46841: Add a _Py_SET_OPCODE macro (GH-31780)
2022-03-11 16:31:50 -08:00
Victor Stinner
882d8096c2
bpo-46906: Add PyFloat_Pack8() to the C API (GH-31657)
...
Add new functions to pack and unpack C double (serialize and
deserialize):
* PyFloat_Pack2(), PyFloat_Pack4(), PyFloat_Pack8()
* PyFloat_Unpack2(), PyFloat_Unpack4(), PyFloat_Unpack8()
Document these functions and add unit tests.
Rename private functions and move them from the internal C API
to the public C API:
* _PyFloat_Pack2() => PyFloat_Pack2()
* _PyFloat_Pack4() => PyFloat_Pack4()
* _PyFloat_Pack8() => PyFloat_Pack8()
* _PyFloat_Unpack2() => PyFloat_Unpack2()
* _PyFloat_Unpack4() => PyFloat_Unpack4()
* _PyFloat_Unpack8() => PyFloat_Unpack8()
Replace the "unsigned char*" type with "char*" which is more common
and easy to use.
2022-03-12 00:10:02 +01:00