summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos in variable names, function names, and comments (GH-101868)Yang Hau2023-12-017-13/+13
|
* build(deps-dev): bump types-setuptools from 68.2.0.0 to 69.0.0.0 in /Tools ↵dependabot[bot]2023-12-011-1/+1
| | | | | | | | | | | | | | | | | | (#112582) build(deps-dev): bump types-setuptools in /Tools Bumps [types-setuptools](https://github.com/python/typeshed) from 68.2.0.0 to 69.0.0.0. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-setuptools dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps-dev): bump mypy from 1.7.0 to 1.7.1 in /Tools (#112581)dependabot[bot]2023-12-011-1/+1
| | | | | | | | | | | | | | | Bumps [mypy](https://github.com/python/mypy) from 1.7.0 to 1.7.1. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.7.0...v1.7.1) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add links under "generator expression" in glossary (#112537)William Andrea2023-12-011-1/+1
|
* gh-66819: More IDLE htest updates (#112574)Terry Jan Reedy2023-12-011-55/+52
| | | Revise htest.py docstring and move 2 specs to alphabetical position.
* gh-112205: Update stringio module to use AC for the thread-safe (gh-112549)Donghee Na2023-11-302-35/+79
|
* gh-109413: Run mypy on `libregrtest` in CI (#112558)Alex Waygood2023-11-3010-17/+32
| | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* Clarify a comment for `test.support.Py_C_RECURSION_LIMIT` to point out where ↵Brett Cannon2023-11-301-1/+2
| | | | a value came from but that it doesn't need to stay in sync (#112224)
* gh-112502: Docs: Improve docs for gc.collect method (#112562)Alperen Serkan Aksöz2023-11-301-2/+2
| | | | | * Docs: Improve docs for gc.collect method * Update gc.rst
* Clarify that WASI tool requirements are included in the devcontainer (GH-112561)Brett Cannon2023-11-301-8/+8
|
* gh-104231: Add more tests for str(), repr(), ascii(), and bytes() (GH-112551)Serhiy Storchaka2023-11-302-50/+121
|
* gh-111699: Move smtpd note to dedicated section in What's New Python 3.12 ↵Matt Prodani2023-11-303-1/+6
| | | | | | | doc (GH-112544) Relocate smtpd deprecation notice to it's own section rather than under 'locale' in docs for What's New in Python 3.12 doc
* gh-112519: Make it possible to specify instruction flags for pseudo ↵Irit Katriel2023-11-306-12/+76
| | | | instructions in bytecodes.c (#112520)
* gh-112205: Support @getter annotation from AC (gh-112396)Donghee Na2023-11-305-68/+169
|
* gh-111972: Make Unicode name C APIcapsule initialization thread-safe (#112249)Kirill Podoprigora2023-11-303-20/+26
|
* IDLE: fix config_key htest (#112545)Terry Jan Reedy2023-11-302-2/+2
| | | Change 'Dialog' to 'Window' in two places to match the name of the config_key class being tested.
* GH-103065, GH-106704, GH-105253: Provide a `Tools/wasm/wasi.py` script to ↵Brett Cannon2023-11-307-77/+373
| | | | simplify doing a WASI build (GH-112473)
* gh-104003: Implement PEP 702 (#104004)Jelle Zijlstra2023-11-295-2/+473
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-112509: Fix keys being present in both required_keys and optional_keys in ↵Jelle Zijlstra2023-11-293-5/+63
| | | | | TypedDict (#112512) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Add more C API tests (GH-112522)Serhiy Storchaka2023-11-292-0/+119
| | | | Add tests for PyObject_Str(), PyObject_Repr(), PyObject_ASCII() and PyObject_Bytes().
* [Enum] update class creation for RuntimeError changes (GH-111815)Ethan Furman2023-11-292-6/+9
|
* Rename ...Uop... to ...UOp... (uppercase O) for consistency (#112327)Guido van Rossum2023-11-295-23/+23
| | | | * Rename _PyUopExecute to _PyUOpExecute (uppercase O) for consistency * Also rename _PyUopName and _PyUOp_Replacements, and some output strings
* gh-112454: Disable TLS-PSK if OpenSSL was built without PSK support (#112491)Grant Ramsay2023-11-294-1/+43
| | | | | | If OpenSSL was built without PSK support, the python TLS-PSK methods will raise "NotImplementedError" if called. Add a constant "ssl.HAS_PSK" to check if TLS-PSK is supported
* GH-112245: Promote free threaded CI (#112246)Itamar Oren2023-11-281-6/+3
|
* gh-110930: Correct book title by Alan D. Moore (#112490)Hugo van Kemenade2023-11-281-2/+2
|
* gh-112431: Unconditionally call `hash -r` (GH-112432)James Morris2023-11-281-10/+4
| | | | | | | | | The `activate` script calls `hash -r` in two places to make sure the shell picks up the environment changes the script makes. Before that, it checks to see if the shell running the script is bash or zsh. `hash -r` is specified by POSIX and is not exclusive to bash and zsh. This guard prevents the script from calling `hash -r` in other `#!/bin/sh`-compatible shells like dash.
* gh-109802: Increase test coverage for complexobject.c (GH-112452)Sergey B Kirpichev2023-11-283-0/+193
|
* gh-112332: Deprecate TracebackException.exc_type, add exc_type_str. (#112333)Irit Katriel2023-11-285-20/+102
|
* gh-112105: Make completer delims work on libedit (gh-112106)Tian Gao2023-11-283-0/+37
|
* gh-112071: Make `_random.Random` methods thread-safe in `--disable-gil` ↵Radislav Chugunov2023-11-282-10/+46
| | | | | | builds (gh-112128) Co-authored-by: Donghee Na <donghee.na@python.org>
* gh-112292 : Catch import error conditions with readline hooks (gh-112313)Anthony Shaw2023-11-282-22/+71
| | | | | Prevents a segmentation fault in registered hooks for the readline library, but only when the readline module is loaded inside an isolated sub interpreter. The module is single-phase init so loading it fails, but not until the module init function has already run, where the readline hooks get registered. The readlinestate_global macro was error-prone to PyImport_FindModule returning NULL and crashing in about 18 places. I could reproduce 1 easily, but this PR replaces the macro with a function and adds error conditions to the other functions.
* Docs: fix markup for `importlib.machinery.NamespaceLoader` (#112479)Alex Waygood2023-11-281-1/+1
|
* gh-112414: Add additional unit tests for calling `repr()` on a namespace ↵Alex Waygood2023-11-282-4/+30
| | | | | package (#112475) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
* Correct documentation for AF_PACKET (#112339)Eugene Toder2023-11-271-2/+1
| | | | | | | Protocol in the address tuple should *not* be in the network-byte-order, because it is converted internally[1]. [1] https://github.com/python/cpython/blob/89ddea4886942b0c27a778a0ad3f0d5ac5f518f0/Modules/socketmodule.c#L2144 network byte order doesn't make sense for a python level int anyways. It's a fixed size C serialization concept.
* gh-99367: Do not mangle sys.path[0] in pdb if safe_path is set (#111762)Tian Gao2023-11-274-6/+39
| | | | Co-authored-by: Christian Walther <cwalther@users.noreply.github.com>
* gh-112217: Add check to call result for `do_raise()` where cause is a type. ↵apaz2023-11-273-0/+22
| | | | (#112216)
* gh-68166: Add support of "vsapi" in ttk.Style.element_create() (GH-111393)Serhiy Storchaka2023-11-276-32/+204
|
* gh-112387: Fix error positions for decoded strings with backwards tokenize ↵Pablo Galindo Salgado2023-11-273-0/+10
| | | | | errors (#112409) Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
* gh-112388: Fix an error that was causing the parser to try to overwrite ↵Pablo Galindo Salgado2023-11-273-0/+7
| | | | | tokenizer errors (#112410) Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
* bpo-41422: Visit the Pickler's and Unpickler's memo in tp_traverse (GH-21664)kale-smoothie2023-11-272-0/+17
| | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-76912: Raise OSError from any failure in getpass.getuser() (#29739)Jacob Walls2023-11-275-7/+24
| | | | * bpo-32731: Raise OSError from any failure in getpass.getuser() Previously, if the username was not set in certain environment variables, ImportError escaped on Windows systems, and it was possible for KeyError to escape on other systems if getpwuid() failed.
* gh-111789: Use PyDict_GetItemRef() in Python/_warnings.c (gh-112080)Serhiy Storchaka2023-11-271-4/+4
|
* gh-111789: Use PyDict_GetItemRef() in Python/symtable.c (gh-112084)Serhiy Storchaka2023-11-271-8/+4
|
* gh-111789: Use PyDict_GetItemRef() in Python/codecs.c (gh-112082)Serhiy Storchaka2023-11-271-5/+4
|
* gh-111789: Use PyDict_GetItemRef() in Python/bltinmodule.c (gh-112081)Serhiy Storchaka2023-11-271-6/+3
|
* gh-111789: Use PyDict_GetItemRef() in Modules/pyexpat.c (gh-112079)Serhiy Storchaka2023-11-271-12/+5
|
* gh-111789: Use PyDict_GetItemRef() in Modules/_threadmodule.c (gh-112077)Serhiy Storchaka2023-11-271-6/+4
|
* gh-111789: Use PyDict_GetItemRef() in Modules/_struct.c (gh-112076)Serhiy Storchaka2023-11-271-5/+4
|
* gh-111789: Use PyDict_GetItemRef() in Modules/_csv.c (gh-112073)Serhiy Storchaka2023-11-271-8/+2
|
* gh-112438: Fix support of format units with the "e" prefix in nested tuples ↵Serhiy Storchaka2023-11-274-6/+40
| | | | in PyArg_Parse (gh-112439)