Miss Islington (bot)
4a5c101936
bpo-4379: Skip TLS 1.0/1.1 tests under OpenSSL 3.0.0 (GH-25304)
...
Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit 5151d64200
)
Co-authored-by: Christian Heimes <christian@python.org>
2021-04-09 07:08:32 -07:00
Miss Islington (bot)
a188bd44ac
bpo-43789: OpenSSL 3.0.0 Don't call passwd callback again in error case (GH-25303)
...
(cherry picked from commit d3b73f32ef
)
Co-authored-by: Christian Heimes <christian@python.org>
2021-04-09 06:46:11 -07:00
Pablo Galindo
4d9336d114
Add CI step to check changes in the exported ABI (GH-25230)
2021-04-09 01:34:08 +01:00
Miss Islington (bot)
a9228d02d1
[3.9] bpo-39702: Remove dotted_name from decorator documentation (GH-25234) (GH-25290)
...
(cherry picked from commit 1e051a21b7
)
Co-authored-by: Saiyang Gou <gousaiyang@163.com>
Automerge-Triggered-By: GH:brandtbucher
2021-04-08 16:03:53 -07:00
Miss Islington (bot)
5490b49fa6
[3.9] bpo-43087: Fix error in ctypes "Incomplete Types" doc (GH-24404)
...
The previous "Fundamental data types" section says a c_char_p must be bytes (or None).
(cherry picked from commit 14829b09eb
)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2021-04-08 04:21:35 -04:00
Miss Islington (bot)
b3e8722853
Fix broken test for MutableSet.pop() (GH-25209) (GH-25269)
2021-04-07 16:56:48 -07:00
Saiyang Gou
3b1cf20297
[3.9] bpo-36540: Improve doc of function definition regarding positional-only arguments (GH-25235) (GH-25259)
...
(cherry picked from commit 58d72cab89
)
Co-authored-by: Saiyang Gou <gousaiyang@163.com>
2021-04-07 20:32:48 +01:00
Miss Islington (bot)
f91fc7a679
bpo-43755: Update docs to reflect that lambda is not allowed in comp_if
since 3.9 (GH-25231) (GH-25233)
2021-04-07 19:17:56 +01:00
Steve Dower
34f93002ba
bpo-42999: Expand and clarify pathlib.Path.link_to() documentation. (GH-24294)
...
Co-authored-by: Barney Gale <barney.gale@gmail.com>
2021-04-07 18:12:42 +01:00
Miss Islington (bot)
a21d4fbd54
bpo-43075: Fix ReDoS in urllib AbstractBasicAuthHandler (GH-24391) (GH-25247)
...
Fix Regular Expression Denial of Service (ReDoS) vulnerability in
urllib.request.AbstractBasicAuthHandler. The ReDoS-vulnerable regex
has quadratic worst-case complexity and it allows cause a denial of
service when identifying crafted invalid RFCs. This ReDoS issue is on
the client side and needs remote attackers to control the HTTP server.
(cherry picked from commit 7215d1ae25
)
Co-authored-by: Yeting Li <liyt@ios.ac.cn>
Co-authored-by: Yeting Li <liyt@ios.ac.cn>
2021-04-07 17:58:04 +02:00
Steve Dower
0af99b44ed
bpo-43105: Importlib now resolves relative paths when creating module spec objects from file locations (GH-25121)
2021-04-07 12:35:36 +01:00
Miss Islington (bot)
2df971afd5
Fix blurb for bpo-43176. (GH-25215) (GH-25217)
...
(cherry picked from commit 1744c96ebc
)
Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
2021-04-06 11:07:07 -04:00
Steve Dower
611aa39142
bpo-43745: Actually updates Windows release to OpenSSL 1.1.1k. (GH-25213)
...
Earlier releases were mislabelled and included 1.1.1i again.
The tag/directory name is updated to ensure that builds get the fresh bits. However, the openssl-bin-1.1.1k tag in the repository has been forcibly updated, so fresh builds will be fine even without this change.
2021-04-06 16:03:52 +01:00
Miss Islington (bot)
8a34a0793b
bpo-43176: Fix processing of empty dataclasses (GH-24484) (GH-25205)
...
When a dataclass inherits from an empty base, all immutability checks are omitted. This PR fixes this and adds tests for it.
Automerge-Triggered-By: GH:ericvsmith
(cherry picked from commit 376ffc6ac4
)
Co-authored-by: Iurii Kemaev <6885137+hbq1@users.noreply.github.com>
Co-authored-by: Iurii Kemaev <6885137+hbq1@users.noreply.github.com>
2021-04-06 09:46:30 -04:00
Miss Islington (bot)
c7ccb0ff61
bpo-17305: Link to the third-party idna package. (GH-25208)
...
So long as we don't have idna2008 in the standard library, we should at least point people to the third-party solution.
(cherry picked from commit 1d023e374c
)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2021-04-06 01:19:15 -07:00
Miss Islington (bot)
028d5286d4
bpo-20503: Show how isinstance() works with ABC registered classes. (GH-25175) (GH-25202)
2021-04-05 13:11:50 -07:00
Miss Islington (bot)
013c30e5fc
bpo-36470: Allow dataclasses.replace() to handle InitVars with default values (GH-20867) (GH-25200)
...
Co-Authored-By: Claudiu Popa <pcmanticore@gmail.com>
Automerge-Triggered-By: GH:ericvsmith
(cherry picked from commit 75220674c0
)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2021-04-05 16:07:38 -04:00
Miss Islington (bot)
82cd24a03c
[3.9] Fix typo in turtledemo.two_canvases. (GH-25194)
...
(cherry picked from commit 4e2ef70841
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-04-05 13:43:15 -04:00
Łukasz Langa
c3c43dc07b
Post 3.9.4
2021-04-04 20:39:08 +02:00
Łukasz Langa
6c6ba50620
Python 3.9.4
...
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEE4/8oOcBIslwITevpsmmV4xAlBWgFAmBpt7AACgkQsmmV4xAl
BWiXTw/+KpFGbek7SRveuy1GFEMErvK/tAt4Th47kx5F5DO6AYSIhvEjZywgp6JA
0EQDM5OX7SpiW6DaVs6lFPChKdG0ohpUZqcIhCTqwsVNE0A2mcwprRbzk+xAqFbV
aeeY4SLR9ZQ6FKHYRzIBb4SwYzMDTEB6wN3bnCzANLyRu9V6/Q8Uk4159waRw5Kj
roz8a+B/DTud286gKMaFN4pjfpgoKOLH4AiQSGDfMdIBvMpQP9ScM72cQcuo/nyU
bsvTgagZ9Mc0RO71jWgCpcL5wDxxqZ2fpdARhTQwaUi39mdnAcR31tL+j7wJer20
yoZ6Zr79Of/4bR6ht5WjE+AubHh/H42f7Oi2Ghv7JzHz3rF+msX3ZiHZ590EmcfC
bsCaLz/dBwuQLTgPqmcYOu1tTNV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9gSLp/q7jwg/HWRSRbxpc6GcN2B/egBQ2b
qzP+2MeT8w==
=yKDv
-----END PGP SIGNATURE-----
Merge tag 'v3.9.4' into 3.9
Python 3.9.4
2021-04-04 20:38:59 +02:00
Miss Islington (bot)
d56bcf915b
[3.9] bpo-41370: Add note about ForwardRefs and PEP585 generic types in docs (GH-25183) (GH-25184)
...
(cherry picked from commit 2b5913b4ee
)
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Automerge-Triggered-By: GH:gvanrossum
2021-04-04 08:36:21 -07:00
Łukasz Langa
1f2e3088f3
Python 3.9.4
2021-04-04 14:56:53 +02:00
Gregory P. Smith
c7b0feca25
[3.9] bpo-43710: Rollback the 3.9 bpo-42500 fix, it broke the ABI in 3.9.3 ( #25179 )
...
This reverts commit 8b795ab554
.
It changed the PyThreadState structure size, breaking the ABI in 3.9.3.
2021-04-04 13:02:29 +02:00
Miss Islington (bot)
de0b2b1330
bpo-43325: Add FAQ entry for identity tests (GH-25168) (GH-25178)
2021-04-03 20:05:50 -07:00
Miss Islington (bot)
cbfa09b70b
Replace broken example code with correct simpler code. (GH-25162) (GH-25166)
2021-04-03 13:42:43 -07:00
Miss Islington (bot)
f12ae0b31a
Add more tests for the descriptor tutorial (GH-25164) ( #25165 )
...
(cherry picked from commit e4c8895ee5
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2021-04-03 13:42:28 -07:00
Miss Islington (bot)
63c69440c7
bpo-43705: Document that SyntaxError's offsets are 1-indexed (GH-25153)
...
Changed the inline mentions of the attributes into a proper attribute list like `SystemExit` has.
Automerge-Triggered-By: GH:gvanrossum
(cherry picked from commit b2a91e0c9e
)
Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
2021-04-02 15:26:32 -07:00
Łukasz Langa
9350cc02f8
Post 3.9.3
2021-04-02 19:39:11 +02:00
Łukasz Langa
fbd4e58f63
Python 3.9.3
...
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zsf68vy0hZY96WBL+VkiZAK13JQIeHh
c+HqoAh3Z5NB5SXBk4GgKBxG91bJsj0zbsUIlKeeFV0dz3M+LJvRWZO0IgwDL8bU
3QTZ6cfzqRIBfkx2FROC9bYoOZQ2yrdtvZGURKYDTjbDSXSWfnEu97Jox5wScYCO
h3qbemgeyRZueBEFANK/A1BbkLyf3gpJQYQ1FnFD0Z9EkveCP/gcVx7QzyeUUt4l
WAWxS4O7Li59Bn8BcFczt53/ks4ZtIdRgWEdIeMI7NREQgM/3139XTlgEZ04OUKi
ch+1f+81khgWSc1GLPR9wbnU7YdvGEEk9j1h5PiOhZ/+JWsgQil1FLKb67fU1zDI
mNdGdF3dzkM6THc7yOaAr5IcUZ5JCCEAX3TkZBRDAg31IhZrnZtGKw04kX5R9JBY
R5ZIqNddBT9/RQFLCGtKVP+8QxTiWwZP2wP1ygXiJFS0UAtnMIdBR79FvSSgxsNK
DLAkCkX0u1WYH6oU2h5L/tPQrYYf6h8nXrA+zURl/0Q3MZRcxx0B1IG9FtLl0zvt
M7Tl8eRobg==
=t2Mf
-----END PGP SIGNATURE-----
Merge tag 'v3.9.3' into 3.9
Python 3.9.3
2021-04-02 19:38:57 +02:00
Irit Katriel
7ad56e2545
[3.9] bpo-26053: Fix args echoed by pdb run command (GH-25149)
...
* bpo-26053: Fix args echoed by pdb run command (GH-22033)
(cherry picked from commit 652bfdee94
)
* bpo-26053: Fix test_pdb.test_issue26053() (GH-25139)
(cherry picked from commit bd4ab8e739
)
2021-04-02 13:16:55 +02:00
Łukasz Langa
e723086bc3
Python 3.9.3
2021-04-02 11:51:53 +02:00
Miss Islington (bot)
a217e0ab98
bpo-43700: Replace Zulip badge with Discourse badge (GH-25141)
...
Automerge-Triggered-By: GH:zware
(cherry picked from commit bef7b26f72
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-04-01 20:58:07 -07:00
Miss Islington (bot)
d104a786ff
bpo-43677: Fix a minor error in Doc/howto/descriptor.rst (GH-25123) ( #25140 )
2021-04-01 17:06:30 -07:00
Miss Islington (bot)
244fa236e4
Doc: io: Remove "In-memory streams" section (GH-24927)
...
(cherry picked from commit b045cdaf34
)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2021-04-01 15:11:49 +09:00
Miss Islington (bot)
b3c1e2c493
bpo-42840: Document providing kwargs to type. (GH-24173)
...
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 72fcd14a82
)
Co-authored-by: Erik Soma <stillusingirc@gmail.com>
2021-03-31 17:10:36 -07:00
Miss Islington (bot)
fabdd25fe5
bpo-37945: Fix test_locale.test_getsetlocale_issue1813() (GH-25110) (GH-25112)
...
Skip the test if setlocale() fails.
(cherry picked from commit f3ab670fea
)
Co-authored-by: Victor Stinner <vstinner@python.org>
2021-03-31 13:52:14 +02:00
Miss Islington (bot)
84694c3e7a
bpo-42225: IDLE - document two unix-related problems. (GH-25078)
...
1. Bad IP masquerade rules can prevent startup.
2. X cannot handle some complex colored chars.
(cherry picked from commit 1b4a9c7956
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-03-30 22:44:26 -07:00
Miss Islington (bot)
b500bd8e67
bpo-43399: Fix ElementTree.extend not working on iterators (GH-24751)
...
(cherry picked from commit 51a85ddce8
)
Co-authored-by: Alex Prengère <2138730+alexprengere@users.noreply.github.com>
2021-03-30 14:36:25 -07:00
Christian Heimes
cd82d59206
[3.9] bpo-43631: Update to OpenSSL 1.1.1k (GH-25024) (GH-25088)
...
Signed-off-by: Christian Heimes <christian@python.org>
Automerge-Triggered-By: GH:tiran.
(cherry picked from commit a54fc683f2
)
Co-authored-by: Christian Heimes <christian@python.org>
2021-03-30 01:58:06 -07:00
Miss Islington (bot)
f79577ddbd
bpo-43637: Fix a possible memory leak in winreg.SetValueEx() (GH-25038)
...
(cherry picked from commit dfeec347f2
)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2021-03-30 00:51:55 -07:00
Miss Islington (bot)
05429c917c
bpo-33164: blake2: Fix Coverity scan (GH-25060)
...
(cherry picked from commit 068ebf9729
)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2021-03-29 21:36:39 -07:00
Miss Islington (bot)
ff4715a733
bpo-43660: Fix crash when displaying exceptions with custom values for sys.stderr (GH-25075) (GH-25083)
...
(cherry picked from commit 09b90a037d
)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2021-03-30 00:24:33 +01:00
Miss Islington (bot)
acb584958e
bpo-43562: fix test_ssl to skip on unreachable network (GH-24937) (GH-25046)
...
This test checks result code of the connection directly, so it never raises an exception that can be suppressed by `support.transient_internet`. Directly support skipping the test in case of unreachable network.
(cherry picked from commit 29c451c698
)
Co-authored-by: Carl Meyer <carl@oddbird.net>
Co-authored-by: Carl Meyer <carl@oddbird.net>
2021-03-29 21:37:32 +02:00
Miss Islington (bot)
f1d53bcd53
bpo-43659: Fix test_curses on AIX (GH-25074)
...
curses.update_lines_cols() is only defined when the curses library
provides either resizeterm() or resize_term() functions which are optional
and are not provided on AIX.
(cherry picked from commit c8b5738810
)
Co-authored-by: Michael Felt <aixtools@users.noreply.github.com>
2021-03-29 12:31:01 -07:00
Miss Islington (bot)
d914813a7a
bpo-35930: Raising an exception raised in a "future" instance will create reference cycles (GH-24995) ( #25070 )
...
Before: 0c14bc58/attachment-0002.png
After: 0c14bc58/attachment-0003.png
(cherry picked from commit 32430aadad
)
Co-authored-by: Jesús Cea <jcea@jcea.es>
Co-authored-by: Jesús Cea <jcea@jcea.es>
2021-03-29 19:53:54 +02:00
Miss Islington (bot)
5334605035
bpo-43433: Preserve query and fragment in the URL of the server in ServerProxy. (GH-25057)
...
(cherry picked from commit c1b073a630
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-03-29 07:43:02 -07:00
Miss Islington (bot)
ed753d9485
bpo-42988: Remove the pydoc getfile feature (GH-25015)
...
CVE-2021-3426: Remove the "getfile" feature of the pydoc module which
could be abused to read arbitrary files on the disk (directory
traversal vulnerability). Moreover, even source code of Python
modules can contain sensitive data like passwords. Vulnerability
reported by David Schwörer.
(cherry picked from commit 9b999479c0
)
Co-authored-by: Victor Stinner <vstinner@python.org>
2021-03-29 06:08:00 -07:00
Miss Islington (bot)
9a8e078024
bpo-31907: [doc] clarify that str.format() does not support arbitrary expressions (GH-25053) (GH-25055)
...
(cherry picked from commit fb1d01b963
)
Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
2021-03-28 17:05:07 -04:00
Miss Islington (bot)
138e039ff9
bpo-43644: Add docs for importlib.resources.as_file. (GH-25048)
...
(cherry picked from commit af50c84643
)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
2021-03-27 17:48:53 -07:00
Christian Heimes
064bc07f24
[3.9] bpo-43617: Check autoconf-archive package in configure.ac (GH-25016) (GH-25034)
...
Signed-off-by: Christian Heimes <christian@python.org>.
(cherry picked from commit 5d6e8c1c1a
)
Co-authored-by: Christian Heimes <christian@python.org>
2021-03-27 22:47:00 +01:00