| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| | |
(cherry picked from commit 32cb968)
|
| | |
|
| |
| |
| |
| |
| | |
(GH-2342)
(cherry picked from commit b066edfb1b268e90ea11f45dd1827f46d7ceec88)
|
| |
| |
| |
| | |
When a class and its subclass are present, the latter is skipped.
(cherry picked from commit 6580c19bbbe7bc9bc0884699afd69184f523b32e)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
CPython workflow is changing! We're going to start using "blurb"
to manage Misc/NEWS entries:
https://github.com/python/core-workflow
(This will be a big win for release managers, honest.)
This checkin simply populates the "Misc/NEWS.d" subdirectory tree
so that people can start putting their news entries in there.
No other changes (yet).
|
| |
| |
| | |
(cherry picked from commit a0e911b)
|
| |
| |
| |
| | |
Comceptually -> Conceptually
(cherry picked from commit f3e8209)
|
| |
| |
| |
| | |
New file: Modules/expat/siphash.h.
(cherry picked from commit 5ff7132313eb651107b179d20218dfe5d4e47f13)
|
| |
| |
| |
| |
| |
| |
| |
| | |
module. (GH-2266) (#2297)
They now always return bytes.
Updated the gettext documentation..
(cherry picked from commit 26cb4657bcc9a7adffa95798ececb588dddfeadb)
|
| |
| |
| | |
splithost() expects an URL starting with "//" not with "http://".
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The current regex based splitting produces a wrong result. For example::
http://abc#@def
Web browsers parse that URL as ``http://abc/#@def``, that is, the host
is ``abc``, the path is ``/``, and the fragment is ``#@def``.
(cherry picked from commit 90e01e50ef8a9e6c91f30d965563c378a4ad26de)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(GH-2253)
Partially clarify the subprocess convenience API documentation by
explicitly listing the `cwd` parameter in their abbreviated signatures.
While this has been merged as an improvement, it doesn't fully
resolve the issue, as the `cwd` should also be covered in the
"Frequently Used Arguments" section, and the fact these APIs
pass unlisted keyword arguments down to the lower level APIs
is currently still unclear.
(cherry picked from commit 368cf1d20630498ca7939069a05d744fabb570aa)
|
| |
| |
| |
| |
| |
| | |
vcvarsall.bat (#2252) (#2280)
* Fixes build scripts to find msbuild.exe and stop relying on vcvarsall.bat
Also fixes bdist_wininst.vcxproj to use correct version in generated name.
|
| |
| |
| |
| |
| | |
Skip test_normalization.test_main() if download raises a permission
error.
(cherry picked from commit d13d54748d3a7db023d9db37223ea7d40bb8f8e3)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* test_normalization fails if download fails
bpo-29887. The test is still skipped if "-u urlfetch" option is not
passed to regrtest (python3 -m test -u urlfetch test_normalization).
* Fix ResourceWarning in test_normalization
bpo-29887: Fix ResourceWarning in test_normalization if tests are
interrupted by CTRL+c.
(cherry picked from commit 722a3af092b94983aa26f5e591fb1b45e2c2a0ff)
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
(cherry picked from commit 116dd5eba60a940b35db6aaf4e8c998ac30ad440)
|
|
|
|
|
|
|
| |
(GH-595) (GH-2233)
If max_line_length=None is specified while using the Compat32 policy,
it is no longer ignored..
(cherry picked from commit b459f7482612d340b88b62edc024628595ec6337)
|
|
|
|
|
|
| |
f-strings. (GH-2232) (#2242)
This caused a segfault on eval("f'\\\n'") and eval("f'\\\r'") in debug build..
(cherry picked from commit 11e97f2f80bf65cc828c127eafc95229df35d403)
|
|
|
|
|
|
|
| |
* bpo-30523: regrtest: Add --list-cases option (#2238)
* bpo-30284: Fix regrtest for out of tree build (#1481)
* bpo-30540: regrtest: add --matchfile option (#1909)
* bpo-30258: regrtest: Fix run_tests_multiprocess() (#1479)
* bpo-30263: regrtest: log system load (#1452)
|
|
|
| |
This reverts commit e064d4dfeda09fd206653697b70b434e98cc1b57.
|
| |
|
|
|
|
|
|
|
|
|
| |
(GH-2237)
The Windows build now depends on Python 3.6 to fetch externals, but it will be downloaded via NuGet (which is downloaded via PowerShell) if it is not available via `py -3.6`. This means the only thing that must be installed on a modern Windows box to do a full build of CPython with all extensions is Visual Studio.
Also fixes an outdated note about _lzma in PCbuild/readme.txt
(cherry-picked from commit 51599e2bdd10ab77212a7cbb41a13ea70ee13da8)
|
|
|
|
|
| |
'trailer', e.g. zip()[x] (GH-24) (GH-2235)
(cherry picked from commit 93b4b47e3a720171d67f3b608de406aef462835c)
|
|
|
| |
(cherry picked from commit 6c991bdee7ec4bedd8c1b8d3812dc884b654b57c)
|
|
|
|
| |
`PyModule_New()` now refers to `PyModule_NewObject()`
(cherry picked from commit 2d0afef82a07afdb666f2ca0c533aac5d39155cd)
|
|
|
|
|
| |
unittest.TestCase.assertRaises() now manually breaks a
reference cycle to not keep objects alive longer than expected.
(cherry picked from commit bbd3cf8f1ef1e91a8d6dac6411e18b4b9084abf5)
|
|
|
| |
(cherry picked from commit 258bfc462b1e58689b43f662a10e44ece3a10bef)
|
|
|
|
|
| |
In rare circumstances PyImport_Import() could return NULL without raising
an error.
(cherry picked from commit 145541c)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
v6. (GH-879) (#2217)
the original logic was just comparing the network address
but this is wrong because if the network address is equal then
we need to compare the ip address for breaking the tie
add more ip_interface comparison tests.
(cherry picked from commit 7bd8d3e794782582a4ad1c9749424fff86802c3e)
|
|
|
|
|
| |
(#2215)
(cherry picked from commit 0d32218)
|
|
|
|
|
|
| |
(GH-2016) (#2214)
Running our unit tests with `-bb` enabled triggered this failure..
(cherry picked from commit 171b9a354e816eebc6d4c3a8553303942e9c5025)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bpo-29591: Upgrade Modules/expat to libexpat 2.2
* bpo-29591: Restore Python changes on expat
* bpo-29591: Remove expat config of unsupported platforms
Remove the configuration (Modules/expat/*config.h) of unsupported
platforms:
* Amiga
* MacOS Classic on PPC32
* Open Watcom
* bpo-29591: Remove useless XML_HAS_SET_HASH_SALT
The XML_HAS_SET_HASH_SALT define of Modules/expat/expat.h became
useless since our local expat copy was upgrade to expat 2.1 (it's now
expat 2.2.0).
(cherry picked from commit 23ec4b57e1359f9c539b8defc317542173ae087e)
|
|
|
|
|
|
|
|
|
| |
The public cyrus.andrew.cmu.edu IMAP server (port 993) doesn't accept
TLS connection using our self-signed x509 certificate. Remove the two
tests which are already skipped.
Write a new test_certfile_arg_warn() unit test for the certfile
deprecation warning.
(cherry picked from commit b18563da8803433509e9a0e29718e0271014659f)
|
|
|
|
| |
Before, Enter would not, for instance, complete 're.c' to 're.compile' even with 'compile' highlighted. Now it does. Before, '\n' was inserted into text, which in Shell meant compile() and possibly execute. Now cursor is left after completion.
(cherry picked from commit 32fd874afe55e396e3c9a5af35e7bb3d8e0b8f02)
|
|
|
|
|
| |
(GH-2195)
(cherry picked from commit 184bd82ba8106785ba22f0d2477dbd08bef821fb)
|
|
|
|
| |
Replace platform with platforms.
(cherry picked from commit 4ebf03d109f827c91a23256a447c1d74a203dfee)
|
|
|
|
| |
Patch by Louie Lu.
(cherry picked from commit 778b484145edfd0d9b65129322d3295bed8eb71a)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bpo-30649: test_os tolerates 50 ms delta for utime (#2156)
On Windows, tolerate a delta of 50 ms instead of 20 ms in
test_utime_current() and test_utime_current_old() of test_os.
On other platforms, reduce the delta from 20 ms to 10 ms.
(cherry picked from commit c94caca65cd38802243b5279cf85ee44ffb2abb8)
* bpo-30649: Revert utime delta in test_os (#2176)
PPC64 Fedora 3.x buildbot requires at least a delta of 14 ms: revert
the utime delta to 20 ms.
I tried 10 ms, but test_os failed on the PPC64 Fedora 3.x buildbot.
(cherry picked from commit 3402f7268897db15053866e1e68404cfa0e02706)
|
|
|
|
| |
When IDLE fail to start because the socket connection fails, direct people to a new subsection of the IDLE doc listing various causes and remedies.
(cherry picked from commit 188aedf8bb623d41302e10503268b0852ea91134)
|
|
|
|
| |
For unknown reasons, this does not work when running leak tests.
(cherry picked from commit 049cf2bb44038351e1b2eed4fc7b1b522329e550)
|
|
|
| |
(cherry picked from commit 8323189ff1a19566f923c04b95e4d17fa57d1f56)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#2166)
* bpo-24484: Avoid race condition in multiprocessing cleanup
The finalizer registry can be mutated while inspected by multiprocessing
at process exit.
* Use test.support.start_threads()
* Add Misc/NEWS.
(cherry picked from commit 1eb6c0074d17f4fd425cacfdda893d65f5f77f0a)
|