Miss Islington (bot)
2bcbc3113d
bpo-27929: resolve names only for AF_INET/AF_INET6 with asyncio (GH-32131)
...
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
(cherry picked from commit 5c30388f3c
)
Co-authored-by: Vincent Bernat <vincent@bernat.ch>
2022-03-28 15:15:05 -07:00
Miss Islington (bot)
5944807b09
[3.10] bpo-44493: Add missing terminated NUL in sockaddr_un's length (GH-26866) (GH-32140)
...
Add missing terminated NUL in sockaddr_un's length
- Linux: https://man7.org/linux/man-pages/man7/unix.7.html
- *BSD: SUN_LEN
(cherry picked from commit f6b3a07b7d
)
Co-authored-by: ty <zonyitoo@users.noreply.github.com>
Automerge-Triggered-By: GH:gpshead
2022-03-28 11:26:49 -07:00
Hugo van Kemenade
9194a7b899
bpo-47138: Fix documentation build by pinning Jinja version to 3.0.3 (GH-32154)
...
Co-authored-by: Maciej Olko <maciej.olko@gmail.com>
2022-03-28 13:06:16 -04:00
Pablo Galindo Salgado
27ee431834
[3.10] bpo-47117: Don't crash if we fail to decode characters when the tokenizer buffers are uninitialized (GH-32129) (GH-32130)
...
Automerge-Triggered-By: GH:pablogsal.
(cherry picked from commit 26cca8067b
)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2022-03-26 18:26:05 +00:00
Miss Islington (bot)
48b3ae9e29
bpo-47105: Cite grp.h instead of pwd.h in grp docs (GH-32091) (GH-32120)
...
(cherry picked from commit ee912ad6f6
)
Co-authored-by: Alex Hedges <aphedges@users.noreply.github.com>
2022-03-25 20:21:50 -04:00
Pablo Galindo
9006b4471c
Merge remote-tracking branch 'upstream/3.10' into 3.10
2022-03-24 10:30:54 +00:00
Pablo Galindo
4d37dc69bd
Post 3.10.4
2022-03-24 10:30:34 +00:00
Miss Islington (bot)
9e1bfd8ce7
bpo-47104: Rewrite asyncio.to_thread tests to use IsolatedAsyncioTestCase (GH-32086)
...
(cherry picked from commit ff619c7dfe
)
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
2022-03-23 14:43:32 -07:00
Christian Heimes
1b6acaad9a
[3.10] bpo-47101: list only activated algorithms in hashlib.algorithms_available (GH-32076) (GH-32085)
...
Co-authored-by: Christian Heimes <christian@python.org>
2022-03-23 22:15:25 +01:00
Pablo Galindo
9d38120e33
Python 3.10.4
2022-03-23 20:12:04 +00:00
Miss Islington (bot)
4298114e1d
Correctly document class instead of function (GH-32016)
...
(cherry picked from commit 624e3986fb
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
2022-03-23 09:17:53 -07:00
Miss Islington (bot)
832be8f1d4
[doc] configparser: avoid inline comments. (GH-31247)
...
People are testing those blocs with the default
inline_comment_prefixes of None, leading to a:
configparser.InterpolationSyntaxError: '$' must be followed by '$' or '{', found: '$ sign ($ is the only character that needs to be escaped)'
(cherry picked from commit 3ac4e783e0
)
Co-authored-by: Julien Palard <julien@palard.fr>
2022-03-23 01:58:49 -07:00
Miss Islington (bot)
ca6acb8b31
Fix typo in Path.iterdir docs (GH-31822)
...
(cherry picked from commit 795b365e8a
)
Co-authored-by: Matt Williams <matt@milliams.com>
2022-03-22 20:14:30 -07:00
Alex Waygood
d5ed8a8258
[3.10] bpo-46769: Improve documentation for typing.TypeVar
(GH-31712) (GH-31941)
...
* [3.10] bpo-46769: Improve documentation for `typing.TypeVar` (GH-31712)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 81b425d4dc
)
* Remove references to `reveal_type`, add new section on `self` types
2022-03-22 19:52:40 -07:00
Miss Islington (bot)
f163ad22d3
bpo-2604: Make doctest.DocTestCase reset globs in teardown (GH-31932)
...
Co-authored-by: Piet Delport
Co-authored-by: Hugo Lopes Tavares
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 7ba7eae508
)
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
2022-03-22 14:31:44 -07:00
Jeremy Kloth
8146e6b636
bpo-44336: Prevent tests hanging on child process handles on Windows (GH-26578)
...
Replace the child process `typeperf.exe` with a daemon thread that reads the performance counters directly. This prevents the issues that arise from inherited handles in grandchild processes (see issue37531 for discussion).
We only use the load tracker when running tests in multiprocess mode. This prevents inadvertent interactions with tests expecting a single threaded environment. Displaying load is really only helpful for buildbots running in multiprocess mode anyway.
Co-authored-by: Jeremy Kloth <jeremy.kloth@gmail.com>
2022-03-22 17:21:24 +00:00
Miss Islington (bot)
9d59381a5d
[3.10] bpo-45997: Fix asyncio.Semaphore re-acquiring order (GH-31910) ( #32047 )
...
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
(cherry picked from commit 32e77154dd
)
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
2022-03-22 17:15:24 +02:00
Miss Islington (bot)
c3538355f4
[3.10] bpo-47061: document module deprecations due to PEP 594 (GH-31984) (GH-32039)
...
Also removed asynchat, asyncore, and smtpd from their respective toctree entries so they are only in the superceded subtree.
(cherry picked from commit 9ac2de922a
)
Co-authored-by: Brett Cannon <brett@python.org>
Automerge-Triggered-By: GH:brettcannon
2022-03-21 17:30:21 -07:00
Irit Katriel
7fc12540e3
bpo-12029: [doc] clarify that except does not match virtual subclasses of the specified exception type (GH-32027) (GH-32034)
...
(cherry picked from commit 45833b50f0
)
2022-03-21 21:22:39 +00:00
Miss Islington (bot)
1b21b55ee0
bpo-23691: Protect the re.finditer() iterator from re-entering (GH-32012)
...
(cherry picked from commit 08eb754d84
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-03-21 04:30:58 -07:00
Gregory P. Smith
4c989e19c8
[3.10] bpo-38256: Fix binascii.crc32 large input. (GH-32000) (GH-32013)
...
Inputs >= 4GiB to `binascii.crc32(...)` when compiled to use the zlib
crc32 implementation (the norm on POSIX) no longer return the wrong
result.
2022-03-20 14:46:52 -07:00
Hugo van Kemenade
94f038cbb2
[3.10] bpo-47022: Document asynchat, asyncore and smtpd removals in 3.12 (GH-31891) ( #31997 )
...
Document the deprecation of asyncore, asynchat, and smtpd with a slated removal in Python 3.12 thanks to PEP 594..
(cherry picked from commit 7747384643
)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-03-20 22:38:01 +02:00
Miss Islington (bot)
4352ca234e
bpo-42369: Fix thread safety of zipfile._SharedFile.tell (GH-26974)
...
The `_SharedFile` tracks its own virtual position into the file as
`self._pos` and updates it after reading or seeking. `tell()` should
return this position instead of calling into the underlying file object,
since if multiple `_SharedFile` instances are being used concurrently on
the same file, another one may have moved the real file position.
Additionally, calling into the underlying `tell` may expose thread
safety issues in the underlying file object because it was called
without taking the lock.
(cherry picked from commit e730ae7eff
)
Co-authored-by: Kevin Mehall <km@kevinmehall.net>
2022-03-20 07:51:11 -07:00
Miss Islington (bot)
87b3e202d4
bpo-46013: Fix confusing kerning on period in docs (GH-29989) (GH-32005)
...
(cherry picked from commit 3af68fc77c
)
Co-authored-by: jmcb <joel.mcbride1@live.com>
Co-authored-by: jmcb <joel.mcbride1@live.com>
2022-03-20 12:17:19 +00:00
Ma Lin
6d290d5862
[3.10] bpo-47040: improve document of checksum functions (GH-31955) (GH-32002)
...
Clarifies a versionchanged note on crc32 & adler32 docs that the workaround is only needed for Python 2 and earlier.
Also cleans up an unnecessary intermediate variable in the implementation.
Authored-By: Ma Lin / animalize
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2022-03-19 23:57:12 -07:00
Miss Islington (bot)
906f1a4a95
bpo-39394: Improve warning message in the re module (GH-31988)
...
A warning about inline flags not at the start of the regular
expression now contains the position of the flag.
(cherry picked from commit 4142961b9f
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-03-19 07:09:45 -07:00
Miss Islington (bot)
c1f327f30d
bpo-44544: add textwrap placeholder arg (GH-27671)
...
(cherry picked from commit cb7874f49d
)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2022-03-19 05:47:58 -07:00
Serhiy Storchaka
a5b7678a67
[3.10] bpo-40296: Fix supporting generic aliases in pydoc (GH-30253). (GH-31976)
...
(cherry picked from commit cd44afc573
)
2022-03-18 20:46:31 +02:00
Pablo Galindo Salgado
6fd9737373
[3.10] bpo-46968: Check for 'sys/auxv.h' in the configure script (GH-31961). (GH-31974)
...
(cherry picked from commit 8e3fde728f
)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2022-03-18 13:33:11 +00:00
Miss Islington (bot)
d27af88c1b
bpo-45979: Fix Tkinter tests with old Tk (>= 8.5.12) (GH-31938)
...
(cherry picked from commit dbbe4d2d00
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-03-18 05:44:54 -07:00
Miss Islington (bot)
0b5f99ad1a
bpo-46421: Fix unittest filename evaluation when called as a module (GH-30654)
...
(cherry picked from commit a0db11b10f
)
Co-authored-by: Bader Zaidan <bader@zaidan.pw>
2022-03-17 17:00:52 -07:00
Miss Islington (bot)
ba76f90192
bpo-47038: Increase a test timeout for slow CI machines (GH-31951)
...
(cherry picked from commit a7c5414832
)
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
2022-03-16 18:20:02 -07:00
Miss Islington (bot)
36f62c5575
bpo-47038: Rewrite missed asyncio.wait_for test to use IsolatedAnsyncioTestCase (GH-31946) ( #31948 )
...
(cherry picked from commit 3dd9bfac04
)
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
2022-03-17 02:19:51 +02:00
Miss Islington (bot)
4186dd662c
bpo-47038: Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase (GH-31942) (GH-31943)
...
(cherry picked from commit dd0082c627
)
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
2022-03-16 22:15:08 +02:00
Pablo Galindo
b7c6119377
Post 3.10.3
2022-03-16 14:30:58 +00:00
Pablo Galindo
a342a49189
Python 3.10.3
2022-03-16 11:27:11 +00:00
Steve Dower
04fdbb4f70
[3.10] bpo-47032: Ensure Windows install builds fail correctly with a non-zero exit code when part of the build fails (GH-31921) (GH-31926)
...
Automerge-Triggered-By: GH:zooba
2022-03-15 19:07:42 -07:00
Miss Islington (bot)
58d30b992d
bpo-46948: Fix launcher installer build failure due to first part of fix (GH-31920)
...
(cherry picked from commit 7088120853
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2022-03-15 18:13:03 -07:00
Christian Heimes
a59ac1e7d2
[3.10] bpo-47024: Update OpenSSL to 1.1.1n (GH-31895) (GH-31916)
...
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>.
Co-authored-by: Christian Heimes <christian@python.org>
2022-03-15 21:31:00 +01:00
Miss Islington (bot)
88c243fd8d
bpo-43253: Don't call shutdown() for invalid socket handles (GH-31892)
...
(cherry picked from commit 70155412f1
)
Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2022-03-15 08:22:01 -07:00
Miss Islington (bot)
3c4f24face
bpo-20392: Fix inconsistency with uppercase file extensions in mimetypes.guess_type (GH-30229)
...
(cherry picked from commit 5dd7ec52b8
)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-03-15 08:14:19 -07:00
Miss Islington (bot)
0e4bebad0a
But Add missing newline to NEWS entry (GH-31893)
...
(cherry picked from commit 16995ed0f2
)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-03-15 01:51:32 -07:00
Miss Islington (bot)
cebdc32558
bpo-43721: Fix docstrings for property.getter/setter/deleter (GH-31046)
...
(cherry picked from commit e3d348a525
)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2022-03-14 16:51:55 -07:00
Miss Islington (bot)
9f1587e8d3
bpo-31415: importtime was made by Inada Naoki (GH-31875)
...
(cherry picked from commit 29624e769c
)
Co-authored-by: Victor Stinner <vstinner@python.org>
2022-03-14 14:24:50 -07:00
Ned Deily
0cfcc0cbee
Revert "bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820)" (GH-31880)
...
This reverts commit 25962e4e60
as it breaks test_bdb and test_distutils with installed Pythons.
2022-03-14 17:08:28 -04:00
Miss Islington (bot)
efa7250159
[3.10] bpo-30677: [doc] mention that os.mkdir() can raise FileNotFoundError (GH-31548) (GH-31877)
...
(cherry picked from commit 879fbd9472
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
Automerge-Triggered-By: GH:iritkatriel
2022-03-14 13:50:41 -07:00
Illia Volochii
c682840834
[3.10] bpo-43215: Document Happy Eyeballs args of asyncio.open_connection (GH-24525) (GH-31869)
...
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
(cherry picked from commit 3543ddb4c4
)
Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
2022-03-14 15:16:29 +02:00
Jason R. Coombs
d929aa70e2
[3.10] bpo-47004: Sync with importlib_metadata 4.11.3. (GH-31854). (GH-31857)
...
(cherry picked from commit b1e2868607
)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
2022-03-13 17:29:50 -04:00
Miss Islington (bot)
25962e4e60
bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820)
...
(cherry picked from commit c99ac3c364
)
Co-authored-by: Pradyun Gedam <pgedam@bloomberg.net>
2022-03-13 12:15:20 -07:00
Miss Islington (bot)
1ceda9787f
[3.10] bpo-46985: Upgrade bundled pip to 22.0.4 (GH-31819) (GH-31849)
...
(cherry picked from commit d87f1b787e
)
Co-authored-by: Pradyun Gedam <pgedam@bloomberg.net>
Automerge-Triggered-By: GH:ned-deily
2022-03-13 11:52:04 -07:00