summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gh-92206: Move pysqlite_step() to Modules/_sqlite/cursor.c (#92207)Erlend Egeberg Aasland2022-05-033-16/+14
|
* bpo-46785: Fix race condition between os.stat() and unlink on Windows (GH-31858)Itai Steinherz2022-05-024-1/+57
|
* gh-91621: Fix typing.get_type_hints for collections.abc.Callable (#91656)Shantanu2022-05-023-3/+35
| | | | | | This mirrors logic in typing.get_args. The trickiness comes from how we flatten args in collections.abc.Callable, see https://bugs.python.org/issue42195
* gh-84461: Add ability for multiprocessed libregrtest to use a different ↵Ethan Smith2022-05-023-2/+12
| | | | Python executable (GH-91930)
* bpo-43923: Add support for generic typing.NamedTuple (#92027)Serhiy Storchaka2022-05-025-4/+66
|
* gh-92106: Add test that subscription works on arbitrary TypedDicts (#92176)Serhiy Storchaka2022-05-021-0/+13
|
* gh-92032: Add soft keywords to rlcompleter (#92029)kbeldan2022-05-023-2/+7
| | | | | | | Let the interpreter autocomplete soft-keywords, ATM the PEP-634 'match' / 'case' / '_' (wildcard pattern). Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* bpo-46586: Fix more erroneous doc links to builtins (#31429)Meer Suri2022-05-023-3/+3
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Éric <merwok@netwok.org>
* Delete outdated comment in logging module (#31117)Thomas Miedema2022-05-021-2/+0
| | | | | | The root logger is now accessible via its name, see https://github.com/python/cpython/pull/15077 Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* bpo-46285: Add command-line option -p/--protocol to module http.server (#30999)Géry Ogam2022-05-023-9/+29
| | | | Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* bpo-6686: Replace String with Bytes in xml.sax.handler documentation (#30612)Yassir Karroum2022-05-021-1/+1
|
* bpo-46547: remove leaking vars into `pydoc.Helper` namespace (#30957)Nikita Sobolev2022-05-022-0/+2
| | | Fixes #90705
* importlib docs: Update importlib.abc hierarchy (#31113)David Gilbertson2022-05-021-4/+3
| | | Fixed some inconsistencies in the text about relationships
* bpo-46787: Fix `ProcessPoolExecutor exception` memory leak (GH-31408) (#31408)themylogin2022-05-022-0/+4
| | | | Do not store `ProcessPoolExecutor` work item exception traceback that prevents exception frame locals from being garbage collected.
* Fix the closure argument to PyEval_EvalCodeEx. (GH-92175)larryhastings2022-05-022-1/+3
|
* Fix duplicate word. (GH-92182)Benjamin Peterson2022-05-021-1/+1
|
* gh-87390: Add __unpacked__ attribute to types.GenericAlias (#92059)Jelle Zijlstra2022-05-024-0/+19
|
* gh-90765: configparser test: Catch deprecation warning (#91480)Hugo van Kemenade2022-05-021-1/+3
|
* gh-90213: Speed up right shifts of negative integers (GH-30277)Mark Dickinson2022-05-023-29/+75
|
* gh-91783: Document security considerations for shutil.unpack_archive (#91844)Sam Ezeh2022-05-022-1/+9
|
* suggestions.c: Improve efficiency of levenshtein_distance method (#91835)Pieter Eendebak2022-05-021-1/+3
|
* Fix typo in turtle deprecation warning and use warnings._deprecated (#91862)Hugo van Kemenade2022-05-021-4/+4
|
* Add weakref_slot to dataclass decorator, to allow instances with slots to be ↵Eric V. Smith2022-05-024-13/+106
| | | | weakref-able. (#92160)
* gh-92082: contextlib docs: Change aclosing from a class to a function for ↵Thaddeus14992022-05-021-1/+1
| | | | | consistency (#92155) Signed-off-by: prwatson <prwatson@redhat.com>
* gh-91276: revert the increase of dis output width (GH-92126)Irit Katriel2022-05-022-254/+266
|
* gh-88546: glob.glob docs: Make new paragraph for emphasis and reordered ↵slateny2022-05-021-2/+5
| | | | sentence (#91614)
* gh-92128: Add `__class_getitem__` to `logging.LoggerAdapter` and ↵Alex Waygood2022-05-023-0/+10
| | | | | `logging.StreamHandler` (#92129) Closes #92128
* gh-92135: Fix _Py_reinterpret_cast() for const (#92138)Victor Stinner2022-05-025-14/+62
| | | | | | | | | | Fix C++ compiler warnings on cast macros, like _PyObject_CAST(), when casting a constant expression to a non constant type: use const_cast<> in C++. * In C++, Py_SAFE_DOWNCAST() now uses static_cast<> rather than reinterpret_cast<>. * Add tests to the _testcppext C++ extension. * test_cppext no longer captures stdout in verbose mode.
* concurrent.futures: Fix typo in docstring (#92121)Yiannis Hadjicharalambous2022-05-021-1/+1
|
* bpo-46907: Update Windows installer to SQLite 3.38.3. (GH-91995)Mariusz Felisiak2022-05-025-4/+5
|
* asyncio.subprocess: Fix a typo in doc (#92030)Harsh2022-05-021-1/+1
| | | Remove a confusion for read method in asyncio-subprocess doc for stderr StreamReader instance
* Fix typo in Programming FAQ (#92083)Matt Harding2022-05-021-1/+1
| | | I believe the word "with" was missing here.
* gh-85133: os docs: Add that getenv uses os.environ (#91874)slateny2022-05-021-13/+21
| | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-84714: Add behavior if dst file exists (#91867)slateny2022-05-021-1/+2
|
* gh-89301: Fix regression with bound values in traced SQLite statements (#92053)Erlend Egeberg Aasland2022-05-023-15/+104
|
* gh-88097: doc: fix link to Py_Version (#92141)Victor Stinner2022-05-021-1/+1
|
* gh-91321: Add _testcppext C++ extension (#32175)Victor Stinner2022-05-022-0/+141
| | | | | | | Build a basic C++ test extension to check that the Python C API is compatible with C++ and does not emit C++ compiler warnings. * Add Modules/_testcppext.cpp: C++ extension * Add Lib/test/test_cppext.py: test building the C++ extension.
* bpo-36819: Fix crashes in built-in encoders with weird error handlers (GH-28593)Serhiy Storchaka2022-05-024-32/+222
| | | | | | | If the error handler returns position less or equal than the starting position of non-encodable characters, most of built-in encoders didn't properly re-size the output buffer. This led to out-of-bounds writes, and segfaults.
* gh-85679: Recommend `encoding="utf-8"` in tutorial (GH-91778)Inada Naoki2022-05-021-10/+18
|
* gh-90822: Make `PY_SSIZE_T_MAX` and `PY_SSIZE_T_MIN` constant expression ↵Ganesh Kathiresan2022-05-022-5/+8
| | | | (GH-92071)
* gh-92114: Improve error message for types with __class_getitem__ = None ↵Serhiy Storchaka2022-05-023-1/+12
| | | | (GH-92115)
* gh-91998: 'WebAssemby' to 'WebAssembly' (#92040)vainaijr2022-05-021-2/+2
|
* build(deps): bump actions/stale from 4 to 5 (#92108)dependabot[bot]2022-05-011-1/+1
| | | | | | | | | | | | | | | | | Bumps [actions/stale](https://github.com/actions/stale) from 4 to 5. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/stale dependency-type: direct:production 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): bump actions/github-script from 5 to 6 (#92109)dependabot[bot]2022-05-011-1/+1
| | | | | | | | | | | | | | | | Bumps [actions/github-script](https://github.com/actions/github-script) from 5 to 6. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production 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): bump actions/setup-node from 2 to 3 (#92110)dependabot[bot]2022-05-011-1/+1
| | | | | | | | | | | | | | | | Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production 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): bump actions/cache from 3.0.1 to 3.0.2 (#92111)dependabot[bot]2022-05-011-3/+3
| | | | | | | | | | | | | | | | | Bumps [actions/cache](https://github.com/actions/cache) from 3.0.1 to 3.0.2. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3.0.1...v3.0.2) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production 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>
* bpo-39716: Raise on conflicting subparser names. (GH-18605)Antony Lee2022-05-013-0/+23
| | | | | | | | | | | Raise an ArgumentError when the same subparser name is added twice to an ArgumentParser. This is consistent with the (default) behavior when the same option string is added twice to an ArgumentParser. (Support for `conflict_handler="resolve"` could be considered as a followup feature, although real use cases seem even rarer than "resolve"ing option-strings.) Automerge-Triggered-By: GH:rhettinger
* typing docs: Add example for async functions (#20386)Sam Bull2022-05-011-0/+4
| | | Fixes python/typing#424
* gh-81488: Add recursive wording for issubclass docs (#92087)slateny2022-05-011-1/+2
|
* gh-91952: Make TextIOWrapper.reconfigure() supports "locale" encoding (GH-91982)Inada Naoki2022-05-014-2/+16
|