| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
| |
is followed by a comment or an empty line (GH-139836) (GH-139890)
(cherry picked from commit f4104f5d74b99712253fceb39a4460ee3f7a281c)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| | |
|
| |
|
|
|
| |
(cherry picked from commit 6b5f15698a436591f7c305c576a2d366c38d9997)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
| |
|
|
|
| |
(cherry picked from commit b2f5ad0c6d7cfd249c41bfbcdd0a75a9f21f1e72)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
(GH-139296) (#139444)
Passing a negative or zero size to `cursor.fetchmany()` made it fetch all rows
instead of none.
While this could be considered a security vulnerability, it was decided to treat
this issue as a regular bug as passing a non-sanitized *size* value in the first
place is not recommended.
(cherry picked from commit bc172ee8307431caf4c89612e9e454081635191f)
|
| |
|
|
|
|
|
| |
(GH-139328) (#139472)
(cherry picked from commit d0a3eff9d6e72e209da0236fb1ea1f8c18938eaa)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
|
| |
|
|
|
|
| |
(#139684)
(cherry picked from commit 6d804e4efb8ed2ebeb9cef9577945c46c0038178)
Co-authored-by: Ned Deily <nad@python.org>
|
| |
|
|
|
| |
(#139681)
Co-authored-by: Zachary Ware <zach@python.org>
|
| |
|
|
| |
(GH-139526) (#139677)
|
| |
|
|
|
|
|
|
| |
(GH-138855) (GH-139675)
gh-138854: Skip test_script_shadowing_stdlib_cwd_failure on AIX (GH-138855)
(cherry picked from commit 171f787a297ec4b02cfe8b3ebab8374018391f20)
Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
|
| |
|
|
|
|
| |
gh-133210: Fix `test_inspect` without docstrings (GH-139651)
(cherry picked from commit 7c70cc5c23971ef448ea59827c6e6ae310157356)
Co-authored-by: sobolevn <mail@sobolevn.me>
|
| |
|
|
|
|
| |
gh-133210: Fix `test_pydoc` without docstrings (GH-139654)
(cherry picked from commit 708de26e31b65cd3ae768882c8da59284917a80d)
Co-authored-by: Mikhail Efimov <efimov.mikhail@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
`pyexpat` (GH-139403) (GH-139608)
Within libexpat, a parser created via `XML_ExternalEntityParserCreate`
is relying on its parent parser throughout its entire lifetime.
Prior to this fix, is was possible for the parent parser to be
garbage-collected too early.
(cherry picked from commit 6edb2ddb5f3695cf4938979d645f31d7fba43ec8)
|
| |
|
|
|
|
|
|
| |
(GH-139643) (GH-139656)
gh-116488: Mention `dict.get` in the data structures tutorial (GH-139643)
(cherry picked from commit 69cfad0b3e1e2805914cb647cce4c7c2bfed5910)
Co-authored-by: Cycloctane <Cycloctane@outlook.com>
|
| |
|
|
|
|
|
| |
(GH-139625) (GH-139645)
(cherry picked from commit 6f3dae0dc5ccd47b2b8a6e052244353d8c37e59b)
Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
|
| |
|
|
|
|
|
|
|
| |
options (GH-138805) (#139638)
Modifies the Android test runner to ensure that all valid Python command line
options are preserved when running the test suite.
(cherry picked from commit a9b0506d8db1aff8318759ed9324be56bf33eb31)
Co-authored-by: Malcolm Smith <smith@chaquo.com>
|
| |
|
|
| |
markup (GH-139619) (#139628)
|
| |
|
|
|
|
|
|
| |
(GH-139601) (#139617)
Replace ambiguous word "pound" by "hash" in `difflib` docs (GH-139601)
(cherry picked from commit dadbb2662a405a34763db0298025f6af06342849)
Co-authored-by: George Ogden <38294960+George-Ogden@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and 6.17.x (GH-139552) (#139593)
gh-139310: skip `test_aead_aes_gcm` for Linux kernel between 6.16.0 and 6.17.x (GH-139552)
Currently, Fedora 42 uses a custom Linux Kernel 6.16.9 that backported an upstream change
from 6.17-rc7 [1,3] but not its subsequent fix [2]. Until the issue is resolved upstream,
we skip the failing test `test_socket.test_aead_aes_gcm` for kernel versions between 6.16
and 6.17.x.
[1] https://github.com/torvalds/linux/commit/1b34cbbf4f011a121ef7b2d7d6e6920a036d5285
[2] https://github.com/torvalds/linux/commit/d0ca0df179c4b21e2a6c4a4fb637aa8fa14575cb
[3] https://gitlab.com/cki-project/kernel-ark/-/commit/45bcf60fe49b37daab1acee57b27211ad1574042
(cherry picked from commit 41712c4e095b2cc988febfe3887616c2779c6210)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
|
| |
|
| |
(cherry picked from commit 063cef9999d7490e62cb2ad2711634a992c090fb)
|
| |
|
| |
(cherry picked from commit 98e748b3a0d97bd2c785efc63693f971113b3b63)
|
| |
|
|
|
|
| |
Update Android to OpenSSL 3.0.18.
(cherry picked from commit 0f0fc5a16368ea45541137cff6b90d63bad5eb26)
Co-authored-by: Malcolm Smith <smith@chaquo.com>
|
| |
|
|
|
|
|
|
| |
`asyncio.StreamWriter.write` (GH-139564) (#139571)
gh-138703: clarify data buffer requirement of `asyncio.StreamWriter.write` (GH-139564)
(cherry picked from commit 0b2168275e8ec491fe7ea6f8c662e804437dfdab)
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
`BlockingIOError` (GH-139496) (#139528)
* Fix `hashlib.file_digest()` versionchanged description of `BlockingIOError`
The sentence was missing a negation and contradicted the other two
descriptions in the same commit. I believe code behaviour is correct.
* fixup! Fix `hashlib.file_digest()` versionchanged description of `BlockingIOError`
* Remove unncessary NEWS.d entry
(cherry picked from commit fb114cf49742a3679d56aa4ac3f341839c641221)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#139507)
gh-135329: Use longer timeout in pyrepl test_repl_eio() (#139503)
Replace hardcoded 5 seconds with support.SHORT_TIMEOUT.
Fix the following error on slow CI such as GitHub Action UBSan:
test test_pyrepl failed -- Traceback (most recent call last):
File "Lib/test/test_pyrepl/test_unix_console.py", line 362, in test_repl_eio
_, err = proc.communicate(timeout=5) # sleep for pty to settle
~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "Lib/subprocess.py", line 1219, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "Lib/subprocess.py", line 2126, in _communicate
self._check_timeout(endtime, orig_timeout, stdout, stderr)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "Lib/subprocess.py", line 1266, in _check_timeout
raise TimeoutExpired(
...<2 lines>...
stderr=b''.join(stderr_seq) if stderr_seq else None)
subprocess.TimeoutExpired: Command '[...]' timed out after 5 seconds
(cherry picked from commit c985822d86892cd0a978e6e63945be3c0e59217c)
|
| |
|
|
|
|
|
|
| |
(GH-139488) (#139494)
gh-139487: add missing imports for standalone doctest `Enum` examples (GH-139488)
(cherry picked from commit f3d7faeafa9618b38980813f22d0a64f7b2bd441)
Co-authored-by: Peter <35064951+ttw225@users.noreply.github.com>
|
| |
|
|
|
|
|
| |
(GH-139469) (GH-139470)
(cherry picked from commit d936dbeb1f1ebb4291a035dae88be78722c51d34)
Co-authored-by: Ken Jin <kenjin@python.org>
|
| |
|
|
|
|
|
|
| |
reference (GH-139451) (#139464)
Document that `PyInterpreterState_GetDict` returns a borrowed reference (GH-139451)
(cherry picked from commit 80cdf3ef74f6622899c1c82af1e08492e4ab7a00)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
|
| |
|
|
|
|
|
| |
(GH-139211) (GH-139456)
(cherry picked from commit c86eb4d3ac5984efc1ea920ba643e3c4f02fdee8)
Co-authored-by: Ken Jin <kenjin@python.org>
|
| |
|
|
|
|
|
| |
macOS (GH-138652) (GH-139422)
(cherry picked from commit 1b8dcdacc75caa8175f89c7e739e45d856ebf511)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
`_testembed.c::test_pre_initialization_sys_options` (GH-139147) (#139414)
gh-139146: Check `calloc()` results in `_testembed.c::test_pre_initialization_sys_options` (GH-139147)
(cherry picked from commit 9c6a1f847b648747414600f2cde18f3837505537)
Reported by: Dmitrii Chuprov <cheese@altlinux.org>
Signed-off-by: Denis Sergeev <zeff@altlinux.org>
Co-authored-by: Denis Sergeev <zeff@altlinux.org>
|
| |
|
|
|
|
|
|
| |
gh-78319: Fix implementation of IMAP APPEND UTF8 (GH-9436)
Make UTF8 support for the IMAP APPEND command RFC 6855 compliant.
(cherry picked from commit 408154d64a7b3d43b05f44ea5c4cdf781bdd1352)
Co-authored-by: Gordon Messmer <gordon.messmer@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
gh-139312: Update bundled libexpat to 2.7.3 (GH-139319)
+ Blurb
+ Update sbom.spdx.json
(cherry picked from commit 48d0d0dd9733eae4935f2ebd31bef786d8074fc8)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
|
| |
|
|
|
| |
(#139357)
(cherry picked from commit 8288f3693f50058ad9b9fe04e01f5dad902d8bad)
|
| | |
|
| |
|
|
|
|
|
|
| |
(#139348)
gh-115119: Defer `--with-system-libmpdec` removal to 3.16 (GH-139318)
(cherry picked from commit 0aab07ccf79f335e3afa8021ddcbcfb8afa4d70c)
Co-authored-by: sobolevn <mail@sobolevn.me>
|
| |
|
|
|
|
| |
gh-127502: Fix typo in XML security notes (GH-139335)
(cherry picked from commit 6fa1e552e06063b668e02540ba1c31a4d87bbb17)
Co-authored-by: Sebastian Pipping <sebastian@pipping.org>
|
| |
|
|
|
|
|
|
| |
gh-139330: Check expat version/checksum in SBOM with refresh.sh
Check expat version/checksum in SBOM with refresh.sh
(cherry picked from commit 89b5571025a5316ea3855c8e595a5f3c3ae11f8f)
Co-authored-by: Seth Michael Larson <seth@python.org>
|
| |
|
|
|
|
|
|
|
| |
On some macOS versions there was an off-by-one error in wcsxfrm() which
caused writing past the end of the array if its size was not calculated
by running wcsxfrm() first.
(cherry picked from commit 5854cf38a25ab8b0c6ab0296098166014f77caa3)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
|
| |
|
| |
(cherry picked from commit b36dee855dd61f6ac37208866c3c4c21429a587a)
|
| |
|
|
|
|
| |
(#139281)
[3.13] gh-138860: Lazy import rlcompleter in pdb to avoid deadlock in subprocess (GH-139185)
(cherry picked from commit c8624cd36746b17d8f991cde63705e9419e940de)
|
| |
|
|
|
|
|
|
| |
gh-139208: Fix regrtest --fast-ci --verbose (GH-139240)
Don't ignore the --verbose option anymore.
(cherry picked from commit dd683f8f341dd0c95ac4f1363d92d141ea5b3842)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
| |
|
|
|
|
| |
(GH-136575) (#138734)" (#139239)
This reverts commit df349036b3f912e539643d91b84cbce32e4a1051 as discussed in https://github.com/python/cpython/pull/138733#issuecomment-3317818806
|
| |
|
|
|
|
| |
`Doc/library/os.rst`: Remove spurious parenthesis (GH-139205)
(cherry picked from commit 9c3d09b984374292d1d8552f53c98f445f8556dd)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
|
| |
|
|
| |
(GH-138671) (#139203)
|
| | |
|
| |
|
|
| |
removal date for `ByteString` (#139171)
|
| |
|
|
|
|
|
| |
interpreter creation (GH-139164) (GH-139169)
* gh-112729: Correctly fail when the process is out of memory during interpreter creation (GH-139164)
(cherry picked from commit d06113c7a7cac76a28847702685e601b79f71bf8)
|
| |
|
|
|
|
|
|
|
|
| |
(GH-139077) (GH-139161)
Fix a bug in the pydoc module that was hiding functions in a Python
module if they were implemented in an extension module and the module did
not have __all__.
(cherry picked from commit 7257b24140ac1b39fb8cfd4610134ec79575a396)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|