| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
(GH-17311) (GH-17570)
(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.
(cherry picked from commit 0381ea79ac2da03179c8512c581cac588b69cff9)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
| |
(GH-17366) (#17379)
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 f8a6316778faff3991144c3aec4fa92d7b30a72b)
Co-authored-by: Sanchit Khurana <54467174+GeniusLearner@users.noreply.github.com>
|
| |
|
|
|
| |
(cherry picked from commit 386d00cc341b549800776b906bfc6b20ea40c7db)
Co-authored-by: David Coles <coles.david@gmail.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>
|
| |
|
|
|
|
|
|
| |
https://bugs.python.org/issue36277
Automerge-Triggered-By: @csabella
(cherry picked from commit 9391f6c3ef24f7962c534c42ccb792debdbef509)
Co-authored-by: Dave Nguyen <dv@dvnguyen.com>
|
| |
|
|
|
|
| |
`~` 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 04c79d6088a22d467f04dbe438050c26de22fa85)
Co-authored-by: Raymond Hettinger <rhettinger@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
|
| |
|
|
|
| |
(cherry picked from commit 98480cef9dba04794bd61c7e7cca643d384c8c35)
Co-authored-by: Jonathan Scholbach <j.scholbach@posteo.de>
|
| |
|
|
|
| |
(cherry picked from commit 56698d57691af2272f695f8c17c835ed99545cde)
Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
|
| |
|
|
|
|
| |
Change the url from docs.python-requests.org to requests.readthedocs.io
(cherry picked from commit 112f2b805bc83429e8a66a54d088bbefc921abb7)
Co-authored-by: Simon Legner <Simon.Legner@gmail.com>
|
| |
|
|
|
| |
Also fix some other formatting.
(cherry picked from commit e835b31d2b212c3c7820364398979cae2a9740b2)
|
| |
|
|
|
|
|
| |
(GH-16950) (GH-17000)
Replace all *NULL* with ``NULL``.
(cherry picked from commit 25fc088607c855060ed142296dc1bd0125fad1af)
|
| |
|
|
|
|
| |
Update open() documentation.
(cherry picked from commit 1d2862a323ae1387e306942253b1e487018e2b7f)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
| |
|
|
|
|
| |
The Nose package is no longer maintained.
(cherry picked from commit 88eeda6311a8e3bf57136da5f73c70bc91ad79f3)
Co-authored-by: Jon Dufresne <jon.dufresne@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
(GH-16743)
Metaclass was removed in Python 3.7 (there is already a `versionchanged` item about this).
https://bugs.python.org/issue28556
(cherry picked from commit 8144095707f87bdee6f3e1bbb15283ea61381be6)
Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
|
| | |
|
| |
|
|
|
|
|
|
|
| |
PR GH-4906 changed the typing.Generic class hierarchy, leaving an
outdated comment in the library reference. User-defined Generic ABCs now
must get a abc.ABCMeta metaclass from something other than typing.Generic
inheritance.
(cherry picked from commit d47f0dd2e85ce032aebfedbde18cdb2e728fa79f)
Co-authored-by: M. Eric Irrgang <mei2n@virginia.edu>
|
| |
|
|
|
|
|
|
|
| |
Bump the removal to 3.9, indicate collections.abc available since 3.3,
replace version-changed directive to deprecated-removed.
https://bugs.python.org/issue36953
(cherry picked from commit eea47e09394dfb64d3a59a601d947d25bb1bdc96)
Co-authored-by: Matthias Bussonnier <mbussonnier@ucmerced.edu>
|
| |
|
|
|
|
|
|
|
|
| |
documentation. (GH-16442) (GH-16647)
Prior to 3.7, re.escape escaped many characters that don't have
special meaning in Python, but that use to require escaping in other
tools and languages. This commit aims to make it clear which characters
were, but are no longer escaped.
(cherry picked from commit 15ae75d660befe643ed42eb2707a557cea97256c)
|
| |
|
|
|
|
|
|
|
|
| |
The `required` argument to `argparse.add_subparsers` was added in GH-3027. This PR specifies the earliest version of Python where it is available.
https://bugs.python.org/issue26510
Automerge-Triggered-By: @merwok
(cherry picked from commit 9e71917e0290972f65711f75510078f799cf0b59)
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
|
| |
|
|
|
|
|
| |
(GH-16577)
(cherry picked from commit 3142c667b50254daaa28f22c79bdda177136bd03)
Co-authored-by: Ashley Whetter <AWhetter@users.noreply.github.com>
|
| |
|
|
|
| |
(cherry picked from commit 891e9e3b44c99d643dc309a4e63082451271b136)
Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit e407013089259e4c0b271703e1975bbcd578a2d5)
Co-authored-by: Kyle Stanley <aeros167@gmail.com>
|
| |
|
|
|
|
|
| |
(GH-16271) (GH-16413)
(cherry picked from commit 5d326abf2cb4891b78d9319a81bffb3974b5b745)
Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
|
| |
|
|
|
|
|
|
| |
(GH-16392)
Improvement suggested by Géry Ogam.
(cherry picked from commit 15ccc4fac09b866d61b069c6c136aabfe4bac09c)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
| |
Add docs about return and raise exception on asyncio.run
https://bugs.python.org/issue38260
Automerge-Triggered-By: @asvetlov
(cherry picked from commit 17deb16883fa574a86e42551cc37f044182347ad)
Co-authored-by: Emmanuel Arias <emmanuelarias30@gmail.com>
|
| |
|
|
|
|
|
|
| |
Mention frame.f_trace in sys.settrace docs, as well as the fact you still
need to call `sys.settrace` to enable the tracing machinery before setting
`frame.f_trace` will have any effect.
(cherry picked from commit 9c2682efc69568e1b42a0c1759489d6f2e3b30ea)
Co-authored-by: Ram Rachum <ram@rachum.com>
|
| |
|
|
|
| |
(cherry picked from commit 062cfe3b11c61d03ccc2915e360f9b0d80e23642)
Co-authored-by: Prateek Nayak <45075669+Kriyszig@users.noreply.github.com>
|
| |
|
|
|
| |
(cherry picked from commit 3171d67a6aaf7fe88685b3a80644f0284686ef63)
Co-authored-by: toonarmycaptain <toonarmycaptain@hotmail.com>
|
| |
|
|
|
|
|
| |
dump_traceback_later() and cancel_dump_traceback_later() functions of
the faulthandler module are always available since Python 3.7.
(cherry picked from commit 064e1e384120635330493abf300b1113eadd904c)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
|
| |
|
|
|
| |
(cherry picked from commit 219fb9d65ef7e5363eccc9dde0988bb085db1c86)
Co-authored-by: Jörn Heissler <joernheissler@users.noreply.github.com>
|
| |
|
|
|
|
|
|
| |
See https://bugs.python.org/issue38192 .
https://bugs.python.org/issue38192
(cherry picked from commit 5d359cc62e0244e1fd8d17146a4135079d6843bf)
Co-authored-by: Hrvoje Nikšić <hniksic@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit 63dedef48bba9d54f13b958237696505fa665796)
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
|
| |
|
|
|
|
| |
This PR replaces the old note mentioning that `typing` is a provisional module with a new one mentioning types are not enforced at runtime. I am not sure if there was any official announcement about making `typing` non-provisional, but _de-facto_ no new features were added during Python 3.7, and no backwards incompatible changes were made except for few small things that were considered bugs.
(cherry picked from commit 81528ba2e81c39f4d6bca5b785e818c7d08b8501)
Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
|
| |
|
|
|
|
| |
https://bugs.python.org/issue38178
(cherry picked from commit c717c73fa33a2f3591442059eaf6e7a673e2c725)
Co-authored-by: Hrvoje Nikšić <hniksic@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit a26ace19bddea2d7a999a6de8286b3f27b132f35)
Co-authored-by: Anthony Sottile <asottile@umich.edu>
|
| |
|
|
|
| |
(cherry picked from commit d44542f9a231bf725ecd82eb640a672c759a8227)
Co-authored-by: bchhabra2490 <bchhabra2490@gmail.com>
|
| |
|
|
|
|
|
| |
(GH-11040)
(cherry picked from commit 967b84c913c7b09ae2fc86272cb9373415e2beaf)
Co-authored-by: Windson yang <wiwindson@outlook.com>
|
| |
|
|
|
|
|
|
| |
Prefer client or TLSv1_2 in examples
Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit 894d0f7d5542ee04556ec1bee8c58506f7c916d4)
Co-authored-by: Christian Heimes <christian@python.org>
|
| |
|
|
|
|
| |
* Edits for readability and grammar
(cherry picked from commit 362f5350eb5e2c7bfb0b0a8c306a2e128c3aee93)
Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
|
| |
|
|
| |
(GH-15962)
|
| |
|
|
|
|
|
|
| |
Reported by Hug Capella on docs@.
Automerge-Triggered-By: @matrixise
(cherry picked from commit 1fae844451b120b93880d9360f288c70e125520c)
Co-authored-by: Julien Palard <julien@palard.fr>
|