Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove comment from pystate created in 2003 (#123259) | Anthony Shaw | 2024-08-24 | 1 | -5/+0 | |
| | ||||||
* | gh-123228: fix return type for _ReadlineWrapper.get_line_buffer() (#123281) | Sergey B Kirpichev | 2024-08-24 | 3 | -5/+13 | |
| | | | Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de> | |||||
* | GH-122890: Fix low-level error handling in `pathlib.Path.copy()` (#122897) | Barney Gale | 2024-08-24 | 2 | -16/+90 | |
| | | | | | | | | | Give unique names to our low-level FD copying functions, and try each one in turn. Handle errors appropriately for each implementation: - `fcntl.FICLONE`: suppress `EBADF`, `EOPNOTSUPP`, `ETXTBSY`, `EXDEV` - `posix._fcopyfile`: suppress `EBADF`, `ENOTSUP` - `os.copy_file_range`: suppress `ETXTBSY`, `EXDEV` - `os.sendfile`: suppress `ENOTSOCK` | |||||
* | GH-109975: Copyedit 3.13 What's New: Improved Modules (#123132) | Adam Turner | 2024-08-24 | 2 | -355/+480 | |
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | |||||
* | Docs: Fix Makefile syntax (#123287) | Adam Turner | 2024-08-24 | 1 | -2/+2 | |
| | ||||||
* | gh-123243: Fix reference leak in `_decimal` (#123244) | neonene | 2024-08-24 | 2 | -2/+25 | |
| | ||||||
* | gh-117376: Make `Py_DECREF` a macro in ceval.c in free-threaded build (#122975) | Sam Gross | 2024-08-23 | 2 | -27/+53 | |
| | | | | | | | | | | | `Py_DECREF` and `PyStackRef_CLOSE` are now implemented as macros in the free-threaded build in ceval.c. There are two motivations; * MSVC has problems inlining functions in ceval.c in the PGO build. * We will want to mark escaping calls in order to spill the stack pointer in ceval.c and we will want to do this around `_Py_Dealloc` (or `_Py_MergeZeroLocalRefcount` or `_Py_DecRefShared`), not around the entire `Py_DECREF` or `PyStackRef_CLOSE` call. | |||||
* | gh-123205: `Python/bytecodes.c`: Fix compiler warning (#123206) | Kirill Podoprigora | 2024-08-23 | 3 | -3/+3 | |
| | | | Fix MSVC warning "conversion from '__int64' to 'int'" | |||||
* | GH-73991: Disallow copying directory into itself via `pathlib.Path.copy()` ↵ | Barney Gale | 2024-08-23 | 2 | -14/+140 | |
| | | | | (#122924) | |||||
* | gh-121404: more compiler_* -> codegen_*, class_body and comprehensions (#123262) | Irit Katriel | 2024-08-23 | 1 | -59/+82 | |
| | ||||||
* | Fix typo mentioning threads instead of tasks (#123203) | Kevin Evans | 2024-08-23 | 1 | -3/+3 | |
| | ||||||
* | gh-122272: Guarantee specifiers %F and %C for datetime.strftime to be ↵ | blhsing | 2024-08-23 | 7 | -14/+145 | |
| | | | | 0-padded (GH-122436) | |||||
* | GH-122298: Restore printing of GC stats (GH-123261) | Mark Shannon | 2024-08-23 | 2 | -0/+28 | |
| | ||||||
* | gh-123229: Fix valgrind warning by initializing the f-string buffers to 0 in ↵ | Pablo Galindo Salgado | 2024-08-23 | 2 | -1/+4 | |
| | | | | | the tokenizer (#123263) Signed-off-by: Pablo Galindo <pablogsal@gmail.com> | |||||
* | GH-123232: Fix "not specialized" stats (GH-123236) | Mark Shannon | 2024-08-23 | 4 | -2/+18 | |
| | ||||||
* | gh-121404: compiler_annassign --> codegen_annassign (#123245) | Irit Katriel | 2024-08-23 | 1 | -63/+100 | |
| | ||||||
* | GH-123040: Specialize shadowed `LOAD_ATTR`. (GH-123219) | Mark Shannon | 2024-08-23 | 7 | -201/+334 | |
| | ||||||
* | gh-123213: Fixed xml.etree.ElementTree.Element.extend and assignment to no ↵ | Bar Harel | 2024-08-23 | 4 | -11/+38 | |
| | | | | longer hide exceptions (GH-123214) | |||||
* | GH-99108: Amend Modules/Setup (#123146) | Jonathan Protzenko | 2024-08-23 | 1 | -1/+1 | |
| | ||||||
* | gh-122546: Relax SyntaxError check when raising errors on the new REPL (#123233) | Sergey B Kirpichev | 2024-08-22 | 2 | -1/+5 | |
| | ||||||
* | gh-123083: Fix a potential use-after-free in ``STORE_ATTR_WITH_HINT`` ↵ | Donghee Na | 2024-08-22 | 6 | -18/+42 | |
| | | | | (gh-123092) | |||||
* | gh-121404: remove redundant c_nestlevel. more compiler abstractions. more ↵ | Irit Katriel | 2024-08-22 | 1 | -118/+111 | |
| | | | | macro usage consistency (#123225) | |||||
* | gh-123165: correct tests for `dis.dis(func, show_positions=True)` (#123220) | Bénédikt Tran | 2024-08-22 | 1 | -34/+38 | |
| | ||||||
* | GH-123197: Only count an instruction as deferred if it hasn't deopted first. ↵ | Mark Shannon | 2024-08-22 | 4 | -30/+33 | |
| | | | | | (GH-123222) Only count an instruction as deferred if hasn't deopted first. | |||||
* | gh-122546: use same filename for different exceptions in new repl (#123217) | Sergey B Kirpichev | 2024-08-22 | 4 | -10/+14 | |
| | | | | | * gh-122546: use same filename for different exceptions in new repl * +1 | |||||
* | GH-118093: Specialize calls to non-vectorcall classes as ↵ | Brandt Bucher | 2024-08-22 | 1 | -5/+1 | |
| | | | | | `CALL_NON_PY_GENERAL` (GH-123212) Specialize classes without vectorcall as CALL_NON_PY_GENERAL | |||||
* | gh-122712: Test `CALL_ALLOC_AND_ENTER_INIT` handles reassignment of ↵ | mpage | 2024-08-22 | 1 | -7/+32 | |
| | | | | `__code__` (GH-122713) | |||||
* | gh-123142: Fix too wide source locations in tracebacks of exceptions from ↵ | Irit Katriel | 2024-08-21 | 8 | -22/+122 | |
| | | | | broken iterables in comprehensions (#123173) | |||||
* | GH-115776: Allow any fixed sized object to have inline values (GH-123192) | Mark Shannon | 2024-08-21 | 13 | -38/+61 | |
| | ||||||
* | gh-121404: split fblock handling into compiler_* and codegen_* parts (#123199) | Irit Katriel | 2024-08-21 | 1 | -15/+24 | |
| | ||||||
* | gh-123165: make `dis` functions render positions on demand (#123168) | Bénédikt Tran | 2024-08-21 | 5 | -37/+209 | |
| | ||||||
* | Fix typos in comments (#123201) | Wulian | 2024-08-21 | 9 | -13/+13 | |
| | ||||||
* | GH-123197: Increment correct stat for CALL_KW (GH-123200) | Mark Shannon | 2024-08-21 | 2 | -2/+2 | |
| | ||||||
* | GH-123185: Check for `NULL` after calling `_PyEvalFramePushAndInit` (GH-123194) | Mark Shannon | 2024-08-21 | 5 | -4/+29 | |
| | ||||||
* | gh-85110: Preserve relative path in URL without netloc in ↵ | Serhiy Storchaka | 2024-08-21 | 3 | -9/+38 | |
| | | | | urllib.parse.urlunsplit() (GH-123179) | |||||
* | gh-123084: Turn `shutil.ExecError` into a deprecated alias of `RuntimeError` ↵ | Peter Bierma | 2024-08-21 | 4 | -4/+25 | |
| | | | | (#123125) | |||||
* | gh-122981: Fix inspect.getsource() for generated classes with Python base ↵ | Serhiy Storchaka | 2024-08-20 | 4 | -4/+66 | |
| | | | | | | classes (GH-123001) Look up __firstlineno__ only in the class' dict, without searching in base classes. | |||||
* | GH-118093: Make `CALL_ALLOC_AND_ENTER_INIT` suitable for tier 2. (GH-123140) | Mark Shannon | 2024-08-20 | 17 | -299/+464 | |
| | | | | | * Convert CALL_ALLOC_AND_ENTER_INIT to micro-ops such that tier 2 supports it * Allow inexact arguments for CALL_ALLOC_AND_ENTER_INIT. | |||||
* | gh-123048: Fix missing source location in pattern matching code (#123167) | Irit Katriel | 2024-08-20 | 3 | -1/+22 | |
| | ||||||
* | gh-122909: Pass ftp error strings to URLError constructor (#122913) | Jeremy Hylton | 2024-08-20 | 3 | -2/+26 | |
| | | | | | | | | | | | * pass the original string error message from the ftplib error to URLError() * Update request.py Change error string for ftp error to be consistent with other errors reported for ftp * Add NEWS entry for change to urllib.request for ftp errors. * Track the change in the ftp error message in the test. | |||||
* | gh-109975: Copyedit What's New in Python 3.13 (#123150) | Jelle Zijlstra | 2024-08-19 | 1 | -16/+16 | |
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | |||||
* | gh-123149: Suppress verbose repr in new REPL (#123151) | James | 2024-08-19 | 1 | -2/+2 | |
| | ||||||
* | gh-123123: Fix display of syntax errors covering multiple lines (#123131) | Pablo Galindo Salgado | 2024-08-19 | 3 | -7/+45 | |
| | | | Signed-off-by: Pablo Galindo <pablogsal@gmail.com> | |||||
* | gh-121404: rename functions to use codegen_* prefix. Use macros more ↵ | Irit Katriel | 2024-08-19 | 1 | -349/+303 | |
| | | | | consistently. (#123139) | |||||
* | gh-121804: Always show error location for SyntaxError's in new repl (#121886) | Sergey B Kirpichev | 2024-08-19 | 5 | -10/+36 | |
| | ||||||
* | gh-121404: pass metadata to compiler_enter_scope (optionally) so that ↵ | Irit Katriel | 2024-08-19 | 1 | -58/+82 | |
| | | | | codegen functions don't need to set it on the code unit (#123078) | |||||
* | gh-122081: fixed crash in decimal.IEEEContext() (#122082) | Sergey B Kirpichev | 2024-08-19 | 2 | -2/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | * gh-122081: fixed crash in decimal.IEEEContext() Now $ ./configure CFLAGS=-DEXTRA_FUNCTIONALITY -q && make -s && \ ./python -m test test_decimal - PASS * Apply suggestions from code review Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> * Update Misc/NEWS.d/next/Library/2024-07-21-10-45-24.gh-issue-122081.dNrYMq.rst * Apply suggestions from code review --------- Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Kumar Aditya <kumaraditya@python.org> | |||||
* | gh-123049: configparser: Allow to create the unnamed section from scratch. ↵ | Pedro Lacerda | 2024-08-18 | 4 | -13/+52 | |
| | | | | | | | | | (#123077) --------- Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | |||||
* | gh-116789: Add more tests for `inspect.getmembers` (#116802) | sobolevn | 2024-08-18 | 1 | -0/+50 | |
| | ||||||
* | gh-123110: correct note about _Bool in the struct module docs (GH-123111) | Sergey B Kirpichev | 2024-08-18 | 1 | -3/+3 | |
| |