| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
(cherry picked from commit 300dd552b15825abfe0e367ac14cec4c3e050dbc)
|
|
|
|
|
|
|
| |
* Fix incorrect links.
* Remove redundant links.
* Add signatures and index entries for gettext related
functions in the locale module.
(cherry picked from commit c02a1f4ad8fcdbffad2911c5a31c71a17a89d713)
|
|
|
|
|
| |
_thread (GH-3782) (#3783)
(cherry picked from commit 236329ed9fee01edb85d698d30682e304439d198)
|
|
|
| |
(cherry picked from commit 49392c63a243052c8013bef80d35202bb6d7c404)
|
|
|
| |
(cherry picked from commit 0bf287b6e0a42877b06cbea5d0fe6474d8061caa)
|
|
|
|
|
| |
The dunderless functions are preferred; dunder are retained for back compatilibity.
Patch by Sanket Dasgupta.
(cherry picked from commit 5b9299d8c72aeadccadd77e4b8132094ba9a1f96)
|
|
|
|
|
|
|
| |
(GH-3667) (#3719)
Defer removing old behavior to 3.8.
Document new feature of selection_set() and friends.
(cherry picked from commit 2fad10235460ac394cc8b869c41f47aba3d63594)
|
|
|
|
| |
Mention that ``NewType`` can derive from another ``NewType``.
(cherry picked from commit 039b25d8fd21f8d5d9e3cb536402d952cf068dc1)
|
|
|
| |
(cherry picked from commit aecc08ac3a14a73aa353655bb65ff8d965e935a0)
|
|
|
|
|
|
|
|
| |
Previously ensurepip would always report success, even if the
pip installation failed.
(cherry picked from commit 9adda0cdf89432386b7a04444a6199b580d287a1)
* Update version changed notice for backport
|
|
|
| |
(cherry picked from commit 19e4d9346db7fb65845b98a9cb9caacaaac8a81a)
|
|
|
|
|
| |
'Strip trailing whitespace' is not limited to spaces. Wording caters to beginners who
do know know the meaning of 'whitespace'. Multiline string literals are not skipped.
(cherry picked from commit ff70289)
|
|
|
|
|
|
| |
The `blake2b` function does not take the `data` keyword argument.
The hex digest returned by sign was a string, whereas compare_digest expects bytes-like objects.
Typo fix: compare_digesty -> compare_digest
(cherry picked from commit 312ffead1eb272535e021e248b5d74ab04b2e72e)
|
|
|
|
|
|
| |
(GH-3525)
Make it clear that Ellipsis tokens also have type attribute set to token.OP..
(cherry picked from commit 5f8fbf917ebf2398aa75a1f271617e2e50ab7c88)
|
|
|
|
|
| |
IDLE calls tcl/tk update in the background in order to make live
interaction and experimentatin with tkinter applications much easier.
(cherry picked from commit 98758bc67fb39b74bab368bef8ff3b34554c77c8)
|
|
|
|
| |
As needed for the conversion of extensions to features.
(cherry picked from commit adb4cd2a2a59019ac6955e0fd531c9fec9258962)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-2494) (#3487)
About 10 IDLE features were implemented as supposedly optional
extensions. Their different behavior could be confusing or worse for
users and not good for maintenance. Hence the conversion.
The main difference for users is that user configurable key bindings
for builtin features are now handled uniformly. Now, editing a binding
in a keyset only affects its value in the keyset. All bindings are
defined together in the system-specific default keysets in config-
extensions.def. All custom keysets are saved as a whole in config-
extension.cfg. All take effect as soon as one clicks Apply or Ok.
The affected events are '<<force-open-completions>>', '<<expand-word>>',
'<<force-open-calltip>>', '<<flash-paren>>', '<<format-paragraph>>',
'<<run-module>>', '<<check-module>>', and '<<zoom-height>>'. Any
(global) customizations made before 3.6.3 will not affect their keyset-
specific customization after 3.6.3. and vice versa.
Inital patch by Charles Wohlganger, revised by Terry Jan Reedy.
(cherry picked from commit 58fc71c)
|
|
|
|
|
| |
Thanks Arfrever!
Signed-off-by: Christian Heimes <christian@python.org>
|
|
|
|
| |
getstate and setstate are instance methods, same as encode and reset.
(cherry picked from commit 30644dee0c14af6c1c61d44166a97cec8245300b)
|
|
|
|
|
| |
Patch by Paul.j3. Includes an unrelated but useful addition to the
optparse porting section.
(cherry picked from commit 0c7983e4adf9604d0ac93757a45d14be06c27696)
|
|
|
| |
(cherry picked from commit a7fbad96c8631070c1db137635d5bdd5e2aaac50)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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-3429)
Also provide a solution if the user wants to keep multiple blank lines.
(cherry picked from commit 397c467c49385023de36411194d381ac993bae1a)
|
|
|
|
| |
Use base class rather than metaclass in examples.
(cherry picked from commit 122e88a8354e3f75aeaf6211232dac88ac296d54)
|
|
|
|
|
|
| |
The `subprocess.getstatusoutput` API was inadvertently changed
in Python 3.3.4. Document the change, it is too late to undo the
API change now as it has shipped in many stable releases.
(cherry picked from commit 738b7d9766e1a794aaaabfba0d515a467ba833ca)
|
|
|
|
| |
Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit ad0ffa033ea79f7c7cb14b1b1cc10888ea9e9913)
|
|
|
| |
(cherry picked from commit 60dbed18509f99af8eaa685d9736f954b8d621fb)
|
|
|
| |
(cherry picked from commit c9d6dbc2900ace9564b8f67e63617be747355c6b)
|
|
|
|
| |
This comment hasn't been true since Python 3.0.
(cherry picked from commit b84efddb9a87d515029bac943812b66eb3486eb5)
|
|
|
|
|
| |
- Link to the regular expressions object documentation
- Clarify that it can be used with more than the two methods currently stated.
(cherry picked from commit ed94a8b2851914bcda3a77b28b25517b8baa91e6)
|
|
|
| |
(cherry picked from commit 143be366295038b36fc32c44b8e1b48a375eab56)
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
"not only is it .." is the correct form, as opposed to:
"not only it is ..."
(cherry picked from commit 87c3c5de731af18a271f4559cd69ccb8d050208f)
|
|
|
|
| |
Initial patch by Peter Thomassen.
(cherry picked from commit caa1280)
|
|
|
| |
(cherry picked from commit 6fcb69dad579cc9a7dc15eabead43b6c37464f8c)
|
|
|
| |
(cherry picked from commit 627d2c8e8dc9cfe6c1cdfd9b34899eb30b600a88)
|
|
|
| |
(cherry picked from commit 67ba4fa467ffff825d6a0c0a21cc54ff1df2ed1b)
|
|
|
| |
(cherry picked from commit fff2a21057b98732562098e3bdd65980551f0135)
|
|
|
| |
backport
|
|
|
|
|
| |
Improve the description of the high and low parameters for set_write_buffer_limits.
Also fixed a small grammatical issue.
(cherry picked from commit 5200a7c7f9ea65a96330c5f276f4acc6ec70854e)
|
| |
|
|
|
|
| |
When a class and its subclass are present, the latter is skipped.
(cherry picked from commit 6580c19bbbe7bc9bc0884699afd69184f523b32e)
|
|
|
|
|
|
|
|
| |
module. (GH-2266) (#2297)
They now always return bytes.
Updated the gettext documentation..
(cherry picked from commit 26cb4657bcc9a7adffa95798ececb588dddfeadb)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-2253)
Partially clarify the subprocess convenience API documentation by
explicitly listing the `cwd` parameter in their abbreviated signatures.
While this has been merged as an improvement, it doesn't fully
resolve the issue, as the `cwd` should also be covered in the
"Frequently Used Arguments" section, and the fact these APIs
pass unlisted keyword arguments down to the lower level APIs
is currently still unclear.
(cherry picked from commit 368cf1d20630498ca7939069a05d744fabb570aa)
|
|
|
| |
(cherry picked from commit 116dd5eba60a940b35db6aaf4e8c998ac30ad440)
|
|
|
|
|
| |
(GH-2195)
(cherry picked from commit 184bd82ba8106785ba22f0d2477dbd08bef821fb)
|
|
|
|
| |
When IDLE fail to start because the socket connection fails, direct people to a new subsection of the IDLE doc listing various causes and remedies.
(cherry picked from commit 188aedf8bb623d41302e10503268b0852ea91134)
|
|
|
| |
(cherry picked from commit d79c1d4a9406384f10a37f26a7515ce79f9fdd78)
|
|
|
| |
(cherry picked from commit dc980dfbcfce4695ccde056c3983160ba97b5a36)
|
|
|
|
|
|
|
|
| |
* clarify recv() and send() on SSLObject (#2100)
SSLObject has recv() and send(), but they don't do any network io.
* remove extra word (#2101)
|