| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
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 efb560eee28b6b2418e1231573ca62574d6dc07b)
|
| |
| |
| |
| |
| |
| | |
shutdown (GH-3673) (#3856)
bpo-31516: current_thread() should not return a dummy thread at shutdown
(cherry picked from commit 1023dbbcb7f05e76053486ae7ef7f73b4cdc5398)
|
| |
| |
| | |
(cherry picked from commit e6f62f69f07892b993910ff03c9db3ffa5cb9ca5)
|
| |
| |
| |
| | |
Save a bit of code, plus non-tuples get converted anyway to tuples by tkinter for the tk call.
(cherry picked from commit 5961e7c156f90c7f9444ae95b9d3e55114ca2169)
|
| |
| |
| |
| |
| |
| |
| | |
Passing a widget instead of an flist with a root widget opens the option of
creating a browser frame that is only part of a window. Passing a full file
name instead of pieces assumed to come from a .py file opens the possibility
of browsing python files that do not end in .py.
(cherry picked from commit d6bb65f)
|
| |
| |
| |
| |
| | |
(GH-3839) (#3841)
(cherry picked from commit bfebfd8)
|
| |
| |
| |
| |
| | |
(#3837)
(cherry picked from commit f4ea642cb60556231e714089a79d3c59c202661e)
|
| |
| |
| |
| |
| | |
unicodedata.normalize(). (GH-3767) (#3836)
(cherry picked from commit 7dc46d8cf5854d9f4ce3271b29c21aea4872e8ad)
|
| |
| |
| |
| |
| |
| |
| |
| | |
`concurrent.futures.as_completed()` (GH-3830) (#3831)
This was possible before. GH-1560 introduced a regression after 3.6.2 got
released where only sequences were accepted now. This commit addresses this
problem.
(cherry picked from commit 574562c5ddb2f0429aab9af762442e6f9a3f26ab)
|
| |
| |
| |
| |
| |
| | |
(GH-3803) (#3829)
(forgot to remove it in GH-3219)
(cherry picked from commit 8b4ff53c440dfcde40fbeb02c5e666c85190528f)
|
| |
| |
| | |
(cherry picked from commit 90f1d989594f3340c5ffaa2cf9cef1876ac6bb89)
|
| |
| |
| |
| | |
Replace "restriction" with "restrictions".
(cherry picked from commit 8d59aca4a953b097a9b02b0ecafef840e4ac5855)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* init commit, with initial tests for from_param and fields __set__ and __get__, and some additions to from_buffer and from_buffer_copy
* added the rest of tests and patches. probably only a first draft.
* removed trailing spaces
* replace ctype with ctypes in error messages
* change back from ctypes instance to ctype instance
(cherry picked from commit 1bea762d9ec823544c530d567330a47f64d93d4f)
|
| |
| |
| |
| |
| |
| | |
(#3797)
bpo-31536: Avoid wholesale rebuild after `make regen-all`
|
| |
| |
| |
| |
| | |
has a bad __abs__() method. (GH-3596) (#3794)
(cherry picked from commit d780b2d588e68bd7047ef5d1f04e36da38b7a350)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
python-config.sh (GH-3769) (#3793)
Fix the logic in python-config.sh to avoid attempting to substitute
prefix in a variable that might have already been subject to
substitution. This e.g. happened if @exec_prefix@ was defined as
"${prefix}" (which is the default of the configure script) -- in which
case the exec_prefix_build variable was initialized with
already-subtituted prefix, and then another round of substitution was
performed which might have resulted in duplicate prefix.
To avoid that, rename the variables so that the variables matching
likely configure names (prefix, exec_prefix) retain their original
values and a '_real' suffix is used for the real values of prefix.
Furthermore, replace the unnecessary prefix and exec_prefix
substitutions with direct prefix_real references since the sed
always replaced the whole string anyway by design.
(cherry picked from commit 14086cfc5eed8c5e78342d79e5db87a135d75fa8)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Class execution requires that __prepare__() methods return
a proper execution namespace. Check for that immediately
after calling __prepare__(), rather than passing it through
to the code execution machinery and potentially triggering
SystemError (in debug builds) or a cryptic TypeError
(in release builds).
Patch by Oren Milman.
(cherry picked from commit 5837d0418f47933b2e3c139bdee8a79c248a943c)
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(GH-1717) (#3778)
Some objects (like test mocks) auto-generate new objects on
attribute access, which can lead to an infinite loop in
inspect.unwrap().
Ensuring references are retained to otherwise temporary objects
and capping the size of the memo dict turns this case into a
conventional exception instead..
(cherry picked from commit f9169ce6b48c7cc7cc62d9eb5e4ee1ac7066d14b)
|
| |
| |
| |
| |
| | |
_thread (GH-3782) (#3783)
(cherry picked from commit 236329ed9fee01edb85d698d30682e304439d198)
|
| |
| |
| |
| |
| | |
_json.make_encoder() received a bad encoder() argument. (GH-3643) (#3777)
(cherry picked from commit 2b382dd6121bb1e4b75470fb3ef8555665df3eb6)
|
| |
| |
| |
| |
| | |
warnings.warn_explicit. (GH-3219) (#3775)
(cherry picked from commit 91fb0afe181986b48abfc6092dcca912b39de51d)
|
| |
| |
| |
| |
| | |
attr is defined only outside _fields_. (GH-3615) (#3774)
(cherry picked from commit 30b61b51e05d2d43e8e2e783b0a9df738535423b)
|
| |
| |
| |
| |
| | |
__name__ attribute. (GH-3620). (#3773)
(cherry picked from commit 6db7033192cd537ca987a65971acb01206c3ba82)
|
| |
| |
| | |
(cherry picked from commit 31aca4bf79217e6ec4c1d056d3ad7ed4dd469c78)
|
| |
| |
| |
| |
| | |
itertools.groupby() iterators. (GH-1557) (#3770)
(cherry picked from commit c740e4fe8a9bc5815dc18c38d7f7600b128c3c51)
|
| |
| |
| |
| |
| | |
(GH-3753). (#3760)
(cherry picked from commit 0e950dd22b075b4809c84afda8aede02b76ac0fa)
|
| |
| |
| |
| |
| |
| |
| | |
(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)
|
| |
| |
| |
| |
| | |
Non-regression tests for the Expat 2.2.3 UTF-8 decoder bug.
(cherry picked from commit e6d9fcbb8d0c325e57df08ae8781aafedb71eca2)
|
| |
| |
| |
| |
| | |
ctypes._CData.__setstate__(), in case of a bad __dict__. (GH-3254) (#3743)
(cherry picked from commit 57c2561c8c5663aef55b00e3f29cba575ff36ccd)
|
| |
| |
| | |
(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)
|
| |
| |
| |
| |
| | |
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)
|