| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
(cherry picked from commit a6296d34a478b4f697ea9db798146195075d496c)
|
|
|
|
|
|
| |
* bpo-31170: Fix inclusion of expat in Windows build projects.
* Fixes line endings
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bpo-30947, bpo-31170: Update expat from 2.2.1 to 2.2.4
* Upgrade libexpat embedded copy from version 2.2.1 to 2.2.3 to get security
fixes.
* Update libexpat from 2.2.3 to 2.2.4. Fix copying of partial
characters for UTF-8 input (libexpat bug 115):
https://github.com/libexpat/libexpat/issues/115
* Define XML_POOR_ENTROPY when compiling expat
|
|
|
|
| |
Works around Travis CI bug about the python3.5 binary:
https://github.com/travis-ci/travis-ci/issues/8363
|
|
|
|
|
|
| |
The `Show Source` was broken because of a change made in sphinx 1.5.1
In Sphinx 1.4.9, the sourcename was "index.txt".
In Sphinx 1.5.1+, it is now "index.rst.txt".
(cherry picked from commit b9ff498793611d1c6a9b99df464812931a1e2d69)
|
|
|
|
|
|
|
|
|
| |
Rather than requiring the path to blurb and/or sphinx-build to be specified to
the make rule, enhance the Doc/Makefile to look for each first in a virtual
environment created by make venv and, if not found, look on the normal process
PATH. This allows the Doc/Makefile to take advantage of an installed
spinx-build or blurb and, thus, do the right thing most of the time. Also, make
the directory for the venv be configurable and document the `make venv` target.
|
|\ |
|
| |
| |
| | |
(cherry picked from commit e1e60bd95c376f9b18cbaf9481364281c6cc1bc7)
|
| |
| |
| |
| | |
Use the copy provided in https://bugs.python.org/issue25910GH-msg295200
(cherry picked from commit 8474d87165593bac2bc231287f42c4cff3fd6aaf)
|
| |
| |
| | |
(cherry picked from commit 6fcb69dad579cc9a7dc15eabead43b6c37464f8c)
|
| |
| |
| |
| |
| |
| |
| |
| | |
(#2874)
* bpo-31036: use an existing Misc/NEWS rather than trying to use blurb
* bpo-31036: avoid echoing comments
|
| |
| |
| | |
(cherry picked from commit d5ed47dea25e04a3a144eddf99a4ac4a29242dbc)
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Use the copy provided in https://bugs.python.org/issue25910GH-msg295200
(cherry picked from commit 8474d87165593bac2bc231287f42c4cff3fd6aaf)
(cherry picked from commit f6306e737203ac1bf1717bbf62bc58dac24b68db)
|
| |
| |
| |
| |
| | |
(cherry picked from commit 6fcb69dad579cc9a7dc15eabead43b6c37464f8c)
(cherry picked from commit 52c41f18086f3d8b1eb3854b568f04717c724e3d)
|
|/
|
|
|
|
|
|
|
|
| |
(#2874)
* bpo-31036: use an existing Misc/NEWS rather than trying to use blurb
* bpo-31036: avoid echoing comments
(cherry picked from commit 3de144890ad3bc50694368a1b33be6d7f3a780b3)
|
|
|
|
| |
illegal command (#1214) (#2887)
|
|
|
|
|
| |
(#2869)
(cherry picked from commit 39243779f4c97ec6f700fa73c007ca66dfa9408e)
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
tearDown() now clears explicitly the self.server variable to make
sure that the thread is completely cleared when tearDownClass()
checks if all threads have been cleaned up.
Fix the following warning:
$ ./python -m test --fail-env-changed -m test.test_os.TestSendfile.test_keywords -R 3:1 test_os
(...)
Warning -- threading_cleanup() failed to cleanup 0 threads after 3 sec (count: 0, dangling: 2)
(...)
Tests result: ENV CHANGED
(cherry picked from commit d1cc037d1442cc35d1b194ec8e50901514360949)
|
| | |
|
| |
| |
| | |
(cherry picked from commit cfcd76777e35c83d548d8736f5d7dc92fe56d806)
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
| |
(cherry picked from commit 4c7532e96da19f2d5543bdab2b972797699c37d5)
|
|
|
| |
(cherry picked from commit 4da52247d6ae53b8384f9753430e8cd2672ff97d)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bpo-30876: Relative import from unloaded package now reimports the package
instead of failing with SystemError.
Relative import from non-package now fails with ImportError rather than
SystemError.
(cherry picked from commit 8a9cd20edca7d01b68292036029ae3735ce65edd)
* bpo-18018: Import raises ImportError instead of SystemError if a relative
import is attempted without a known parent package.
* bpo-26367: importlib.__init__() raises ImportError like
builtins.__import__() when ``level`` is specified but without an accompanying
package specified.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
functions (GH-3)
Cython will, in the right circumstances, offer a MethodType instance
where im_func is a builtin function. Any instance of MethodType is
automatically assumed to be a Python-defined function (more
specifically, a function that has an inspectable signature), but
_set_signature was still conservative in its assumptions. As a result
_set_signature would return early with None instead of a mock since
the im_func had no inspectable signature. This causes problems
deeper inside mock, as _set_signature is assumed to _always_
return a mock, and nothing checked its return value.
In similar corner cases, autospec will simply not check the spec of the
function, so _set_signature is amended to now return early with the
original, not-wrapped mock object.
Patch by Aaron Gallagher.
(cherry picked from commit 856cbcc12f2e4cca93af5dc7ed6bcea4dd942f10)
|
|
|
|
|
| |
* Oops, tzdata was introduced in Python 3.6: remove it from regrtest
* Remove also Lib/test/libregrtest/__init__.py file: add by mistake
on a backport.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When running the test suite using --use=all / -u all, exclude tzdata
since it makes test_datetime too slow (15-20 min on some buildbots)
which then times out on some buildbots.
-u tzdata must now be enabled explicitly, -u tzdata or -u all,tzdata,
to run all test_datetime tests.
Fix also regrtest command line parser to allow passing -u
extralargefile to run test_zipfile64.
Travis CI: remove -tzdata. Replace -u all,-tzdata,-cpu with -u all,-cpu since tzdata is now excluded from -u all.
(cherry picked from commit 5b392bbaeb9d9b1db961ecfc7315d8c8662c27f6)
|
|
|
| |
(cherry picked from commit fff2a21057b98732562098e3bdd65980551f0135)
|
| |
|
|
|
|
| |
(GH-2755)
|
|
|
| |
(cherry picked from commit 4ed5ad79ec6c6270e6018bd0a55656305ee60907)
|
|
|
|
|
| |
(GH-2712). (#2728)
(cherry picked from commit 49f6449ef4b81537c19b82329caaf60596c516c2)
|
|
|
| |
(cherry picked from commit 50f58163a69abe2f35e91044d1df165ee7bdbb42)
|
|
|
|
|
|
| |
(GH-2690) (#2693)
encoder and decoder.
(cherry picked from commit d3aaa2f)
|
|
|
| |
(cherry picked from commit f52325598e7a9683787d76a42009fc16790a0089)
|
|
|
|
|
|
| |
unicodeobject.c. (GH-2623) (#2659)
Based on patch by Victor Stinner.
(cherry picked from commit 64e461be09e23705ecbab43a8b01722186641f71)
|
|
|
|
|
|
|
| |
(GH-2634) (#2657)
called with bytes-like argument.
(cherry picked from commit 1180e5a51871fa53ca6892e83fd2e69dc2600447)
|
|
|
|
|
| |
Handle getattr(copy, 'deepcopy') error in _elementtree module
initialization.
(cherry picked from commit b136f11f3a51f9282ae992bac68f170ca5563b55)
|
|
|
|
|
|
|
|
|
|
|
| |
multiprocessing.Queue.join_thread() now waits until the thread
completes, even if the thread was started by the same process which
created the queue.
Fix the following warning which occurs randomly when running
test_handle_called_with_mp_queue of test_logging.QueueListenerTest:
Warning -- threading_cleanup() failed to cleanup -1 threads after 4 sec (count: 0, dangling: 1)
(cherry picked from commit 3b69d911c57ef591ac0c0f47a66dbcad8337f33a)
|
|
|
|
|
|
|
|
|
|
|
|
| |
If history-length is set in .inputrc, and the history file is double the
history size (or more), history_get(N) returns NULL, and python
segfaults. Fix that by checking for NULL return value.
It seems that the root cause is incorrect handling of bigger history in
readline, but Python should not segfault even if readline returns
unexpected value.
This issue affects only GNU readline. When using libedit emulation
system history size option does not work.
|
|
|
| |
Leading whitespace was incorrectly dropped during folding of certain lines in the _header_value_parser's folding algorithm. This makes the whitespace handling code consistent.
|