summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix patchcheck for `asyncio.tasks` (#108159)Kumar Aditya2023-08-201-9/+9
|
* Fix misspellings in sysconfig docs (#108156)Rafael Fontenelle2023-08-201-5/+5
|
* gh-107980: fix doc role for asyncio.timeouts (#108126)Tin Tvrtković2023-08-191-3/+3
|
* Docs: Remove links to external C functions and macros in os.rst (#108138)Erlend E. Aasland2023-08-191-25/+27
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* gh-107915: Handle errors in C API functions PyErr_Set*() and PyErr_Format() ↵Serhiy Storchaka2023-08-195-9/+218
| | | | | | | | (GH-107918) Such C API functions as PyErr_SetString(), PyErr_Format(), PyErr_SetFromErrnoWithFilename() and many others no longer crash or ignore errors if it failed to format the error message or decode the filename. Instead, they keep a corresponding error.
* gh-72684: Tkinter: provide interface for "tk busy" subcommands (GH-107684)Serhiy Storchaka2023-08-194-1/+146
| | | | Add tkinter.Misc methods: tk_busy_hold(), tk_busy_configure(), tk_busy_cget(), tk_busy_forget(), tk_busy_current(), and tk_busy_status().
* Docs: format sys.float_info properly (#108107)Erlend E. Aasland2023-08-191-52/+73
| | | | | | | | | | - Normalise capitalisation and punctuation - Use attribute markup for named tuple attributes - Use :c:macro: markup for C macros - Use a list for the 'rounds' attribute values - Use list-table, for better .rst readability - Remove one unneeded sys.float_info.dig link Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* gh-107704: Argument Clinic: add support for deprecating keyword use of ↵Serhiy Storchaka2023-08-199-1344/+2992
| | | | | | | | | | | | parameters (GH-107984) It is now possible to deprecate passing keyword arguments for keyword-or-positional parameters with Argument Clinic, using the new '/ [from X.Y]' syntax. (To be read as "positional-only from Python version X.Y") Co-authored-by: Erlend E. Aasland <erlend@python.org> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-101100: Only show GitHub check annotations on changed doc paragraphs ↵C.A.M. Gerlach2023-08-192-31/+208
| | | | | | | | | | | | | (#108065) * Only show GitHub check annotations on changed doc paragraphs * Improve check-warnings script arg parsing following Hugo's suggestions * Factor filtering warnings by modified diffs into helper function * Build docs on unmerged branch so warning lines match & avoid deep clone --------- Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* gh-107565: Update macOS installer to use OpenSSL 3.0.10. (GH-107897)Ned Deily2023-08-182-3/+4
|
* gh-107565: Update multissltests and GitHub CI workflows to use OpenSSL ↵Ned Deily2023-08-183-7/+9
| | | | 1.1.1v, 3.0.10, and 3.1.2. (GH-107896)
* gh-107801: Improve the accuracy of os.lseek docs (#107935)Erlend E. Aasland2023-08-183-14/+33
| | | | | | | | - name the last parameter *whence*, like it is for seek() methods on file objects - add param docstrings - structure the valid *whence* params Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Minor code clean-up for the factor() recipe (GH-108114)Raymond Hettinger2023-08-181-3/+1
|
* gh-107995: Fix doctest collection of functools.cached_property objects (#107996)Tyler Smart2023-08-185-0/+22
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-104504: Run mypy on cases_generator in CI (and blacken the code) (gh-108090)Dong-hee Na2023-08-1811-195/+314
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-108083: Don't ignore exceptions in sqlite3.Connection.__init__() and ↵Erlend E. Aasland2023-08-182-31/+77
| | | | | | | | | | | | | | .close() (#108084) - Add explanatory comments - Add return value to connection_close() for propagating errors - Always check the return value of connection_exec_stmt() - Assert pre/post state in remove_callbacks() - Don't log unraisable exceptions in case of interpreter shutdown - Make sure we're not initialized if reinit fails - Try to close the database even if ROLLBACK fails Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-108014: Add Py_IsFinalizing() function (#108032)Victor Stinner2023-08-189-9/+24
| | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Docs: emphasise warning and add accurate markups for sys.unraisablehook ↵Erlend E. Aasland2023-08-181-17/+21
| | | | (#108105)
* gh-107801: Improve the docs of the SEEK_* constants (#108099)Erlend E. Aasland2023-08-171-4/+14
|
* Docs: Fix Sphinx warnings in io.rst (#107903)Erlend E. Aasland2023-08-172-36/+36
| | | | | | - Mark up parameter and argument names properly - If possible, link to docs for methods like `seek`, `tell`, `write`, `read`, etc. Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* gh-107944: Improve error message for function calls with bad keyword ↵Pablo Galindo Salgado2023-08-175-11/+106
| | | | arguments (#107969)
* gh-106581: Project through calls (#108067)Guido van Rossum2023-08-1716-109/+409
| | | | This finishes the work begun in gh-107760. When, while projecting a superblock, we encounter a call to a short, simple function, the superblock will now enter the function using `_PUSH_FRAME`, continue through it, and leave it using `_POP_FRAME`, and then continue through the original code. Multiple frame pushes and pops are even possible. It is also possible to stop appending to the superblock in the middle of a called function, when running out of space or encountering an unsupported bytecode.
* gh-104683: Argument Clinic: Remove unreachable code from _module_and_class() ↵Erlend E. Aasland2023-08-171-2/+0
| | | | | | | (#108092) 'not hasattr(parent, "classes")' is always false, since 'parent' is an instance of either the Module, Class, or Clinic classes, and all of them has a "classes" attribute.
* gh-102029: Deprecate passing arguments to `_PyRLock` in `threading` (#102071)Nikita Sobolev2023-08-174-0/+38
|
* gh-105481: opcode.h is no longer generated during the build (#108080)Irit Katriel2023-08-177-72/+99
|
* Add workflow for automatic issue headers (#108054)Adam Turner2023-08-171-0/+53
| | | We don't get the "Bug report" and "Feature or enhancement" titles anymore, with the new issue forms. This brings them back!
* gh-107801: Document SEEK_HOLE and SEEK_DATA (#107936)Erlend E. Aasland2023-08-171-2/+27
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Antoine Pitrou <antoine@python.org>
* gh-105481: fix out of date comment (#108079)Irit Katriel2023-08-171-1/+1
|
* GH-108035: Remove the `_PyCFrame` struct as it is no longer needed for ↵Mark Shannon2023-08-1721-103/+66
| | | | performance. (GH-108036)
* GH-107987: Remove the Distributing Python Modules guide (#108016)Adam Turner2023-08-175-170/+16
|
* gh-107298: Fix some references in the C API documentation (GH-108072)Serhiy Storchaka2023-08-1711-20/+20
|
* gh-105539: Explict resource management for connection objects in sqlite3 ↵Erlend E. Aasland2023-08-179-387/+373
| | | | | | | | tests (#108017) - Use memory_database() helper - Move test utility functions to util.py - Add convenience memory database mixin - Add check() helper for closed connection tests
* gh-107298: Add standard exceptions and warnings in the nitpick_ignore list ↵Serhiy Storchaka2023-08-171-0/+71
| | | | (GH-108029)
* gh-106581: Split `CALL_PY_EXACT_ARGS` into uops (#107760)Guido van Rossum2023-08-1614-116/+412
| | | | | | | | | | | | * Split `CALL_PY_EXACT_ARGS` into uops This is only the first step for doing `CALL` in Tier 2. The next step involves tracing into the called code object and back. After that we'll have to do the remaining `CALL` specialization. Finally we'll have to deal with `KW_NAMES`. Note: this moves setting `frame->return_offset` directly in front of `DISPATCH_INLINED()`, to make it easier to move it into `_PUSH_FRAME`.
* gh-105481: generate op IDs from bytecode.c instead of hard coding them in ↵Irit Katriel2023-08-1621-1461/+1533
| | | | opcode.py (#107971)
* GH-92584: Remove references to Distutils in configure.rst (#108043)Adam Turner2023-08-161-11/+6
| | | Remove references to Distutils in configure.rst
* GH-92584: Remove Installing Python Modules (Distutils version) (#108020)Adam Turner2023-08-165-1090/+3
|
* GH-92584: Remove references to Distutils in ``PYTHONUSERBASE`` (#108040)Adam Turner2023-08-162-4/+4
| | | Remove references to Distutils in ``PYTHONUSERBASE``
* GH-92584: Redirect macOS package installation to the PPUG (#108044)Adam Turner2023-08-161-6/+2
|
* gh-56166: Deprecate passing confusing positional arguments in re functions ↵Serhiy Storchaka2023-08-165-19/+153
| | | | | | | (#107778) Deprecate passing optional arguments maxsplit, count and flags in module-level functions re.split(), re.sub() and re.subn() as positional. They should only be passed by keyword.
* gh-107211: Fix select extension build on Solaris (#108012)Victor Stinner2023-08-161-2/+4
| | | | Export the internal _Py_open() and _Py_write() functions for Solaris: the select shared extension uses them.
* GH-92584: Remove reference to Distutils in ``cx_Freeze``'s description (#108047)Adam Turner2023-08-161-2/+2
| | | Remove reference to Distutils in ``cx_Freeze``'s description
* gh-105522: [Enum] Correctly handle possible exceptions during testing ↵Nikita Sobolev2023-08-161-54/+96
| | | | (GH-105523)
* gh-91051: fix type watcher test to be robust to existing watcher (#107989)Carl Meyer2023-08-161-6/+4
|
* Improve the feature-proposal issue form (#108033)Alex Waygood2023-08-161-12/+10
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Remove Sphinx problem matcher to avoid annotating unchanged files (#108005)Hugo van Kemenade2023-08-162-44/+0
|
* gh-107298: Fix C API Buffer documentation (#108011)Victor Stinner2023-08-163-11/+14
|
* GH-92584: Drop reference to Distutils in ``site.USER_BASE`` (#108031)Adam Turner2023-08-161-1/+1
| | | Drop reference to Distutils in ``site.USER_BASE``
* gh-104683: Argument Clinic: Extract parse function name helper (#107964)Erlend E. Aasland2023-08-162-33/+30
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-107909: Test explicit `object` base in PEP695 generic classes (#108001)Nikita Sobolev2023-08-161-0/+4
|