| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| | |
The dunderless functions are preferred; dunder are retained for back compatilibity.
Patch by Sanket Dasgupta.
(cherry picked from commit 5b9299d8c72aeadccadd77e4b8132094ba9a1f96)
|
| |
| |
| |
| |
| | |
bad __name__ global. (GH-3717) (#3730)
(cherry picked from commit 5d3e80021ab33360191eb0fbff34e0246c913884)
|
| |
| |
| |
| | |
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)
|
| |
| |
| |
| |
| | |
(GH-3712) (#3714)
(cherry picked from commit d6238a76c655e0feb13478505220dc9049f1682f)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Browser. (GH-3704) (#3710)
The original module-level class and method browser became a module
browser, with the addition of module-level functions, years ago.
Nested classes and functions were added yesterday. For back-
compatibility, the virtual event <<open-class-browser>>, which
appears on the Keys tab of the Settings dialog, is not changed.
Patch by Cheryl Sabella.
(cherry picked from commit cd99e79dc74c9d9dea83a5551d657c334b2cc6c9)
|
| |
| |
| |
| |
| |
| | |
(GH-3708) (#3709)
Order dependence caused leak-test buildbots to fail when running test_idle repeatedly.
(cherry picked from commit 99167f85b7373c8082b30a74211f009627bdedfa)
|
| |
| |
| | |
(cherry picked from commit aecc08ac3a14a73aa353655bb65ff8d965e935a0)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(GH-2573) (#3702)
Original patches for code and tests by Guilherme Polo and
Cheryl Sabella, respectively.
(cherry picked from commit 058de11360ea6816a6e978c7be0bcbea99a3f7da)
|
| |
| |
| |
| | |
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 a96c96f)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(#3681)
Fix a memory corruption in getpath.c due to mixed memory allocators
between Py_GetPath() and Py_SetPath().
The fix use the Raw allocator to mimic the windows version.
This patch should be used from python3.6 to the current version
for more details, see the bug report and
https://github.com/pyinstaller/pyinstaller/issues/2812
(cherry picked from commit 3d1e2ab584ed0175592b5be2a0bc98dc1723776a)
|
| |
| |
| | |
(cherry picked from commit 19e4d9346db7fb65845b98a9cb9caacaaac8a81a)
|
| |
| |
| |
| | |
This one line of Serhiy Storchacka's bpo-31500 patch for is needed for other issues.
(cherry picked from commit d6e2f26f3f7c62a4ddbf668027d3ba27cb0e1eca)
|
| |
| |
| |
| |
| | |
(GH-3633) (GH-3638)
(cherry picked from commit 9b47af65375fab9318e88ccb061394a36c8c6c33)
|
| | |
|
| |
| |
| |
| |
| | |
(GH-3614) (GH-3659)
(cherry picked from commit 132a7d7cdbc7cb89fa1c1f4e8192241c3d68f549)
|
| |
| |
| | |
(cherry picked from commit a92941ff12c1d554f42c05ed24621894a758b40f)
|
| |
| |
| |
| |
| | |
with a bad as_integer_ratio() method. (GH-3227) (#3654)
(cherry picked from commit 865e4b4f630e2ae91e61239258abb58b488f1d65)
|
| |
| |
| |
| |
| | |
spec.name is not a string. (GH-3257) (#3653)
(cherry picked from commit 9974e1bcf3d0cec9b38b39b39b7ec8a1ebd9ef54)
|
| | |
|
|\ \
| |/ |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
| |
* bpo-31499, xml.etree: Fix xmlparser_gc_clear() crash
xml.etree: xmlparser_gc_clear() now sets self.parser to NULL to prevent a
crash in xmlparser_dealloc() if xmlparser_gc_clear() was called previously
by the garbage collector, because the parser was part of a reference cycle.
Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit e727d41ffcd91b21ce82026ec8c8381d34a16209)
|
|
|
| |
(cherry picked from commit 55679e0ec76ee3b30ca609948f47bb02a8e0a078)
|
|
|
|
|
|
| |
(GH-3634) (#3636)
This reverses a never-released regression resulting from bpo-31287.
(cherry picked from commit 0efc7c67a2f8a184e93f9a491305c81ef2e24250)
|
|
|
|
| |
Shorten the comment to: "using integer format specifier"
(cherry picked from commit 63c591c0b0b57870a606e8edc59afe6264e7504d)
|
|
|
|
|
|
|
| |
(#3623)
Canceling timers prevents a warning message when test_idle completes.
(This is the minimum fix needed before upcoming releases.)
(cherry picked from commit a6bb313c70f8619e6dc4af5cef7d73fa3bbd59ca)
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
(GH-3612) (#3613)
When apply ConfigDialog changes, call .reload on each class with non-key options.
Change ParenMatch so that updates affect current instances.
(cherry picked from commit 5777ecc438790f3d324d52f2ccdad56e667e0cb3)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bpo-31234: Join threads in tests (#3572)
Call thread.join() on threads to prevent the "dangling threads"
warning.
(cherry picked from commit 18e95b4176256f100429a806d0455406df98f984)
* bpo-31234: Join threads in test_hashlib (#3573)
* bpo-31234: Join threads in test_hashlib
Use thread.join() to wait until the parallel hash tasks complete
rather than using events. Calling thread.join() prevent "dangling
thread" warnings.
* test_hashlib: minor PEP 8 coding style fixes
(cherry picked from commit 8dcf22f442320e4c1a5408e67b4c9002ad105f17)
* bpo-31234: Join threads in test_threading (#3579)
Call thread.join() to prevent the "dangling thread" warning.
(cherry picked from commit b8c7be2c523b012e57915182543d06657161057f)
* bpo-31234: Join threads in test_queue (#3586)
Call thread.join() to prevent the "dangling thread" warning.
(cherry picked from commit 167cbde50a88ec2a7d26b2cb9891d5e32bdfbfb5)
* bpo-31234: Join timers in test_threading (#3598)
Call the .join() method of threading.Timer timers to prevent the
"threading_cleanup() failed to cleanup 1 threads" warning.
(cherry picked from commit da3e5cf961f9bcc4bb376386cfe7a2865325086c)
|
|
|
|
|
| |
'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)
|
|
|
| |
Reproduction of Idlelib changes in Serhiy's 3.7 patch.
|
|
|
|
|
|
| |
(GH-3590) (#3591)
Enabled by default was a temporary expedient. The fix is to add a user override to enable.
(cherry picked from commit d384a81f557dab0b142bfcc9850bc68df46496ef)
|
|
|
|
|
|
|
|
| |
(GH-3545) (#3585)
* Avoid calling "PyObject_GetAttrString()" (and potentially executing user code) with a live exception set.
* Ignore only AttributeError on attribute lookups in ElementTree.XMLParser() and propagate all other exceptions.
(cherry picked from commit c8d8e15bfc24abeeaaf3d8be9073276b0c011cdf)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
modules (GH-3582) (#3583)
This makes the default behavior (without specifying `globalns` manually) more
predictable for users, finds the right globalns automatically.
Implementation for classes assumes has a `__module__` attribute and that module
is present in `sys.modules`. It does this recursively for all bases in the
MRO. For modules, the implementation just uses their `__dict__` directly.
This is backwards compatible, will just raise fewer exceptions in naive user
code.
Originally implemented and reviewed at https://github.com/python/typing/pull/470.
(cherry picked from commit f350a268a7071ce7d7a5bb86a9b1229782d4963b)
|
|
|
|
|
| |
case env has a bad keys() method. (GH-3580) (#3584)
(cherry picked from commit 0b3a87ef54a0112b74e8a1d8c6f87d10db4239ab)
|
|
|
|
|
|
|
| |
Some of the proxied methods use internal Logger state which isn't proxied,
causing failures if an adapter is applied to another adapter.
This commit fixes the issue, adds a new test for the use case.
(cherry picked from commit 1bbd482bcf6ea36bfe488f868810ffe110238ae1)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
Cast Py_buffer.len (Py_ssize_t, signed) to size_t (unsigned) to
prevent the following warning:
Modules/_ssl.c:3089:21: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare].
(cherry picked from commit 5a61559fb0776a9a0f08294ec9003cea13940430)
|
|
|
|
|
| |
of an exception with a bad __module__ attribute. (GH-3539) (#3556)
(cherry picked from commit f6e61df01536493f1280cd07639c7ff9bffb2cdc)
|
|
|
|
| |
struct (#3561)
|
|
|
|
| |
Update the link from Misc/NEWS to Misc/NEWS.d
(cherry picked from commit 1b8f612e1800b6e58472113f4abe8ee7c31f4db7)
|
|
|
|
|
| |
* Copy changes to typing from upstream repo
* Add NEWS entry
(cherry picked from commit 65bc62052fe5d550cb14c0033e8a2550618fb7b9)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bpo-31234: Fix dangling thread in test_ftp/poplib (#3540)
Explicitly clear the server attribute in test_ftplib and test_poplib
to prevent dangling thread.
(cherry picked from commit d403a29c0055de6b03ed5ae7a5c564e1c95a5950)
* bpo-31234: Fix dangling thread in test_ftplib (#3544)
Clear also self.server_thread attribute in TestTimeouts.tearDown().
(cherry picked from commit b157ce1e58b03988ce4340a55d0b856125833cc5)
|