| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
*reuse_address* parameter (GH-17595). (#17630)
(cherry picked from commit f501db2b93a9d3d840b6fb38d6bdda8bcc400d4a)
Co-authored-by: Kyle Stanley <aeros167@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
* bpo-39022, bpo-38594: Sync with importlib_metadata 1.3 including improved docs for custom finders and better serialization support in EntryPoints.
* 📜🤖 Added by blurb_it.
* Correct module reference
(cherry picked from commit b7a0109cd2bafaa21a4d50aad307e901c68f9156)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
|
| |
|
|
|
|
| |
Also allows winreg.CloseKey() to accept same types as other functions.
(cherry picked from commit ee17e3735634c5fe15a43f897707de8011618627)
Co-authored-by: Steve Dower <steve.dower@python.org>
|
| |
|
|
|
|
|
| |
deprecation warning (GH-17540)
(cherry picked from commit b8cbe74c3498c617f0e73fd0cdc5c07f2c532092)
Co-authored-by: Steve Dower <steve.dower@python.org>
|
| |
|
|
|
|
|
| |
(GH-17311) (#17529)
(cherry picked from commit ab513a38c98695f271e448fe2cb7c5e39eeaaaaf)
Co-authored-by: Kyle Stanley <aeros167@gmail.com>
|
| |
|
|
| |
array.array: Document that tostring() and fromstring() deprecated
aliases will be removed in Python 3.9.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
test_openssl_version now accepts version 3.0.0.
getpeercert() no longer returns IPv6 addresses with a trailing new line.
Signed-off-by: Christian Heimes <christian@python.org>
https://bugs.python.org/issue38820
(cherry picked from commit 2b7de6696bf2f924cd2cd9ff0a539c8aa37c6244)
Co-authored-by: Christian Heimes <christian@python.org>
https://bugs.python.org/issue38820
Automerge-Triggered-By: @tiran
|
| |
|
|
|
|
|
|
|
|
| |
Update docstring for `multiprocessing.Pool.map` to mention `pool.starmap()`.
Prev PR: https://github.com/python/cpython/pull/17367 @aeros
https://bugs.python.org/issue27873
(cherry picked from commit eb48a451e3844185b9a8751c9badffbddc89689d)
Co-authored-by: An Long <aisk@users.noreply.github.com>
|
| |
|
|
|
| |
(cherry picked from commit fdafa1d0ed0a8930b52ee81e57c931cc4d5c2388)
Co-authored-by: idomic <michael.ido@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit 575d0b46d122292ca6e0576a91265d7abf7cbc3d)
Co-authored-by: Ofek Lev <ofekmeister@gmail.com>
|
| |
|
| |
(cherry picked from commit f25875af425a3480e557aaedf49c3bb867bcbd5d)
|
| |
|
|
|
| |
are invoked (GH-17392)
Also fixes some potential segfaults in unraisable hook handling.
|
| | |
|
| |
|
|
|
| |
(cherry picked from commit 02519f75d15b063914a11351da30178ca4ceb54b)
Co-authored-by: Tal Einat <taleinat+github@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
SpooledTemporaryFile.rollback() might cause data corruption
when it is in text mode.
Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit ea9835c5d154ab6a54eed627958473b6768b28cc)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
|
| |
|
|
|
|
|
| |
__set_name__ (GH-17364)
(cherry picked from commit 1bddf890e595a865414645c6041733043c4081f8)
Co-authored-by: Florian Dahlitz <f2dahlitz@freenet.de>
|
| |
|
|
|
|
| |
Extra newlines are removed at the end of non-shell files. If the file only has newlines after stripping other trailing whitespace, all are removed, as is done by patchcheck.py.
(cherry picked from commit 6bf644ec82f14cceae68278dc35bafb00875efae)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
|
|
|
| |
(cherry picked from commit e563a155be60fc0757914f87c8138f10de00bb16)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
|
|
|
| |
(cherry picked from commit 386d00cc341b549800776b906bfc6b20ea40c7db)
Co-authored-by: David Coles <coles.david@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit f8a6316778faff3991144c3aec4fa92d7b30a72b)
Co-authored-by: Sanchit Khurana <54467174+GeniusLearner@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
| |
The Y2K reference is not needed as it only points out that Python's use
of C standard functions doesn't generally suffer from Y2K issues; the
point regarding conventions for conversion of 2-digit years in
:func:`strptime` is still valid.
(cherry picked from commit 42bc60ead39c7be9f6bb7329977826e962f601eb)
Co-authored-by: Callum Ward <wards.callum@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit 65444cf7fe84d8ca1f9b51c7f5992210751e08bb)
Co-authored-by: Claudiu Popa <pcmanticore@gmail.com>
|
| |
|
|
|
|
|
| |
[3.8] (GH-17269) (#17304)
(cherry picked from commit 046442d02bcc6e848e71e93e47f6cde9e279e993)
Co-authored-by: Jason Fried <fried@fb.com>
|
| |
|
|
|
|
|
|
|
|
| |
This PR will make the following changes to the [_Built-in Functions_](https://docs.python.org/3/library/functions.html) chapter of the library documentation:
- improve hyperlinks in Sphinx roles (trailing 's' belong to hyperlinks).
Automerge-Triggered-By: @csabella
(cherry picked from commit d67279147ace3b63187e5d75a15c345264f39e85)
Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
|
| |
|
|
|
|
|
|
| |
https://bugs.python.org/issue36277
Automerge-Triggered-By: @csabella
(cherry picked from commit 9391f6c3ef24f7962c534c42ccb792debdbef509)
Co-authored-by: Dave Nguyen <dv@dvnguyen.com>
|
| |
|
|
|
|
| |
Automerge-Triggered-By: @csabella
(cherry picked from commit 6db2fb7c300ca79d5585f2ae524ff4ca2707a7b6)
Co-authored-by: Jules Lasne (jlasne) <jules.lasne@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
Fixed an incorrect sentence in Doc/c-api/mapping.rst I fell on
while translating the file.
skip issue
Automerge-Triggered-By: @csabella
(cherry picked from commit 06ca2a2be9374ac390e9407685ccce941ab9ffa2)
Co-authored-by: Aveheuzed <a.masson555@ntymail.com>
|
| |
|
|
|
|
| |
Automerge-Triggered-By: @csabella
(cherry picked from commit b1f160a236cb590b1c1a678ca5fc19d5c75dcd83)
Co-authored-by: Jules Lasne (jlasne) <jules.lasne@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit 00923c63995e34cdc25d699478f113de99a69df9)
Co-authored-by: Steve Dower <steve.dower@python.org>
|
| |
|
|
|
|
| |
`~` is now treated as an unreserved character (i.e. it doesn't get quoted), not a reserved one.
(cherry picked from commit f49f6baa6bf7916ac039194c24b59d2eff5b180a)
Co-authored-by: Роман Донченко <dpb@corrigendum.ru>
|
| |
|
| |
(cherry picked from commit 5383956583bb758f3828513bcdd011871f24a0e8)
|
| |
|
|
|
| |
(cherry picked from commit 04c79d6088a22d467f04dbe438050c26de22fa85)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
|
| |
|
|
|
| |
(cherry picked from commit 4544e78ec4558b75bf95e5b7dfc1b5bbb07ae5f0)
Co-authored-by: alclarks <57201106+alclarks@users.noreply.github.com>
|
| |
|
|
|
| |
(cherry picked from commit 0fe0b88d6eb597c9a929e14ad47a5a9bd99bfe53)
Co-authored-by: Jules Lasne (jlasne) <jules.lasne@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit 84f2528d4836f9e8f80f8354cb26341ef7ef0a1b)
Co-authored-by: HongWeipeng <961365124@qq.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Small docs update for [bpo-34651](https://bugs.python.org/issue34651).
Other references to fork (e.g. the PyOS.*Fork functions or discussions of fork() when embedding Python) point back to os.fork, so I don't think any other updates are needed.
https://bugs.python.org/issue38778
Automerge-Triggered-By: @ericsnowcurrently
(cherry picked from commit b22030073b9327a3aeccb69507694bce078192aa)
Co-authored-by: Phil Connell <pconnell@gmail.com>
|
| |
|
|
|
|
|
|
| |
The C-API docs are a bit sparse on the interplay between C `fork()` and the CPython runtime. This change adds some more information on the subject.
https://bugs.python.org/issue38816
(cherry picked from commit 73cdb0c6b2c3861e034004cdc57be5e726876078)
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit e8acc865a3f112b98417f676c897ca6ec2dac2c7)
Co-authored-by: Andrey Doroschenko <dorosch.github.io@yandex.ru>
|
| |
|
|
|
| |
(cherry picked from commit 2d56af7a94fe7ec0bdf3011652558ae1b889b4a8)
Co-authored-by: Shu <23287722+susan-shu-c@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
| |
* "Return true/false" is replaced with "Return ``True``/``False``"
if the function actually returns a bool.
* Fixed formatting of some True and False literals (now in monospace).
* Replaced "True/False" with "true/false" if it can be not only bool.
* Replaced some 1/0 with True/False if it corresponds the code.
* "Returns <bool>" is replaced with "Return <bool>".
(cherry picked from commit 138ccbb02216ca086047c3139857fb44f3dab1f9)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updates documentation around email.utils.parsedate_tz().
Currently, the documentation specifies that when a string without a is timezone passed to parsedate_tz(), the last tuple is returned as ```None```.
This is no longer true since Python 3.3
https://bugs.python.org/issue38421
(cherry picked from commit a12255d8def0c82560545e66c1be981a447751c3)
Co-authored-by: David K <dave@paddez.com>
https://bugs.python.org/issue38421
Automerge-Triggered-By: @encukou
|
| |
|
|
|
|
|
| |
(GH-17113)
(cherry picked from commit 733b9a308e3c49855888e2e12397ae56d831e780)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
|
| |
|
|
|
| |
(cherry picked from commit 98480cef9dba04794bd61c7e7cca643d384c8c35)
Co-authored-by: Jonathan Scholbach <j.scholbach@posteo.de>
|
| |
|
|
|
| |
(cherry picked from commit 7f460494d2309ace004a400bae8fc59134dc325c)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
|
| |
|
|
|
| |
(cherry picked from commit 56698d57691af2272f695f8c17c835ed99545cde)
Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
|
| |
|
|
|
|
|
| |
Fixed what seemed to be a weird phrasing.
(cherry picked from commit 5e01a6542a1beb552a17e16b71dc0ba9fc6adcfb)
Co-authored-by: Jules Lasne (jlasne) <jules.lasne@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-17026)
This was never intented to be called manually from PyInit_*.
Also, clarify PyState_RemoveModule return value.
(cherry picked from commit 9bc94eca0c69a551f928692364a99e9b67c4a45b)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
https://bugs.python.org/issue38159
Automerge-Triggered-By: @encukou
|
| |
|
|
|
| |
(cherry picked from commit 99b7701978d1fdc81e10c31d1ad8cce2c0c2d848)
Co-authored-by: Борис Верховский <boris.verk@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit 1cdadf414b9934bba9294efa1f4b8d97eef08434)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
|
| |
|
|
|
| |
(cherry picked from commit d0e0f5bf0c07ca025f54df21fd1df55ee430d9fc)
Co-authored-by: Dima Tisnek <dimaqq@gmail.com>
|