Jelle Zijlstra
45614ecb2b
gh-119180: Use type descriptors to access annotations (PEP 749) ( #122074 )
2024-07-27 16:36:06 +00:00
Hugo van Kemenade
4e75509349
gh-122085: Use include files for `whatsnew/3.14.rst` deprecations ( #122242 )
2024-07-27 14:17:54 +03:00
Seth Michael Larson
4e04d1a3d2
gh-122044: Don't error during gitignore filtering with no files ( #122045 )
2024-07-27 14:10:05 +03:00
Bénédikt Tran
7a6d4ccf0e
gh-122170: Handle ValueError raised by os.stat() in linecache (GH-122176)
2024-07-27 10:10:42 +00:00
Nate Ohlson
8ac5565be2
gh-112301: Compiler warning management tooling ( #121730 )
...
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-07-27 09:57:44 +00:00
Petr Viktorin
bb09ba6792
gh-122291: Intern latin-1 one-byte strings at startup (GH-122303)
2024-07-27 10:27:06 +02:00
Peter Bierma
c08696286f
gh-122332: Fix missing `NULL` check in `asyncio.Task.get_coro` ( #122338 )
2024-07-27 11:57:48 +05:30
Russell Keith-Magee
863a92f2bc
gh-121832: Revert test skip introduced by #122150 . ( #122340 )
...
Revert test skip introduced by #122150 .
2024-07-27 10:24:30 +08:00
Russell Keith-Magee
4a2607c180
gh-120831: Correct default minimum iOS version. ( #122339 )
...
Correct default minimum iOS version.
2024-07-27 01:53:44 +00:00
Adam Turner
762e771cc0
Fix underline for 'pty' in What's New in Python 3.14 ( #122337 )
2024-07-27 01:00:56 +00:00
Subrahmanya Gaonkar
d52726ccd4
Document ``mimetypes.MimeTypes.add_type()`` ( #122301 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-07-26 22:03:08 +00:00
Carol Willing
33586d64ca
Remove reference to docs mailing list for bug reports ( #122323 )
2024-07-26 13:56:39 -07:00
Irit Katriel
d791b9815a
gh-122245: Add test case of generic type with __debug__ ( #122322 )
2024-07-26 18:40:36 +00:00
Mark Shannon
1ca99ed240
Manually override bytecode definition in optimizer, to avoid build error (GH-122316)
2024-07-26 18:38:52 +01:00
Sam Gross
c557ae97d6
gh-122201: Lock mutex when setting handling_thread to NULL ( #122204 )
...
In the free-threaded build, we need to lock pending->mutex when clearing
the handling_thread in order not to race with a concurrent
make_pending_calls in the same interpreter.
2024-07-26 13:06:07 -04:00
Brandt Bucher
64857d849f
GH-122294: Burn in the addresses of side exits (GH-122295)
2024-07-26 09:40:15 -07:00
Pablo Galindo Salgado
db2d8b6db1
gh-122300: Preserve AST nodes for format specifiers with single elements ( #122308 )
2024-07-26 16:29:41 +00:00
Serhiy Storchaka
7c2921844f
gh-122311: Fix typo in the pickle error formatting code (GH-122312)
2024-07-26 14:48:44 +00:00
WilliamRoyNelson
dcafb362f7
gh-121999: Change default tarfile filter to 'data' (GH-122002)
...
Co-authored-by: Tomas R <tomas.roun8@gmail.com>
Co-authored-by: Scott Odle <scott@sjodle.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2024-07-26 16:34:13 +02:00
Irit Katriel
bc94cf7e25
gh-122245: move checks for writes and shadowing of __debug__ to symtable ( #122246 )
2024-07-26 14:39:56 +01:00
Mark Shannon
2c42e13e80
GH-116090: Fix test and clarify behavior for exception events when exhausting a generator. (GH-120697)
2024-07-26 14:37:35 +01:00
Mark Shannon
95a73917cd
GH-122029: Break INSTRUMENTED_CALL into micro-ops, so that its behavior is consistent with CALL (GH-122177)
2024-07-26 14:35:57 +01:00
Mark Shannon
afb0aa6ed2
GH-121131: Clean up and fix some instrumented instructions. (GH-121132)
...
* Add support for 'prev_instr' to code generator and refactor some INSTRUMENTED instructions
2024-07-26 12:24:12 +01:00
Brandt Bucher
d9efa45d74
GH-118093: Add tier two support for BINARY_OP_INPLACE_ADD_UNICODE (GH-122253)
2024-07-25 14:45:07 -07:00
Sviatoslav Sydorenko (Святослав Сидоренко)
1d607fe759
Move macOS matrix to the calling workflow ( #121809 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-07-25 14:27:26 -06:00
Brandt Bucher
5f6001130f
GH-118093: Add tier two support for LOAD_ATTR_PROPERTY (GH-122283)
2024-07-25 10:45:28 -07:00
Mark Shannon
5e686ff57d
GH-122034: Add StackRef variants of type checks to reduce the number of PyStackRef_AsPyObjectBorrow calls (GH-122037)
2024-07-25 18:32:43 +01:00
Marc Mueller
aef95eb107
gh-121489: Export private _PyBytes_Join() again ( #122267 )
2024-07-25 17:31:30 +02:00
Mark Shannon
2e14a52cce
GH-122160: Remove BUILD_CONST_KEY_MAP opcode. (GH-122164)
2024-07-25 16:24:29 +01:00
Serhiy Storchaka
9bb2e4623f
gh-116322: Fix typo in the #ifdef check ( #122268 )
2024-07-25 20:01:57 +05:30
AN Long
3998554bb0
gh-121275: Fix test_logging and test_smtplib with Python build withoud IPv6 support ( #121276 )
...
Fix test_logging and test_smtplib with Python build withoud IPv6 support
2024-07-25 17:33:39 +05:30
AN Long
070f1e2e5b
gh-121913: Use str(exc) instead of exc.strerror in `asyncio.base_events` ( #122269 )
2024-07-25 17:26:04 +05:30
Serhiy Storchaka
6c09b8de5c
gh-122270: Fix typos in the Py_DEBUG macro name (GH-122271)
2024-07-25 14:04:22 +03:00
Serhiy Storchaka
dc07f65a53
gh-82951: Fix serializing by name in pickle protocols < 4 (GH-122149)
...
Serializing objects with complex __qualname__ (such as unbound methods and
nested classes) by name no longer involves serializing parent objects by value
in pickle protocols < 4.
2024-07-25 08:45:19 +00:00
Nate Ohlson
ca0f7c447c
gh-112301: Make fortify source option check -Werror (gh-122141)
2024-07-25 17:35:23 +09:00
Sam Gross
2f74b709b6
gh-122187: Avoid TSan reported race in `run_udp_echo_server` ( #122189 )
...
TSan doesn't fully recognize the synchronization via I/O, so ensure that
socket name is retrieved earlier and use a different socket for sending
the "STOP" message.
2024-07-25 13:46:53 +05:30
Serhiy Storchaka
bb108580de
gh-122087: Add tests for ismethoddescriptor() and isroutine() with partial objects (GH-122219)
2024-07-25 10:12:26 +03:00
Mikołaj Kuranowski
a3327dbfd4
gh-113785: csv: fields starting with escapechar are not quoted (GH-122110)
2024-07-25 10:04:47 +03:00
Serhiy Storchaka
9b4fe9b718
gh-122191: Fix test_warnings failure if run with -Werror (GH-122222)
...
__spec__.loader is now required in the module globals (see gh-86298).
2024-07-25 09:57:22 +03:00
Dino Viehland
5592399313
gh-122208: Don't delivery PyDict_EVENT_ADDED until it can't fail ( #122207 )
...
Don't delivery PyDict_EVENT_ADDED until it can't fail
2024-07-24 10:58:28 -07:00
Irit Katriel
9ac606080a
gh-121404: extract compiler_lookup_arg out of compiler_make_closure ( #122181 )
2024-07-24 17:22:18 +01:00
Brandt Bucher
794546fd53
GH-118093: Remove invalidated executors from side exits (GH-121885)
2024-07-24 09:16:30 -07:00
sobolevn
e9681211b9
gh-122229: Add missing `Py_DECREF` in `func_get_annotation_dict` ( #122230 )
2024-07-24 05:47:52 -07:00
Sviatoslav Sydorenko (Святослав Сидоренко)
af4329e7b1
Integrate `build_msi` into main CI workflow ( #121778 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-07-24 03:46:39 -06:00
Mark Shannon
e55b05f29e
GH-121832: Assert that the version number of static builtin types is not changed by PyType_Modified. (GH-122182)
...
Update datetime module and test_type_cache.py to not call PyType_Modified.
2024-07-24 10:22:51 +01:00
Hugo van Kemenade
b3b7b7d46a
gh-122085: Use include files for `whatsnew/3.12.rst` deprecations ( #122093 )
2024-07-24 02:29:35 -06:00
Xie Yanbo
f067efa643
Fix typo in news document (GH-122209)
2024-07-24 06:49:58 +00:00
Cody Maloney
9eb734111b
GH-120754: Add more tests around seek + readall ( #122103 )
...
In the process of speeding up readall, A number of related tests
(ex. large file tests in test_zipfile) found problems with the
change I was making. This adds I/O tests to specifically test these
cases to help ensure they don't regress and hopefully make debugging
easier.
This is part of the improvements from
https://github.com/python/cpython/pull/121593#issuecomment-2222261986
2024-07-23 23:14:35 -07:00
Tian Gao
e91ef13861
gh-122029: Log call events in sys.setprofile when it's a method with c function (GH-122072)
...
Log call events in sys.setprofile when it is a method with a C function.
2024-07-23 15:25:26 -07:00
Eric Snow
41a91bd67f
gh-122199: Skip test_slot_wrappers When Checking For Refleaks (gh-122200)
2024-07-23 21:19:17 +00:00