| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
| |
Previously ensurepip would always report success, even if the
pip installation failed.
(cherry picked from commit 9adda0cdf89432386b7a04444a6199b580d287a1)
|
| |
|
|
| |
Use prefixed macro names for the `authoraddress` function, add T2A to the font encoding in LaTeX sources to support Cyrillic characters in the PDF documentation, and replace the deprecated `font_size` config option with `pointsize`.
(cherry picked from commit da9b4cfb488119f2493a762fcb1d85c58494f51d)
|
| |
|
| |
(cherry picked from commit 19e4d93)
|
| |
|
| |
(cherry picked from commit da67e0d644bd3185efdaa4d15cc2ac0828ca83f9)
|
| |
|
|
|
| |
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)
|
| |
|
|
| |
This also eliminats a dead link to Weave in the process..
(cherry picked from commit 78ffd6cffacb04bea61bb0ef850d05859ab2dbe4)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-1783) (GH-3306)
The Windows build now depends on Python 3.6 to fetch externals, but it
will be downloaded via NuGet (which is downloaded via PowerShell) if it
is not available via `py -3.6`. This means the only thing that must be
installed on a modern Windows box to do a full build of CPython with all
extensions is Visual Studio.
Cherry-picked from 51599e2bdd10ab77212a7cbb41a13ea70ee13da8, parts of 40a23e88994aca92c83c8e84ab8b8cdc11d7ec54, parts of 68d663cf85d1ac5eaf83482eed39c0a6f8093601, d5cd21d75a27a377f2f9c8370fd8e8c7efaeefb1, and possibly others that I've missed.
Also:
* Rename db -> bsddb for disambiguity
* Update sqlite3 to 3.14.2.0 since it's the version we use on 3.x, and it's simpler to just use it than to also upload the old version to cpython-source-deps
* Add PCbuild/*.ilk to .gitignore
|
| |
|
| |
(cherry picked from commit a6296d34a478b4f697ea9db798146195075d496c)
|
| |
|
|
|
|
|
| |
The `Show Source` was broken because of a change made in sphinx 1.5.1
In Sphinx 1.4.9, the sourcename was "index.txt".
In Sphinx 1.5.1+, it is now "index.rst.txt".
(cherry picked from commit b9ff498793611d1c6a9b99df464812931a1e2d69)
|
| |
|
|
| |
Change the option for `Français` into `French` to be consistent with the other language selections that are already in English.
(cherry picked from commit b616b972999cdd5fe54ef8a43c131a27ca538dee)
|
| |
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#3051) (#3081)
* bpo-31159: fix language switch regex on unknown yet built languages. (#3039)
This fix a regex issue (a missing non-matching group around an 'or'
list) and the specific possible case where a translation is built but
not yet in known by the picker, but not explicitly listing possible
languages in the regex.
(cherry picked from commit 122081deef86174beee965be1207fa46ea23533d)
* bpo-31149: Doc: Add Japanese to the language switcher. (#3028)
(cherry picked from commit c82b7f332aff606af6c9c163da75f1e86514125e)
(cherry picked from commit e8e7fba0b24582959feca9c31f2a72fc0251f83d)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Doc: Indicate the language
* Renaming version_switcher to switchers (to add language_switcher).
* Adding language switch.
* Doc switchers: Enhance readability of regex parsing versions.
* Doc switchers: Desambiguate the need of a replace(/\/+$/g, '') by proper naming.
* Doc switchers: py3k can't reach js, it's redirected server-side by nginx.
* Doc switchers: Examples matching actual regexes.
* Doc switchers: Better fallback on unexisting translated version.
(cherry picked from commit dff9b5f9d62aa0b23f8a255867d09d11890efd1b)
|
| |
|
|
|
|
| |
Mention that it warns about features that are significantly changed in Python 3
and can’t be detected using static code analysis.
Link to Porting Python 2 Code to Python 3 doc
|
| |
|
| |
(cherry picked from commit 6fcb69dad579cc9a7dc15eabead43b6c37464f8c)
|
| |
|
| |
Mention that TestCase.assertMultiLineEqual method is used by default when comparing Unicode string when comparing Unicode strings with assertEqual.
|
| |
|
|
|
|
|
|
| |
Adds a new 'Pip not installed' section that covers
running `ensurepip` manually, and also references
the relevant section of the Python Packaging User
Guide.
(cherry picked from commit b3527bfefd7a0188d43a2d7515ac6addd97a8202)
|
| |
|
| |
(cherry picked from commit fff2a21057b98732562098e3bdd65980551f0135)
|
| | |
|
| |
|
| |
(cherry picked from commit 50f58163a69abe2f35e91044d1df165ee7bdbb42)
|
| | |
|
| |
|
| |
Replace `dumps` with `json.dumps`
|
| |
|
|
|
|
|
|
| |
FXpy doesn't have a Python 3 port and it only
supports Python 2.2 and older versions.
Reported by Alex Walters on docs@p.o.
(cherry picked from commit d3ed2877a798d07df75422afe136b4727e500c99)
|
| |
|
| |
Oh, this is my fault too. I missed this mistake. Thank you for the correction.
|
| | |
|
| |
|
|
| |
Clarify that the break statement breaks out of the innermost enclosing for or while loop.
(cherry picked from commit 36fc896740319d2c03aa2054a90a999c162517ef)
|
| |
|
|
|
| |
(GH-2340)
(cherry picked from commit b066edfb1b268e90ea11f45dd1827f46d7ceec88)
|
| | |
|
| |
|
|
|
| |
(GH-2196)
(cherry picked from commit 184bd82ba8106785ba22f0d2477dbd08bef821fb)
|
| |
|
|
| |
Replace platform with platforms.
(cherry picked from commit 4ebf03d109f827c91a23256a447c1d74a203dfee)
|
| |
|
| |
(cherry picked from commit d79c1d4a9406384f10a37f26a7515ce79f9fdd78)
|
| |
|
| |
(cherry picked from commit dc980dfbcfce4695ccde056c3983160ba97b5a36)
|
| |
|
|
| |
import json before using json module
(cherry picked from commit 1dbce04d0e3e93b715eb0d8024da396361759d16)
|
| |
|
| |
Also updates checked-in line endings in several files.
|
| |
|
|
| |
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)
|
| |
|
| |
(cherry picked from commit f34c6850203a2406c4950af7a9c8a134145df4ea)
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
* 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)
|