Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | GH-112361: Speed up pathlib by removing some temporary objects. (#112362) | Barney Gale | 2023-11-25 | 3 | -22/+14 |
| | | | | | Construct only one new list object (using `list.copy()`) when creating a new path object with a modified tail. This slightly speeds up `with_name()` and `with_suffix()` | ||||
* | gh-101100: Define `_tkinter` module to fix references (#112382) | Hugo van Kemenade | 2023-11-25 | 1 | -0/+3 |
| | | | Define _tkinter module to fix references | ||||
* | gh-101100: Define `test.regrtest` module to fix references (#112381) | Hugo van Kemenade | 2023-11-25 | 1 | -0/+3 |
| | | | Define test.regrtest module to fix references | ||||
* | gh-112355: fix calculation of jump target of ENTER_EXECUTOR in dis (#112377) | Irit Katriel | 2023-11-24 | 1 | -1/+6 |
| | |||||
* | gh-59254: mention in open() doc that line buffering is for writing (#112318) | Irit Katriel | 2023-11-24 | 1 | -1/+1 |
| | |||||
* | gh-112213: Add missing declaration of target_critical_section (gh-112374) | Donghee Na | 2023-11-24 | 1 | -2/+4 |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-112345: `typing.Protocol`: Let failed subclasscheck show non-method ↵ | Randolf Scholz | 2023-11-24 | 3 | -1/+25 |
| | | | | | members (#112344) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | Remove bogus annotations from the descriptor howto guide (#112349) | Raymond Hettinger | 2023-11-23 | 1 | -3/+3 |
| | |||||
* | Add extra tests for `random.binomialvariate` (gh-112325) | Tian Gao | 2023-11-23 | 2 | -0/+5 |
| | |||||
* | gh-112137: change dis output to show no-lineno as -- instead of None (#112335) | Irit Katriel | 2023-11-23 | 3 | -16/+18 |
| | |||||
* | gh-76785: Return an "excinfo" Object From Interpreter.run() (gh-111573) | Eric Snow | 2023-11-23 | 9 | -243/+418 |
| | |||||
* | gh-111809: Fix `test_deep_repr` from `test_userdict` on WASI (GH-112229) | Nikita Sobolev | 2023-11-22 | 1 | -1/+6 |
| | |||||
* | gh-112137: change dis output to display labels instead of offsets (#112138) | Irit Katriel | 2023-11-22 | 5 | -815/+838 |
| | |||||
* | gh-76785: Add _PyType_GetModuleName() to the Internal C-API (gh-112323) | Eric Snow | 2023-11-22 | 5 | -0/+43 |
| | | | The new function corresponds to the existing (public) PyType_GetName() and PyType_GetQualName(). | ||||
* | gh-76785: Clean up the Failure-Related _xxsubinterpreters Tests (gh-112322) | Eric Snow | 2023-11-22 | 1 | -37/+157 |
| | |||||
* | Merge branch 'main' of https://github.com/python/cpython | Thomas Wouters | 2023-11-22 | 5 | -4250/+4394 |
|\ | |||||
| * | GH-111485: Sort cases in the case generator output (GH-112315) | Mark Shannon | 2023-11-22 | 3 | -4210/+4214 |
| | | |||||
| * | gh-111965: Use critical sections to make io.BufferedIOBase and its related ↵ | Mayuresh Kedari | 2023-11-22 | 2 | -40/+180 |
| | | | | | | | | classes thread safe (gh-112298) | ||||
* | | Post 3.13.0a2 | Thomas Wouters | 2023-11-22 | 1 | -1/+1 |
| | | |||||
* | | Python 3.13.0a2v3.13.0a2 | Thomas Wouters | 2023-11-22 | 156 | -403/+1651 |
|/ | |||||
* | Do not build the macOS installer with mimalloc enabled (#112312) | Ned Deily | 2023-11-22 | 1 | -0/+2 |
| | | | | | Do not build the macOS installer with mimalloc enabled pending resolution of weak linking crashes during interpreter startup on macOS 10.9, 10.10, and 10.11 when built on macOS 11 and later. | ||||
* | gh-59703: restore include of mach-o/dyld.h (gh-112309) | Ned Deily | 2023-11-22 | 1 | -0/+1 |
| | | | | On older versions of macOS, _NSGetExecutablePath appears to only be available via macho-o/dyld so macho-o/dyld.h is still needed. | ||||
* | Fix docstring and var name of itertools recipe (#112113) | Sebastian Rittau | 2023-11-22 | 1 | -3/+3 |
| | | | | `prepend()` works with arbitrary iterables, not only iterators. In fact, the example given uses a `list`, which is iterable, but not an iterator. | ||||
* | gh-111863: Rename term Py_NOGIL to Py_GIL_DISABLED in sysconfig (gh-112307) | Donghee Na | 2023-11-22 | 2 | -5/+5 |
| | |||||
* | GH-111963: Clarify sys.monitoring.free_tool_id's limitations (GH-112291) | Tian Gao | 2023-11-21 | 1 | -0/+7 |
| | |||||
* | gh-110745: add a newline argument to pathlib.Path.read_text (#110880) | Junya Okabe | 2023-11-21 | 4 | -3/+22 |
| | | | | Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Barney Gale <barney.gale@gmail.com> | ||||
* | gh-111361: Added an update for unicodedata in what's new in Python 3.13 ↵ | Lincoln | 2023-11-21 | 1 | -0/+6 |
| | | | | | | (#112031) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | gh-111863: Rename blurb snippet placed in the wrong directory by accident. ↵ | T. Wouters | 2023-11-21 | 1 | -0/+0 |
| | | | | | (#112300) Rename blurb snippet placed in the wrong directory by accident. | ||||
* | gh-112252: Fix error on unset $OSNAME in venv/activate (GH-112253) | James Turk | 2023-11-21 | 1 | -1/+1 |
| | |||||
* | gh-57879: Increase test coverage for pstats.py (gh-111447) | Liu, An-Chi | 2023-11-21 | 1 | -0/+29 |
| | |||||
* | gh-110950: add upstream Tk fixes to macOS installer. (GH-111041) | Christopher Chavez | 2023-11-21 | 7 | -2/+206 |
| | | | | | | | | | | | | | | | | Add upstream Tk patches for three problems affecting tkinter users: - Update macOS installer to include a fix accepted by upstream Tcl/Tk for a crash encountered after the first :meth:`tkinter.Tk` instance is destroyed. (gh-92603) - Update macOS installer to include an upstream Tcl/Tk fix for the ``ttk::ThemeChanged`` error encountered in Tkinter. (gh-71383) - Update macOS installer to include an upstream Tcl/Tk fix for the ``Secure coding is not enabled for restorable state!`` warning encountered in Tkinter on macOS 14 Sonoma. (gh-110950) Co-authored-by: Ned Deily <nad@python.org> | ||||
* | gh-59703: use the system dladdr function in getpath.c for macOS framework ↵ | AN Long | 2023-11-21 | 2 | -11/+10 |
| | | | | | builds (GH-111546) Co-authored-by: Ned Deily <nad@python.org> | ||||
* | gh-111786: Use separate opcode vars for Tier 1 and Tier 2 (#112289) | Michael Droettboom | 2023-11-20 | 1 | -12/+11 |
| | | | | This makes Windows about 3% faster on pyperformance benchmarks. | ||||
* | gh-112287: Speed up Tier 2 (uop) interpreter a little (#112286) | Guido van Rossum | 2023-11-20 | 7 | -33/+131 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the Tier 2 interpreter a little faster. I calculated by about 3%, though I hesitate to claim an exact number. This starts by doubling the trace size limit (to 512), making it more likely that loops fit in a trace. The rest of the approach is to only load `oparg` and `operand` in cases that use them. The code generator know when these are used. For `oparg`, it will conditionally emit ``` oparg = CURRENT_OPARG(); ``` at the top of the case block. (The `oparg` variable may be referenced multiple times by the instructions code block, so it must be in a variable.) For `operand`, it will use `CURRENT_OPERAND()` directly instead of referencing the `operand` variable, which no longer exists. (There is only one place where this will be used.) | ||||
* | gh-111848: Clean up RESERVE() macro (#112274) | Guido van Rossum | 2023-11-20 | 1 | -14/+9 |
| | | | Also avoid compiler warnings about unused 'reserved' variable. | ||||
* | gh-106529: Make FOR_ITER a viable uop (#112134) | Guido van Rossum | 2023-11-20 | 8 | -43/+138 |
| | | | | | | | | | | This uses the new mechanism whereby certain uops are replaced by others during translation, using the `_PyUop_Replacements` table. We further special-case the `_FOR_ITER_TIER_TWO` uop to update the deoptimization target to point just past the corresponding `END_FOR` opcode. Two tiny code cleanups are also part of this PR. | ||||
* | gh-112243: Don't include comments in f-string debug expressions (#112284) | Pablo Galindo Salgado | 2023-11-20 | 3 | -6/+53 |
| | |||||
* | gh-111863: Rename `Py_NOGIL` to `Py_GIL_DISABLED` (#111864) | Hugo van Kemenade | 2023-11-20 | 39 | -81/+82 |
| | | | Rename Py_NOGIL to Py_GIL_DISABLED | ||||
* | bpo-45759: Better error messages for non-matching 'elif'/'else' statements ↵ | Crowthebird | 2023-11-20 | 4 | -437/+598 |
| | | | | (#29513) | ||||
* | GH-111807: Lower the parser stack depth under WASI debug builds (#112225) | Brett Cannon | 2023-11-20 | 3 | -2/+11 |
| | |||||
* | gh-73561: Omit interface scope from IPv6 when used as Host header (#93324) | Michael | 2023-11-19 | 3 | -2/+27 |
| | | | | | | | Omit the `@interface_scope` from an IPv6 address when used as Host header by `http.client`. --------- Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google LLC] | ||||
* | gh-111926: Update _PyWeakref_IS_DEAD to be thread-safe (gh-112267) | Donghee Na | 2023-11-19 | 1 | -4/+11 |
| | |||||
* | gh-112266: Remove `(if defined)` part from `__dict__` and `__weakref__` ↵ | Nikita Sobolev | 2023-11-19 | 3 | -18/+20 |
| | | | | docstrings (#112268) | ||||
* | gh-111965: Using critical sections to make ``io.StringIO`` thread safe. ↵ | AN Long | 2023-11-19 | 2 | -30/+194 |
| | | | | (gh-112116) | ||||
* | gh-110383: Explained which error message is generated when there is an ↵ | Unique-Usman | 2023-11-19 | 1 | -2/+1 |
| | | | | | | unhandled exception (#111574) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | gh-110383: Fix documentation profile cumtime fix (#112221) | Alex Ptakhin | 2023-11-19 | 1 | -2/+2 |
| | | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | IDLE: Fix test_debugger bug and buildbot failures (#112258) | Terry Jan Reedy | 2023-11-19 | 1 | -5/+7 |
| | | | | | | | | | Missing "requires('gui')" causes Tk() to fail when no gui. This caused CI Hypothesis test to fail, but I did not understand the its error message. Then buildbots failed. IdbTest failed on draft Bdb replacement because so different. Simplified version works on old and new. | ||||
* | gh-79871: IDLE - Fix and test debugger module (#11451) | Anthony Shaw | 2023-11-19 | 5 | -77/+400 |
| | | | | | | | Add docstrings to the debugger module. Fix two bugs: initialize Idb.botframe (should be in Bdb); In Idb.in_rpc_code, check whether prev_frame is None before trying to use it. Make other code changes. Expand test_debugger coverage from 19% to 66%. --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | ||||
* | gh-112186: Improve test case `test_loop_is_closed_resource_warnings` (#112187) | DPR | 2023-11-19 | 1 | -6/+3 |
| | |||||
* | gh-112213: Update _weakref module to use new AC feature (gh-112250) | Donghee Na | 2023-11-19 | 2 | -25/+31 |
| |