Miss Islington (bot)
6a1d165c4c
obmalloc: Remove unused variable. (GH-98770)
...
(cherry picked from commit bded5edd9a
)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
2022-10-27 09:33:44 -07:00
Miss Islington (bot)
9338e9a5f4
gh-98703: Add tests for closing `_ProactorSocketTransport` with proactor event loop (GH-98730)
...
(cherry picked from commit 96ae80f1d0
)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-10-26 20:35:07 -07:00
Miss Islington (bot)
bb80f6ad92
gh-98703: Fix asyncio proactor_events calling _call_connection_lost multiple times (GH-98704)
...
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
(cherry picked from commit 8a755423eb
)
Co-authored-by: Ken Jin <kenjin@python.org>
2022-10-26 20:03:58 -07:00
Miss Islington (bot)
5074c35c2a
Fix readline.c compiler warning. (GH-98738)
...
```
Modules/readline.c:1260:37: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
completer_word_break_characters =
^
```
(cherry picked from commit 29b391b137
)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
2022-10-26 16:28:40 -07:00
Stanley
f786485f13
[3.10] Change links to label refs (GH-98454) ( #98726 )
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-10-26 13:19:39 -07:00
Erlend E. Aasland
4b41b11a63
[3.10] gh-98716: Revert gh-96081: Escape lone stars in sqlite3 docs (GH-98720) ( #98737 )
...
(cherry picked from commit 365852a03a
)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-10-26 22:19:20 +02:00
Miss Islington (bot)
fd9bdde769
gh-94808: cover `PyMapping_HasKeyString` and `PyMapping_HasKey` (GH-98486)
...
(cherry picked from commit 5d30544485
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2022-10-25 21:53:36 -07:00
Miss Islington (bot)
5e08585317
gh-98348: Mention ReferenceError in weakref.proxy documentation (GH-98355)
...
(cherry picked from commit 216f45e4fe
)
Co-authored-by: fancidev <fancidev@gmail.com>
2022-10-25 20:55:29 -07:00
Miss Islington (bot)
0f93725063
gh-77753: Add example for values that compare equal in stdtypes (GH-98497)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 0ca6a4d640
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-10-25 20:01:11 -07:00
Miss Islington (bot)
866dc74afa
gh-84747: Add `async for` comment for StreamReader (GH-98633)
...
(cherry picked from commit 4196ee5c8b
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-10-25 19:23:08 -07:00
Miss Islington (bot)
cb323a8612
gh-94808: Improve coverage of `unicode_find` and `unicode_rfind` (GH-98648)
...
(cherry picked from commit b1783bc124
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2022-10-25 17:02:48 -07:00
Miss Islington (bot)
3e335f2c0d
gh-98623: Fix base classes in `typing.rst` (GH-98626)
...
(cherry picked from commit 5076108872
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2022-10-25 07:15:07 -07:00
Miss Islington (bot)
750e504800
Use more precise exception types in `assertRaises` in typing tests (GH-98650)
...
(cherry picked from commit 45c89358b7
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2022-10-25 07:12:59 -07:00
Miss Islington (bot)
a86a7b827b
gh-93696: Locate frozen module source with __file__ (GH-93697)
...
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
(cherry picked from commit d91de288e7
)
Co-authored-by: James Gerity <snoopjedi@gmail.com>
2022-10-25 06:48:41 -07:00
Erlend E. Aasland
9387b7c1b3
[3.10] gh-94328: Update macOS installer to use SQLite 3.39.4. (GH-98639) ( #98647 )
...
[3.10] gh-94328: Update macOS installer to use SQLite 3.39.4. (GH-98639).
(cherry picked from commit 8aa1e994a5
)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-10-25 14:23:38 +02:00
Dong-hee Na
25eae0b6c2
[3.10] gh-98456: Replace deprecated `set-output` with up-to-date vers… (gh-98564)
...
[3.10] gh-98456: Replace deprecated `set-output` with up-to-date version (gh-98457).
(cherry picked from commit 1db2a0cb20
)
Co-authored-by: Noam Cohen <noam@noam.me>
Co-authored-by: Noam Cohen <noam@noam.me>
2022-10-25 12:02:47 +09:00
Miss Islington (bot)
8ba086f70b
GH-89237: fix hang in proactor `subprocess.wait_closed()` (GH-98572)
...
(cherry picked from commit ad1dc3ebb6
)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-10-24 13:42:20 -07:00
Miss Islington (bot)
d79a42aac8
gh-98507: [typing docs] Rephrase "now supports `[]`" to "now supports subscripting" (GH-98508)
...
(cherry picked from commit e3b9dd8e87
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2022-10-24 11:17:33 -07:00
Miss Islington (bot)
39e914c03a
GH-91635: clarify docs about closing of transport in asyncio (GH-98563)
...
(cherry picked from commit 2fdcc6f2cb
)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-10-24 11:01:37 -07:00
Miss Islington (bot)
e69509f468
gh-98500: Fix typing docs for `*View` classes (GH-98511)
...
(cherry picked from commit 1a217f9ffc
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2022-10-24 10:54:35 -07:00
Miss Islington (bot)
f3c23fc48c
gh-98561: Fix a typo in typing (GH-98562)
...
(cherry picked from commit b6d5d5b60a
)
Co-authored-by: Omkaar <79257339+Infiniticity@users.noreply.github.com>
2022-10-23 07:11:29 -07:00
Miss Islington (bot)
dcb342b5f9
gh-51511: Note that codecs.open()'s encoding parameter affects automatic conversion to binary mode (GH-94370)
...
(cherry picked from commit d9407b174c
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-10-21 16:28:25 -07:00
Theo Buehler
0e4e058602
[3.10] gh-98517: Fix buffer overflows in _sha3 module ( #98519 )
...
This is a port of the applicable part of XKCP's fix [1] for
CVE-2022-37454 and avoids the segmentation fault and the infinite
loop in the test cases published in [2].
[1]: fdc6fef075
[2]: https://mouha.be/sha-3-buffer-overflow/
Regression test added by: Gregory P. Smith [Google LLC] <greg@krypto.org>
2022-10-21 12:26:01 -07:00
Miss Islington (bot)
eae692eed1
[3.10] gh-97514: Don't use Linux abstract sockets for multiprocessing (GH-98501) (GH-98503)
...
Linux abstract sockets are insecure as they lack any form of filesystem
permissions so their use allows anyone on the system to inject code into
the process.
This removes the default preference for abstract sockets in
multiprocessing introduced in Python 3.9+ via
https://github.com/python/cpython/pull/18866 while fixing
https://github.com/python/cpython/issues/84031 .
Explicit use of an abstract socket by a user now generates a
RuntimeWarning. If we choose to keep this warning, it should be
backported to the 3.7 and 3.8 branches.
(cherry picked from commit 49f61068f4
)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Automerge-Triggered-By: GH:gpshead
2022-10-20 16:55:51 -07:00
Miss Islington (bot)
0db4c5990c
gh-96035: Make urllib.parse.urlparse reject non-numeric ports (GH-98273)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 6f15ca8c7a
)
Co-authored-by: Ben Kallus <49924171+kenballus@users.noreply.github.com>
2022-10-20 14:29:21 -07:00
Miss Islington (bot)
ba6492e2a7
CODEOWNERS: Become a typing code owner (GH-98480)
...
(cherry picked from commit cb93b4aee5
)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-10-20 07:18:09 -07:00
Miss Islington (bot)
3f040bc8e4
[3.10] [doc] Improve logging cookbook example. (GH-98481) (GH-98482)
...
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
2022-10-20 12:53:53 +01:00
Vinay Sajip
dddbbd9e3e
[3.10] [doc] Refresh the venv introduction documentation, and correct… (GH-98466)
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Phil Elson <pelson.pub@gmail.com>
2022-10-19 22:56:26 +01:00
Miss Islington (bot)
ac2e7bec08
Doc: Remove title text from internal links (GH-98409)
...
Rely on the title of the linked internal page instead of putting the title. Sphinx will render with the title correctly, and this will reduce work for translators
(cherry picked from commit 52fcba6512
)
Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
2022-10-19 08:45:25 -07:00
Miss Islington (bot)
eee8b99dc3
gh-97928: Fix handling options starting with "-" in tkinter.Text.count() (GH-98436)
...
Previously they were silently ignored. Now they are errors.
(cherry picked from commit e4ec8de6fa
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-10-19 02:57:18 -07:00
Miss Islington (bot)
d0ed05c018
gh-97928: Add tests for tkinter.Text.count() (GH-98269)
...
(cherry picked from commit 1b684c8f5f
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-10-18 23:40:40 -07:00
Miss Islington (bot)
ce87ab4dc5
[3.10] gh-93858: Prevent error when activating venv in nested fish instances (GH-93931) (GH-98403)
...
Co-authored-by: Thomas B. Brunner <thomasbbrunner@gmail.com>
2022-10-18 16:39:06 +01:00
Miss Islington (bot)
676cdea18f
[3.10] gh-98331: Update bundled pip to 22.3 (GH-98332) (gh-98399)
2022-10-18 16:36:23 +01:00
C.A.M. Gerlach
b2db1c2080
[3.10] Docs: Fix backtick errors found by sphinx-lint (GH-97998) ( #98373 )
...
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>.
(cherry picked from commit fa2d43e518
)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-10-18 01:49:47 +02:00
Miss Islington (bot)
3adf23471e
gh-98174: Handle EPROTOTYPE under macOS in test_sendfile_fallback_close_peer_in_the_middle_of_receiving (GH-98316)
...
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
(cherry picked from commit 3e82ad05b1
)
Co-authored-by: fancidev <fancidev@gmail.com>
2022-10-17 09:13:37 -07:00
Miss Islington (bot)
26307384ff
gh-85299: Add note warning about entry point guard for asyncio example (GH-93457)
...
(cherry picked from commit 79fd6ccdbe
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-10-16 10:13:28 -07:00
Miss Islington (bot)
928b5f1bde
gh-97527: IDLE - fix buggy macosx patch (GH-98313)
...
GH-97530 fixed IDLE tests possibly crashing on a Mac without a GUI.
But it resulted in IDLE not starting in 3.10.8, 3.12.0a1, and
Microsoft Python 3.10.2288.0 when test/* is not installed.
After this patch, test.* is only imported when testing on Mac.
(cherry picked from commit 35fa5d5e7f
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-10-16 08:33:33 -07:00
Jelle Zijlstra
8a1f1cbe1a
[3.10] docs(typing): harmonize "See PEP x for more details" (GH-97927). ( #98293 )
...
(cherry picked from commit 02389658a4
)
Co-authored-by: Simon Legner <Simon.Legner@gmail.com>
2022-10-15 21:08:46 -07:00
Vinay Sajip
7b604d83d2
[3.10] [doc] Update logging cookbook with an example of custom handli… (GH-98299)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-10-15 21:59:13 +01:00
Miss Islington (bot)
146232f8af
gh-95971: Turn @writes_bytecode_files to skip when not running (GH-95972)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 07b5c4699e
)
Co-authored-by: Jeong YunWon <69878+youknowone@users.noreply.github.com>
2022-10-15 08:40:43 -07:00
Miss Islington (bot)
84a26e114e
gh-95731: Fix module docstring extraction in pygettext (GH-95732)
...
(cherry picked from commit 120b4ab2b6
)
Co-authored-by: Jakub Kuczys <me@jacken.men>
2022-10-15 08:33:19 -07:00
Miss Islington (bot)
c9da063e32
gh-98251: Allow venv to pass along PYTHON* variables to pip and ensurepip when they do not impact path resolution (GH-98259)
...
(cherry picked from commit 2fe44f728a
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2022-10-14 09:22:19 -07:00
Miss Islington (bot)
fa9f65ef58
bpo-46364: Use sockets for stdin of asyncio only on AIX (GH-30596)
...
Signed-off-by: Christoph Hamsen <hamsen.christoph@posteo.de>
Co-authored-by: July Tikhonov <july.tikh@gmail.com>
(cherry picked from commit c9ed0327a9
)
Co-authored-by: Christoph Hamsen <37963496+xopham@users.noreply.github.com>
2022-10-13 10:27:14 -07:00
Miss Islington (bot)
c7662420d6
gh-98178: syslog() is not thread-safe on macOS (GH-98213)
...
On macOS, fix a crash in syslog.syslog() in multi-threaded
applications. On macOS, the libc syslog() function is not
thread-safe, so syslog.syslog() no longer releases the GIL to call
it.
(cherry picked from commit d4b9166385
)
Co-authored-by: Victor Stinner <vstinner@python.org>
2022-10-13 05:05:18 -07:00
Julien Palard
a0c11529f3
[3.10] gh-86404: Doc CI: Disable suspicious checks. (GH-26575) (GH-98221)
...
gh-86404: Doc CI: Disable suspicious checks.
2022-10-12 21:26:27 +02:00
Miss Islington (bot)
258c440b47
gh-96265: Formatting changes for faq/general (GH-98129)
...
* Some formatting changes for general faq
* Use list for Python versioning
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* New line for list, list for a/b/rc
* Line wrap for 80 chars
* More line wrap
* Remove PythonWin mention.
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit e9569ec43e
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-10-12 09:12:14 -07:00
Miss Islington (bot)
2ed28a69b5
tutorial: remove "with single quotes" (GH-98204)
...
Closes GH-91856.
On Windows double quotes are sometimes better, on Unix usually
single quotes. It's not our place to explain that, so just don't.
(cherry picked from commit 5f8ca1b796
)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-10-12 09:07:49 -07:00
Miss Islington (bot)
bd73110959
gh-65046: Link to logging cookbook from asyncio docs (GH-98207)
...
(cherry picked from commit c39a0c3354
)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2022-10-11 21:50:15 -07:00
Miss Islington (bot)
f6abb332a2
Formatting fixes in contextlib docs (GH-98111)
...
(cherry picked from commit 3b33c2010a
)
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2022-10-11 21:06:40 -07:00
Miss Islington (bot)
f94e6b4c42
gh-95276: Add callable entry to the glossary (GH-95738)
...
(cherry picked from commit e3bf125c81
)
Co-authored-by: MonadChains <monadchains@gmail.com>
2022-10-11 19:49:23 -07:00