| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Fix test_exception_errpipe_bad_data() and
test_exception_errpipe_normal() of test_subprocess: mock os.waitpid()
to avoid calling the real os.waitpid(0, 0) which is an unexpected
side effect of the test.
(cherry picked from commit 11045c9d8a21dd9bd182a3939189db02815f9783)
|
|
|
| |
(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)
|
| |
|
|
|
|
|
|
|
|
| |
split() (GH-3866) (#3874)
when pass a string larger than 2 GiB.
Decrease memory requirements for Tcl's bigmem tests.
(cherry picked from commit 27c623c845dd6e4b8e1782666ca3a956636da266)
|
|
|
|
|
| |
(GH-3864). (#3873)
(cherry picked from commit 929b40a601db868530d6beaafb3256822103a7fb)
|
|
|
|
|
|
| |
of underscores (GH-3827) (#3863)
to integer with binary base.
(cherry picked from commit 85c0b8941f0c8ef3ed787c9d504712c6ad3eb5d3)
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| | |
(cherry picked from commit efb560eee28b6b2418e1231573ca62574d6dc07b)
|
| |
| |
| |
| |
| |
| |
| |
| | |
`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)
|
| |
| |
| |
| | |
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)
|