| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Previously ensurepip would always report success, even if the
pip installation failed.
(cherry picked from commit 9adda0cdf89432386b7a04444a6199b580d287a1)
|
|
|
| |
(cherry picked from commit 19e4d93)
|
|
|
|
|
| |
Patch by Paul.j3. Includes an unrelated but useful addition to the
optparse porting section.
(cherry picked from commit 0c7983e4adf9604d0ac93757a45d14be06c27696)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bpo-29136: Add TLS 1.3 support
TLS 1.3 introduces a new, distinct set of cipher suites. The TLS 1.3
cipher suites don't overlap with cipher suites from TLS 1.2 and earlier.
Since Python sets its own set of permitted ciphers, TLS 1.3 handshake
will fail as soon as OpenSSL 1.1.1 is released. Let's enable the common
AES-GCM and ChaCha20 suites.
Additionally the flag OP_NO_TLSv1_3 is added. It defaults to 0 (no op) with
OpenSSL prior to 1.1.1. This allows applications to opt-out from TLS 1.3
now.
Signed-off-by: Christian Heimes <christian@python.org>.
(cherry picked from commit cb5b68abdeb1b1d56c581d5b4d647018703d61e3)
|
|
|
|
|
|
| |
newlines. (GH-3272) (GH-3428)
Also provide a solution if the user wants to keep multiple blank lines.
(cherry picked from commit 397c467c49385023de36411194d381ac993bae1a)
|
|
|
|
| |
Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit ad0ffa033ea79f7c7cb14b1b1cc10888ea9e9913)
|
|
|
|
|
|
|
|
|
|
|
| |
OpenSSL 1.1.0 to 1.1.0e aborted the handshake when server and client
could not agree on a protocol using ALPN. OpenSSL 1.1.0f changed that.
The most recent version now behaves like OpenSSL 1.0.2 again. The ALPN
callback can pretend to not been set.
See https://github.com/openssl/openssl/pull/3158 for more details
Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit a5c1bab352671e043645163ca50c5211aa657acd)
|
|
|
| |
(cherry picked from commit 6fcb69dad579cc9a7dc15eabead43b6c37464f8c)
|
|
|
| |
Mention that TestCase.assertMultiLineEqual method is used by default when comparing Unicode string when comparing Unicode strings with assertEqual.
|
|
|
| |
(cherry picked from commit fff2a21057b98732562098e3bdd65980551f0135)
|
| |
|
|
|
| |
Replace `dumps` with `json.dumps`
|
|
|
| |
Oh, this is my fault too. I missed this mistake. Thank you for the correction.
|
| |
|
| |
|
|
|
|
|
| |
(GH-2196)
(cherry picked from commit 184bd82ba8106785ba22f0d2477dbd08bef821fb)
|
|
|
| |
(cherry picked from commit d79c1d4a9406384f10a37f26a7515ce79f9fdd78)
|
|
|
| |
(cherry picked from commit dc980dfbcfce4695ccde056c3983160ba97b5a36)
|
|
|
|
| |
Mention that fnmatchcase does not call normcase, and fnmatch does.
(cherry picked from commit e5f6e86c48c7b2eb9e1d6a0e72867b4d8b4720f3)
|
|
|
| |
(cherry picked from commit 0737ee20671d60802a7ef40f653fe449f1921de0)
|
|
|
|
|
|
|
|
| |
The "iterable iterable" phrasing created confusion between the term
reference and the parameter name.
This simplifies the phrasing to just use the parameter name
without linking directly to the term definition..
(cherry picked from commit 08e2f355d04d3cbea5751ce1275306ee3f569b32)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Use explicit numbering for footnotes referred by explicit number.
* Fix literal strings formatting in howto/urllib2.rst.
* Add `:noindex:` to duplicated definition of list.
* Update susp-ignored.csv for reference/expressions.rst.
(cherry picked from commit d97b7dc94b19063f0589d401bdc4aaadc7030762)
|
|
|
|
|
|
|
| |
Replace
File "<stdin>", line 1, in ?
with
File "<stdin>", line 1, in <module>.
(cherry picked from commit 8856940cf2e82cb17db2b684cd5732fe658605ca)
|
|
|
|
|
|
| |
To unify running tests in Python 2.7 and Python 3, the test
package can be run as a script. This is equivalent to running the
test.regrtest module as a script.
|
|
|
|
|
|
|
|
| |
To simplify backports from Python 3, the test.test_support module
was converted into a package and renamed to test.support. The
test.script_helper module was moved into the test.support package.
Names test.test_support and test.script_helper are left as aliases to
test.support and test.support.script_helper.
|
|
|
| |
(cherry picked from commit d9af73330f46d79cc0c56d369f65ebeec3cb5334)
|
| |
|
| |
|
|
|
|
|
| |
And fix the parameter name.
(cherry picked from commit 8fc7bc2b7631ee819ee614e47b6f44bacebe1574)
|
|
|
| |
(cherry picked from commit 01fa9ae5460b00bf1ced500c797176ebd3fb060d)
|
|
|
|
|
|
|
|
| |
The reference to administrative data was confusing to readers,
so this simplifies the note to explain that deep copying may copy
more then you intended, such as data that you expected to be
shared between copies.
Patch by Sanyam Khurana.
|
| |
|
| |
|
| |
|
|
|
|
| |
From Shifted Dxit -> Shifted Exit in Doc/library/curses.rst
(cherry picked from commit 64508780d72769e4c7afc67a511c057261c578f6)
|
| |
|
|
|
| |
see [bpo-29772](http://bugs.python.org/issue29772)
|
|
|
| |
(cherry picked from commit 8eb531d9db0861e14222445fcaebe1a373bba170)
|
|
|
| |
(cherry picked from commit ed6795e46f7653e23b862efad240a93453e7df97)
|
|
|
|
| |
There were some grammatical errors in weakref.WeakValueDictionary
documentation.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Patch by Serhiy Storchaka.
|