Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | GH-118095: Allow a variant of RESUME_CHECK in tier 2 (GH-118286) | Mark Shannon | 2024-04-29 | 6 | -103/+189 |
| | |||||
* | gh-118374: test_ast: Add ``ctx`` argument to ``ast.Name`` calls (#118375) | Kirill Podoprigora | 2024-04-29 | 1 | -3/+3 |
| | |||||
* | gh-118293: Suppress mouse cursor feedback when launching Windows processes ↵ | Henrik Tunedal | 2024-04-28 | 5 | -1/+71 |
| | | | | with multiprocessing (GH-118315) | ||||
* | gh-101100: Fix Sphinx warnings in `whatsnew/3.10.rst` (#118356) | Hugo van Kemenade | 2024-04-28 | 1 | -37/+37 |
| | |||||
* | gh-101100: Fix Sphinx warnings in `library/faulthandler.rst` (#118353) | Hugo van Kemenade | 2024-04-28 | 2 | -8/+9 |
| | |||||
* | gh-101100: Fix Sphinx warnings in `whatsnew/3.9.rst` (#118364) | Hugo van Kemenade | 2024-04-28 | 7 | -37/+37 |
| | |||||
* | Fix typo in Tools/wasm/README.md(#118358) | Xie Yanbo | 2024-04-28 | 1 | -1/+1 |
| | |||||
* | gh-109118: Make comprehensions work within annotation scopes, but without ↵ | Jelle Zijlstra | 2024-04-28 | 4 | -34/+39 |
| | | | | | inlining (#118160) Co-authored-by: Carl Meyer <carl@oddbird.net> | ||||
* | gh-118323: Document `&&` grammar syntax (#118324) | Nikita Sobolev | 2024-04-27 | 1 | -0/+3 |
| | |||||
* | Correct typo in iOS README (#118341) | Wulian233 | 2024-04-27 | 1 | -1/+1 |
| | |||||
* | Correct spelling error in recent NEWS entry (#118308) | Xie Yanbo | 2024-04-27 | 1 | -1/+1 |
| | |||||
* | gh-110693: Use a Larger Queue for Per-Interpreter Pending Calls (gh-118302) | Eric Snow | 2024-04-27 | 2 | -4/+6 |
| | | | This is an improvement over the status quo, reducing the likelihood of completely filling the pending calls queue. However, the problem won't go away completely unless we move to an unbounded linked list or add a mechanism for waiting until the queue isn't full. | ||||
* | bpo-32839: Add the after_info() method for Tkinter widgets (GH-5664) | Cheryl Sabella | 2024-04-26 | 4 | -0/+59 |
| | |||||
* | gh-112730: Respect tests that require environment variables with no-colorize ↵ | Pablo Galindo Salgado | 2024-04-26 | 2 | -2/+5 |
| | | | | fixes (#118288) | ||||
* | gh-116749: Disable GIL by default in free-threaded build (#118295) | Sam Gross | 2024-04-26 | 1 | -3/+1 |
| | | | | Switch GIL to disabled by default in free-threaded build so that the free-threaded CIs catch thread-safety issues. | ||||
* | GH-118095: Add dynamic exit support and FOR_ITER_GEN support to tier 2 ↵ | Mark Shannon | 2024-04-26 | 12 | -139/+315 |
| | | | | (GH-118279) | ||||
* | gh-117680: Fix msvc warning in instruction_sequence.c (#118326) | neonene | 2024-04-26 | 1 | -2/+2 |
| | |||||
* | gh-117385: Remove unhooked events on sys.settrace (GH-117386) | Tian Gao | 2024-04-26 | 2 | -3/+3 |
| | |||||
* | gh-117657: Fix race data race in `_Py_IsOwnedByCurrentThread()` (#118258) | mpage | 2024-04-26 | 2 | -1/+4 |
| | |||||
* | Fix note in Enum.__new__ docs (#118284) | Philipp A | 2024-04-26 | 1 | -5/+5 |
| | |||||
* | gh-117928: Bump the minimum Sphinx version to 6.2.1 (#117853) | Kirill Podoprigora | 2024-04-26 | 6 | -40/+24 |
| | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | ||||
* | gh-118235: Skip RAISE_SYNTAX_ERROR rules in the grammar spec (GH-118237) | Petr Viktorin | 2024-04-26 | 1 | -0/+2 |
| | |||||
* | gh-110693: Pending Calls Machinery Cleanups (gh-118296) | Eric Snow | 2024-04-26 | 7 | -112/+314 |
| | | | This does some cleanup in preparation for later changes. | ||||
* | gh-112075: _Py_dict_lookup needs to lock shared keys (#117528) | Dino Viehland | 2024-04-25 | 1 | -127/+158 |
| | | | | | Lock shared keys in `Py_dict_lookup` and use thread-safe lookup in `insertdict` Co-authored-by: Sam Gross <colesbury@gmail.com> | ||||
* | Remove tests_gui variables from Tkinter tests (GH-118280) | Serhiy Storchaka | 2024-04-25 | 3 | -20/+0 |
| | | | | They were only used in runtktests.py which was removed in f59ed3c310a7ceebf2a56a84ea969a7f75d95b64 (bpo-45229). | ||||
* | gh-117657: Fixes a few small TSAN issues in dictobject (#118200) | Dino Viehland | 2024-04-25 | 4 | -15/+19 |
| | | | | Fixup TSAN errors for dict | ||||
* | gh-117657: Add a couple more TSAN suppressions (#118256) | mpage | 2024-04-25 | 1 | -0/+5 |
| | |||||
* | gh-117657: Fix data race in `_Py_IsImmortal` (#118261) | mpage | 2024-04-25 | 2 | -2/+2 |
| | | | | The load of `ob_ref_local races with stores. Using a relaxed load is sufficient; stores to the field are relaxed. | ||||
* | gh-117566: fix IPv6Address.is_loopback for IPv4-mapped loopbacks (GH-117567) | Faidon Liambotis | 2024-04-25 | 3 | -1/+23 |
| | | | | | | | | | | | | | | | | | | | While properties like IPv6Address.is_private account for IPv4-mapped IPv6 addresses, such as for example: >>> ipaddress.ip_address("192.168.0.1").is_private True >>> ipaddress.ip_address("::ffff:192.168.0.1").is_private True ...the same doesn't currently apply to the is_loopback property: >>> ipaddress.ip_address("127.0.0.1").is_loopback True >>> ipaddress.ip_address("::ffff:127.0.0.1").is_loopback False At minimum, this inconsistency between different properties is counter-intuitive. Moreover, ::ffff:127.0.0.0/104 is for all intents and purposes a loopback address, and should be treated as such. | ||||
* | gh-112069: Do not require lock if the set has never been exposed. (gh-118069) | Donghee Na | 2024-04-25 | 1 | -0/+7 |
| | |||||
* | Fix incorrect usage of ``support.requires_gil_enabled`` (#118170) | Kirill Podoprigora | 2024-04-25 | 2 | -2/+2 |
| | |||||
* | gh-117578: Introduce _PyType_GetModuleByDef2 private function (GH-117661) | neonene | 2024-04-25 | 3 | -12/+49 |
| | | | | Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Petr Viktorin <encukou@gmail.com> | ||||
* | GH-118095: Handle `RETURN_GENERATOR` in tier 2 (GH-118180) | Mark Shannon | 2024-04-25 | 16 | -81/+143 |
| | |||||
* | gh-102511: Speed up os.path.splitroot() with native helpers (GH-118089) | Nice Zombies | 2024-04-25 | 8 | -108/+337 |
| | |||||
* | gh-118221: Always use the default row factory in sqlite3.iterdump() (#118223) | Erlend E. Aasland | 2024-04-25 | 3 | -0/+18 |
| | | | | | | | | | | | | sqlite3.iterdump() depends on the row factory returning resulting rows as tuples; it will fail with custom row factories like for example a dict factory. With this commit, we explicitly reset the row factory of the cursor used by iterdump(), so we always get predictable results. This does not affect the row factory of the parent connection. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | gh-118207: Rename the COMMON_FIELDS macro in funcobject.h and undef it after ↵ | Itamar Oren | 2024-04-25 | 1 | -3/+5 |
| | | | | use (GH-118208) | ||||
* | gh-117968: Make the test for closed file more safe in the C API tests ↵ | Serhiy Storchaka | 2024-04-25 | 1 | -2/+4 |
| | | | | | | | | (GH-118230) The behavior of fileno() after fclose() is undefined, but it is the only practical way to check whether the file was closed. Only test this on the known platforms (Linux, Windows, macOS), where we already tested that it works. | ||||
* | gh-117786: Fix venv created from Windows Store install by restoring ↵ | Steve Dower | 2024-04-24 | 4 | -12/+21 |
| | | | | __PYVENV_LAUNCHER__ smuggling (GH-117814) | ||||
* | GH-118246: Exclude test_pathlib and test_posixpath from emulated JIT CI ↵ | Savannah Ostrowski | 2024-04-24 | 1 | -2/+2 |
| | | | | (GH-118247) | ||||
* | gh-108191: Add support of positional argument in SimpleNamespace constructor ↵ | Serhiy Storchaka | 2024-04-24 | 5 | -20/+92 |
| | | | | | | | (GH-108195) SimpleNamespace({'a': 1, 'b': 2}) and SimpleNamespace([('a', 1), ('b', 2)]) are now the same as SimpleNamespace(a=1, b=2). | ||||
* | gh-117953: Fix Refleaks Introduced by gh-118194 (gh-118250) | Eric Snow | 2024-04-24 | 1 | -1/+5 |
| | | | | | A couple of refleaks slipped through in gh-118194. This takes care of them. (AKA _Py_ext_module_loader_info_init() does not steal references.) | ||||
* | gh-112730: Make the test suite resilient to color-activation environment ↵ | Pablo Galindo Salgado | 2024-04-24 | 13 | -16/+89 |
| | | | | variables (#117672) | ||||
* | gh-85453: Make numeric literals consistent across datetime.rst (#118245) | edson duarte | 2024-04-24 | 1 | -3/+3 |
| | | | Remove code formatting from remaining numeric literals. | ||||
* | gh-85453: Adapt datetime.rst to devguide recommendations for code snippets ↵ | edson duarte | 2024-04-24 | 1 | -45/+45 |
| | | | | | | | | | and variables (#118068) Also remove formatting from numeric literals. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Erlend E. Aasland <erlend@python.org> | ||||
* | gh-117953: Add Internal struct _Py_ext_module_loader_info (gh-118194) | Eric Snow | 2024-04-24 | 3 | -94/+180 |
| | | | This helps with a later change that splits up _PyImport_LoadDynamicModuleWithSpec(). | ||||
* | gh-116988: Remove duplicates of `annotated_rhs` in the Grammar (#117004) | David Rubin | 2024-04-24 | 3 | -2101/+1570 |
| | |||||
* | gh-117953: Let update_global_state_for_extension() Caller Decide If ↵ | Eric Snow | 2024-04-24 | 1 | -20/+93 |
| | | | | | Singlephase or Not (gh-118193) This change makes other upcoming changes simpler. | ||||
* | gh-76785: Rename _xxsubinterpreters to _interpreters (gh-117791) | Eric Snow | 2024-04-24 | 34 | -543/+550 |
| | | | See https://discuss.python.org/t/pep-734-multiple-interpreters-in-the-stdlib/41147/26. | ||||
* | gh-117953: Cleanups For fix_up_extension() in import.c (gh-118192) | Eric Snow | 2024-04-24 | 5 | -97/+163 |
| | | | These are cleanups I've pulled out of gh-118116. Mostly, this change moves code around to align with some future changes and to improve clarity a little. There is one very small change in behavior: we now add the module to the per-interpreter caches after updating the global state, rather than before. | ||||
* | gh-118013: Use weakrefs for the cache key in `inspect._shadowed_dict` (#118202) | Alex Waygood | 2024-04-24 | 5 | -8/+59 |
| |