summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-42627: Fix incorrect parsing of Windows registry proxy settings (GH-26307)狂男风2022-05-112-16/+21
|
* gh-89653: PEP 670: Convert pycore_gc.h macros to functions (#92649)Victor Stinner2022-05-112-24/+50
| | | | | | | | | | | | | | Convert the following macros to static inline functions: * _Py_AS_GC() * _PyGCHead_FINALIZED(), _PyGCHead_SET_FINALIZED() * _PyGCHead_NEXT(), _PyGCHead_SET_NEXT() * _PyGCHead_PREV(), _PyGCHead_SET_PREV() * _PyGC_FINALIZED(), _PyGC_SET_FINALIZED() * _PyObject_GC_IS_TRACKED() * _PyObject_GC_MAY_BE_TRACKED() Add a macro wrapping the _PyObject_GC_IS_TRACKED() function to cast the argument to PyObject*.
* gh-91810: ElementTree: Use text file's encoding by default in XML ↵Serhiy Storchaka2022-05-113-30/+29
| | | | | | | | declaration (GH-91903) ElementTree method write() and function tostring() now use the text file's encoding ("UTF-8" if not available) instead of locale encoding in XML declaration when encoding="unicode" is specified.
* gh-89336: Fix configparser.RawConfigParser.readfp typo (GH-92636)Hugo van Kemenade2022-05-111-1/+1
|
* Fix typo in unittest.rst: addCleanupModule -> addModuleCleanup (GH-92631)Mikhail Terekhov2022-05-111-1/+1
|
* gh-92632: Make function starunpack_helper run faster when encounters starred ↵zikcheng2022-05-111-0/+1
| | | | argument. (GH-92655)
* gh-92550: Fix pathlib.Path.rglob() for empty pattern (GH-92604)Serhiy Storchaka2022-05-113-1/+7
|
* Revert "gh-92550 - Fix regression in `pathlib.Path.rglob()` (GH-92583)" ↵Serhiy Storchaka2022-05-115-2/+38
| | | | | (GH-92598) This reverts commit dcdf250d2de1428f7d8b4e9ecf51d2fd8200e21a.
* gh-92584: test_decimal uses shutil.which() (#92640)Victor Stinner2022-05-101-2/+2
| | | | test_decimal now uses shutil.which() rather than deprecated distutils.spawn.find_executable().
* What's New 3.12: PyFrame_BlockSetup() was removed in 3.11 (#92645)Victor Stinner2022-05-101-2/+0
| | | | | | What's New in Python 3.11: "PyFrame_BlockSetup() and PyFrame_BlockPop() have been removed. (Contributed by Mark Shannon in bpo-40222.)" https://docs.python.org/dev/whatsnew/3.11.html#id8
* gh-91966 Document where key functions are applied in the bisect module (#92602)Raymond Hettinger2022-05-101-15/+52
|
* bpo-39264: Fix UserDict.get() to account for __missing__() (GH-17910)Bar Harel2022-05-103-1/+19
| | | | | | Here's the patch according to the discussion at the [Python-Dev mailing list](https://mail.python.org/archives/list/python-dev@python.org/thread/SDXOEMAEM6KQ3CQCJVBVRT5QNSPAVU6X/). UserDict.get() will match dict's behavior and not call `__missing__`. Automerge-Triggered-By: GH:rhettinger
* bpo-39278: add docstrings to functions in pdb module (#17924)Carl Bordum Hansen2022-05-101-0/+39
|
* bpo-43689: improve documentation for Differ (GH-25132)Jürgen Gmach2022-05-102-1/+2
| | | | | | | | | Lines beginning with ``?`` try to help understanding the given diff. The output can be hard to understand when it contains whitespace characters, such as spaces, tabs or line breaks. While previously only tabs were mentioned, now all are listed. Automerge-Triggered-By: GH:rhettinger
* gh-84131: Remove the deprecated pathlib.Path.link_to method. (#92505)Gregory P. Smith2022-05-105-59/+7
| | | Co-authored-by: Barney Gale <barney.gale@gmail.com>
* Update numbers.rst (#31995)Géry Ogam2022-05-101-2/+2
|
* bpo-42259: clarify pprint saferepr docs (#30256)andrei kulakov2022-05-101-5/+9
|
* gh-80143: Add clarification for escape characters (#92292)slateny2022-05-101-3/+7
|
* gh-91731: Fix typo in pymacro.h (#92618)Pablo Galindo Salgado2022-05-101-1/+1
| | | | | | | | | * Fix typo in pymacro.h * Update Include/pymacro.h Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-92619: Fix bug where the compiler duplicates exit blocks unnecessarily ↵Irit Katriel2022-05-103-16/+17
| | | | (GH-92620)
* Add `__slots__` to `typing._NotIterable` (GH-92570)Alex Waygood2022-05-101-0/+1
|
* gh-92256: Improve Argument Clinic parser error messages (#92268)Erlend Egeberg Aasland2022-05-101-3/+9
| | | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-76773: Update docs mentioning no-longer-supported Windows versions & ↵CAM Gerlach2022-05-109-115/+70
| | | | features (GH-92529)
* gh-92417: `zlib` docs, `binascii` docs: remove Python 2 compatibility notes ↵Alex Waygood2022-05-102-6/+0
| | | | (GH-92543)
* gh-92417: `unittest.mock` docs: remove references to Python <2.6 (GH-92539)Alex Waygood2022-05-102-2/+2
|
* gh-91928: Add what's new entry for datetime.UTC alias (GH-92567)Paul Ganssle2022-05-101-0/+2
| | | | | | | | | I merged this without a What's New entry to avoid merge conflicts, so here's the follow-up adding the entry. @Kab1r do you mind reviewing? Closes #91928 Automerge-Triggered-By: GH:pganssle
* bpo-13553: Document tkinter.Tk args (#4786)Cheryl Sabella2022-05-103-14/+71
|
* [Enum] Remove redundant check for existing members. (GH-92590)Ethan Furman2022-05-101-3/+0
|
* gh-92550 - Fix regression in `pathlib.Path.rglob()` (GH-92583)Barney Gale2022-05-105-38/+2
| | | | | | | We could try to remedy this by taking a slice, but we then run into an issue where the empty string will match altsep on POSIX. That rabbit hole could keep getting deeper. A proper fix for the original issue involves making pathlib's path normalisation more configurable - in this case we want to retain trailing slashes, but in other we might want to preserve `./` prefixes, or elide `../` segments when we're sure we won't encounter symlinks. This reverts commit ea2f5bcda1a392804487e6883be89fbad38a01a5.
* gh-88750: On Windows, PyThread_acquire_lock() no longer checks for NULL (#92586)Victor Stinner2022-05-101-8/+12
| | | | | On Windows, PyThread_acquire_lock(), PyThread_acquire_lock_timed() and PyThread_release_lock() no longer check at runtime if the lock is not NULL.
* gh-88750: Remove the PYTHONTHREADDEBUG env var support. (#92509)Gregory P. Smith2022-05-099-107/+5
| | | | Remove the `PYTHONTHREADDEBUG` env var support. Remove no-op dprintf() macro calls.
* bpo-46907: Update Windows installer to SQLite 3.38.4. (#92322)Mariusz Felisiak2022-05-094-3/+4
|
* Doc: Update py2app link. (#91585)Julien Palard2022-05-091-1/+1
| | | See: https://mail.python.org/archives/list/docs@python.org/thread/KDVFGNGGUGGPVRZT7WZYHHWXCRS2GEN7/
* gh-92171: Update Tcl/Tk download links in macOS installer script (GH-92179)Erlend Egeberg Aasland2022-05-091-2/+3
|
* gh-91731: Add macro compatibility for static_assert for old libcs (GH-92559)Pablo Galindo Salgado2022-05-091-0/+8
|
* gh-86019: Add table for Windows installer options (GH-91809)slateny2022-05-091-5/+18
|
* gh-91345: Talk about ``sys._getframe`` compatibility in 3.11 whatsnew (GH-92552)Ken Jin2022-05-091-4/+5
|
* What's New in Python 3.12: move C API at the end (#92555)Victor Stinner2022-05-091-5/+22
| | | | * Separate Build and C API changes in two sections * Add sub-sections to the C API changes
* What's New in Python 3.11: move C API changes (#92390)Victor Stinner2022-05-091-31/+31
| | | Move C API changes to the C API > Porting to Python 3.11 section.
* Enhance PyConfig documentation (#92394)Victor Stinner2022-05-091-37/+46
|
* gh-90005: Cleanup after GH-31698 (#91642)Erlend Egeberg Aasland2022-05-092-43/+43
|
* CODEOWNERS: Add Erlend Aasland as sqlite3 code owner (#92535)Erlend Egeberg Aasland2022-05-091-1/+1
| | | Signed-off-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* Fix inconsistent return type for statistics median_grouped() gh-92531 (#92533)Raymond Hettinger2022-05-093-14/+22
|
* bpo-38056: overhaul Error Handlers section in codecs documentation (#15732)Ma Lin2022-05-093-74/+127
| | | | | | | | | | * Some handlers were wrongly described as text-encoding only, but actually they can also be used in text-decoding. * Add more description to each handler. * Add two REPL examples. * Add indexes for Error Handler's name. Co-authored-by: Kyle Stanley <aeros167@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* bpo-39229: fix formatting in library/functions.rst (#17857)Rafael Fontenelle2022-05-081-2/+2
| | | Missing reference of auditing event presents error when building translated documentation
* pdb docs: workaround for double semicolon in strings (#17011)Godefroid Chapelle2022-05-081-1/+2
| | | | | see https://github.com/gotcha/ipdb/issues/172 Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-91968: Add socket constants SO_USER_COOKIE/SO_RTABLE from BSD (#91967)David CARLIER2022-05-083-0/+12
| | | | | Those are somewhat equivalent to Linux' SO_MARK. Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-77521: Add link to builtin module names in modules tutorial (#92438)slateny2022-05-081-1/+2
| | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* Use percentage over factor for 3.11 whatsnew performance (GH-92496)Ken Jin2022-05-081-1/+1
|
* gh-90622: Do not spawn ProcessPool workers on demand via fork method. (#91598)Gregory P. Smith2022-05-083-11/+49
| | | | | | Do not spawn ProcessPool workers on demand when they spawn via fork. This avoids potential deadlocks in the child processes due to forking from a multithreaded process.