Miss Islington (bot)
c76e70a409
gh-93358: Fix python-config docs for how to embed Python (GH-98649)
...
(cherry picked from commit e063c23c65
)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-10-29 11:53:54 -07:00
Miss Islington (bot)
85f88f63d9
Fix typo in contextvars docs (GH-98823)
...
(cherry picked from commit 72fa57a8fe
)
Co-authored-by: cburroughs <chris.burroughs@gmail.com>
2022-10-28 14:19:43 -07:00
Alex Waygood
4320115613
[3.10] `argparse` docs: normalize constant references ( #98765 ) ( #98808 )
...
`argparse` docs: normalize constant references (#98765 )
(cherry picked from commit b27b57c6e4
)
Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
2022-10-28 18:17:03 +01:00
Erlend E. Aasland
a3b06fd1a2
[3.10] gh-94328: Update Windows installer to use SQLite 3.39.4 (GH-98640) ( #98678 )
...
(cherry picked from commit 0c84593275
)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2022-10-28 14:16:38 +02:00
Miss Islington (bot)
3f0f74387b
[3.10] gh-98624 Add mutex to unittest.mock.NonCallableMock (GH-98688) ( #98798 )
...
(cherry picked from commit 0346eddbe9
)
Co-authored-by: noah-weingarden <33741795+noah-weingarden@users.noreply.github.com>
2022-10-28 12:16:53 +02:00
samypr100
af204e4c47
[3.10] GH-98671: bpo-46670: Fix #ifdef in sha3module.c (GH-90828) ( #98677 )
2022-10-28 12:13:44 +02:00
sterliakov
db1c3d6316
[3.10] gh-98548: Fix `-ne` shell operator spelling ( #98555 )
2022-10-28 12:12:42 +02:00
Miss Islington (bot)
586bb1fd8b
[3.10] bpo-2716: add license for audioop module (GH-19972) ( #98532 )
...
bpo-2716: add license for audioop module (GH-19972)
(cherry picked from commit 4c1145bb37
)
Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
2022-10-28 12:11:26 +02:00
Miss Islington (bot)
97106d3136
[3.10] Add more tkinter.Canvas tests (GH-98475) ( #98477 )
...
Add more tkinter.Canvas tests (GH-98475)
It is a prerequisite for GH-94473. Add tests for the coords() method and
for creation of some Canvas items.
(cherry picked from commit ff173ed2f6
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-10-28 12:10:41 +02:00
Miss Islington (bot)
e77af82110
gh-98739: Update libexpat from 2.4.9 to 2.5.0 (GH-98742)
...
* Update libexpat from 2.4.9 to 2.5.0 to address CVE-2022-43680.
Co-authored-by: Shaun Walbridge <shaun.walbridge@gmail.com>
(cherry picked from commit 3e07f827b3
)
Co-authored-by: Shaun Walbridge <46331011+scdub@users.noreply.github.com>
2022-10-27 14:22:18 -07:00
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