summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* gh-91954: Use shell=True in test_subprocess.test_encoding_warning (GH-92090)Dennis Sweeney2022-05-011-6/+5
|
* Improving readability of argparse.rst (GH-91751)Antonio Andrade2022-04-301-8/+8
| | | | | | Fixed few typos and enhanced few paragraphs for your review and consideration. Trivial contribution towards continuous improvement, so no issue was raised. Automerge-Triggered-By: GH:rhettinger
* gh-89253: Add 3.10 whatsnew section for itertools.pairwise (GH-91563)slateny2022-04-301-0/+6
| | | | | | | #89253 [`pairwise()`](https://docs.python.org/3/library/itertools.html#itertools.pairwise) already has the 'new in python3.10' Automerge-Triggered-By: GH:rhettinger
* gh-85757: Change wording from nested to inner (GH-91811)slateny2022-04-301-1/+1
| | | | | | | | | #85757 https://docs.python.org/3/tutorial/datastructures.html#nested-list-comprehensions I do think this is clearer, but I wonder if 'nested' should be kept though to get the terminology out there more often. So perhaps it could be something like 'inner (nested) listcomp' or 'nested (inner) listcomp' despite sounding a bit redundant Automerge-Triggered-By: GH:rhettinger
* Fix typo in asyncio-extending.rst (#91609)Yurii Karabas2022-04-301-1/+1
|
* gh-91611: Use example.com for documentation, not mydomain.com (#91613)Motoki Naruse2022-04-302-2/+2
| | | | | | | example.com is reserved by the IANA as special-use domain name for documentation purposes. The domain names are used widely in books, tutorials, sample network configurations, and generally as examples for the use of domain name. On the other hand, mydomain.com is real Domain Name Registration service.
* gh-87801: Add run() to subprocess.CalledProcessError description (#91628)slateny2022-04-301-1/+3
|
* gh-87192: Update wording for fcntl 'Changed in' (#91658)slateny2022-04-301-1/+2
|
* Convert :issue: to :gh: in whatsnew (GH-92089)Dennis Sweeney2022-04-301-1/+1
|
* gh-92063: Enforce types in specialized PRECALL opcodes (GH-92068)Dennis Sweeney2022-04-303-16/+56
| | | | | | | | | * Check the types of PRECALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS * fix PRECALL_NO_KW_METHOD_DESCRIPTOR_NOARGS as well * fix PRECALL_NO_KW_METHOD_DESCRIPTOR_O * fix PRECALL_NO_KW_METHOD_DESCRIPTOR_FAST
* gh-85864: io docs: Add missing position-only parameters (#91950)slateny2022-04-301-17/+17
|
* gh-92019: Make sqlite3.Blob indexing conform with the norm (#92020)Erlend Egeberg Aasland2022-04-303-42/+75
| | | | | | - get index now returns an int - set index now requires an int in range(0, 256) Resolves #92019
* bpo-43323: Fix UnicodeEncodeError in the email module (GH-32137)Serhiy Storchaka2022-04-306-6/+36
| | | | | It was raised if the charset itself contains characters not encodable in UTF-8 (in particular \udcxx characters representing non-decodable bytes in the source).
* gh-81548: Deprecate octal escape sequences with value larger than 0o377 ↵Serhiy Storchaka2022-04-308-18/+139
| | | | (GH-91668)