| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
bpo-31799: Make module.__spec__ more discoverable
(cherry picked from commit 191e3138200906e43cba9347177914325b54843f)
|
|
|
|
|
| |
(GH-3993)
(cherry picked from commit 1b9e76ed3a055a53ca67397e928e1b408461900b)
|
|
|
| |
(cherry picked from commit cd195e2a7ac5c9b2574d5462752b7939641de4a9)
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-3872)
Pattern `[a-z]` with `IGNORECASE` flag can match to some non-ASCII characters.
Straightforward solution for this is using `IGNORECASE | ASCII` flag.
But users may subclass `Template` and override only `idpattern`. So we want to
avoid changing `Template.flags`.
So this commit uses local flag `-i` for `idpattern` and change `[a-z]` to `[a-zA-Z]`.
(cherry picked from commit b22273ec5d1992b0cbe078b887427ae9977dfb78)
|
|
|
|
|
|
| |
Reported by John Gamboa on docs@p.o at
https://mail.python.org/pipermail/docs/2017-June/031942.html
(cherry picked from commit 925510449984399cf58711843ddfe2e8007c3878)
|
| |
|
| |
|
|
|
| |
(cherry picked from commit 0e61e67a57deb4abc677808201d7cf3c38138e02)
|
|
|
|
|
|
|
| |
* Separated functions and constants descriptions in sections.
* Added a note about the limitations of timezone constants.
* Removed redundant lists from the module docstring.
(cherry picked from commit 703ff381ffa946c23e7e25b0ae93a636a2607a40)
|
|
|
|
| |
Change the code example from using `get_history_length` to `get_current_history_length`.
(cherry picked from commit eeb5ffd54e56dd89a99c74eb512c36d62649cfec)
|
|
|
|
|
| |
(GH-3917)
(cherry picked from commit 28f713601d3ec80820e842dcb25a234093f1ff18)
|
|
|
| |
(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)
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| | |
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)
|
| | |
|
| |
| |
| |
| | |
Replace "restriction" with "restrictions".
(cherry picked from commit 8d59aca4a953b097a9b02b0ecafef840e4ac5855)
|
| |
| |
| |
| |
| | |
_thread (GH-3782) (#3783)
(cherry picked from commit 236329ed9fee01edb85d698d30682e304439d198)
|
| |
| |
| |
| |
| |
| |
| | |
(GH-3691) (GH-3754)
- Remove the second mention about the `u` prefix
- Remove the second mention about numeric literals do not include a sign
(cherry picked from commit 4a2d00cb4525fcb3209f04531472ba6a359ed418)
|
| |
| |
| | |
(cherry picked from commit 49392c63a243052c8013bef80d35202bb6d7c404)
|
| |
| |
| |
| |
| | |
methods (GH-3739) (#3742)
(cherry picked from commit 0d4497b9cae7942b7f731a6f99a73985c3fb4630)
|
| |
| |
| | |
(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)
|
| |
| |
| |
| | |
A `"` was missing from an `<a href>` tag.
(cherry picked from commit 8337239d792bc2098c592def5fc3af84c3b0dfd1)
|
| |
| |
| |
| |
| |
| |
| | |
(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)
|
| |
| |
| |
| | |
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)
|
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| |
| |
| |
| |
| | |
(GH-3633) (GH-3638)
(cherry picked from commit 9b47af65375fab9318e88ccb061394a36c8c6c33)
|
|/ |
|
|
|
|
| |
Shorten the comment to: "using integer format specifier"
(cherry picked from commit 63c591c0b0b57870a606e8edc59afe6264e7504d)
|
|
|
|
|
| |
Provide additional examples of using format specifiers in f-strings
Added examples for using integer and date format specifiers.
(cherry picked from commit f3618970690b08ed88e430ba8017859b4fafc3f9)
|
|
|
|
|
| |
(GH-3617) (GH-3618)
(cherry picked from commit 0ec8c4bd10dcfd8e580628868efdd3df91038898)
|
|
|
| |
(cherry picked from commit da67e0d644bd3185efdaa4d15cc2ac0828ca83f9)
|
|
|
|
|
| |
'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)
|
|
|
|
| |
Update the link from Misc/NEWS to Misc/NEWS.d
(cherry picked from commit 1b8f612e1800b6e58472113f4abe8ee7c31f4db7)
|
|
|
| |
(cherry picked from commit b8d1b9d7c697dd0401491b6d43047acbaf425f02)
|
|
|
|
|
|
| |
(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)
|