summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* gh-91760: More strict rules for numerical group references and group names ↵Serhiy Storchaka2022-05-085-91/+62
| | | | | | | | in RE (GH-91792) Only sequence of ASCII digits is now accepted as a numerical reference. The group name in bytes patterns and replacement strings can now only contain ASCII letters and digits and underscore.
* gh-80856: doc: reveal doctest directives (#92318)Davide Rizzo2022-05-081-17/+37
| | | | | | | | * Doc: Reveal doctest directives. * Fix whitespace. Co-authored-by: Julien Palard <julien@palard.fr> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* Fix typo in whatsnew (GH-92488)Ezio Melotti2022-05-081-1/+1
| | | Automerge-Triggered-By: GH:ezio-melotti
* Fix the `versionadded` for asyncio.StreamWriter.start_tls() (#92378)Oleg Iarygin2022-05-081-1/+1
|
* gh-92417: `logging` docs: Remove warning that only applies to Python <3.2 ↵Alex Waygood2022-05-081-10/+0
| | | | (#92425)
* gh-91162: Fix substitution of unpacked tuples in generic aliases (GH-92335)Serhiy Storchaka2022-05-085-145/+211
|
* Fix What's New for 3.12 (GH-92482)Serhiy Storchaka2022-05-082-0/+1
|
* `typing.Text`: tweak deprecation notice (#92405)Alex Waygood2022-05-081-1/+2
| | | | | https://github.com/python/cpython/pull/92351/files#r866869469 Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* Update What's New in 3.11 faster cpython figures and contributors (GH-92401)Ken Jin2022-05-081-3/+4
|
* bpo-45046: Support context managers in unittest (GH-28045)Serhiy Storchaka2022-05-0826-92/+307
| | | | | | Add methods enterContext() and enterClassContext() in TestCase. Add method enterAsyncContext() in IsolatedAsyncioTestCase. Add function enterModuleContext().
* gh-77630: Change Charset to charset (GH-92439)slateny2022-05-082-12/+12
|
* Add __class_getitem__ to csv.DictReader and csv.DictWriter (#92393)Marc Mueller2022-05-084-1/+12
|
* bpo-44712: Replace "type(literal)" with corresponding builtin types (GH-27294)Serhiy Storchaka2022-05-0819-39/+41
| | | | I suppose it is a remnants of very old code written when str, int, list, dict, etc were functions and not classes.
* gh-89474: Improve Semaphore/BoundedSemaphore.release() for multiple thread ↵Dong-hee Na2022-05-081-5/+3
| | | | waiting (GH-92447)
* gh-92417: `stdtypes` docs: delete discussion of Python 2 differences (GH-92423)Alex Waygood2022-05-081-10/+0
| | | | | | Given that 2.7 has now been end-of-life for two and a half years, I don't think we need such a detailed explanation here anymore of the differences between Python 2 and Python 3.
* gh-92261: Disallow iteration of Union (and other special forms) (GH-92262)Matthew Rahtz2022-05-084-5/+72
|
* GH-92431: Fix footnotes in Doc/c-api/exceptions.rst (GH-92432)Hugo van Kemenade2022-05-081-11/+11
| | | | | * Remove redundant footnote ref: the footnote has been removed * Fix footnote ref to match footnote * Convert footnotes into reST footnotes: will error if missing
* gh-92417: `doctest` docs: remove references to Python <3.6 (GH-92420)Alex Waygood2022-05-081-9/+0
|
* gh-92417: `json` docs: `dict` is ordered on all supported Python versions ↵Alex Waygood2022-05-081-7/+0
| | | | (GH-92422)