]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
6 years agobpo-35196: Optimize Squeezer's write() interception (GH-10454)
Miss Islington (bot) [Sun, 13 Jan 2019 16:43:08 +0000 (08:43 -0800)] 
bpo-35196: Optimize Squeezer's write() interception (GH-10454)

The new functionality of Squeezer.reload() is also tested, along with some general
re-working of the tests in test_squeezer.py.
(cherry picked from commit 39a33e99270848d34628cdbb1fdb727f9ede502a)

Co-authored-by: Tal Einat <taleinat+github@gmail.com>
6 years agobpo-34512: Document platform-specific strftime() behavior for non-ASCII format string...
Miss Islington (bot) [Sat, 12 Jan 2019 17:27:30 +0000 (09:27 -0800)] 
bpo-34512: Document platform-specific strftime() behavior for non-ASCII format strings (GH-8948)

(cherry picked from commit 1cffd0eed313011c0c2bb071c8affeb4a7ed05c7)

Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
6 years agobpo-35552: Fix reading past the end in PyUnicode_FromFormat() and PyBytes_FromFormat...
Miss Islington (bot) [Sat, 12 Jan 2019 08:52:55 +0000 (00:52 -0800)] 
bpo-35552: Fix reading past the end in PyUnicode_FromFormat() and PyBytes_FromFormat(). (GH-11276)

Format characters "%s" and "%V" in PyUnicode_FromFormat() and "%s" in PyBytes_FromFormat()
no longer read memory past the limit if precision is specified.
(cherry picked from commit d586ccb04f79863c819b212ec5b9d873964078e4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years agobpo-33817: Fix _PyBytes_Resize() for empty bytes object. (GH-11516)
Miss Islington (bot) [Sat, 12 Jan 2019 07:40:09 +0000 (23:40 -0800)] 
bpo-33817: Fix _PyBytes_Resize() for empty bytes object. (GH-11516)

Add also tests for PyUnicode_FromFormat() and PyBytes_FromFormat()
with empty result.
(cherry picked from commit 44cc4822bb3799858201e61294c5863f93ec12e2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years agobpo-32710: Fix _overlapped.Overlapped memory leaks (GH-11489)
Miss Islington (bot) [Fri, 11 Jan 2019 14:01:50 +0000 (06:01 -0800)] 
bpo-32710: Fix _overlapped.Overlapped memory leaks (GH-11489)

Fix memory leaks in asyncio ProactorEventLoop on overlapped operation
failures.

Changes:

* Implement the tp_traverse slot in the _overlapped.Overlapped type
  to help to break reference cycles and identify referrers in the
  garbage collector.
* Always clear overlapped on failure: not only set type to
  TYPE_NOT_STARTED, but release also resources.
(cherry picked from commit 5485085b324a45307c1ff4ec7d85b5998d7d5e0d)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
6 years agobpo-35716: Update time.CLOCK_MONOTONIC_RAW doc (GH-11517)
Miss Islington (bot) [Fri, 11 Jan 2019 13:32:11 +0000 (05:32 -0800)] 
bpo-35716: Update time.CLOCK_MONOTONIC_RAW doc (GH-11517)

Document that the time.CLOCK_MONOTONIC_RAW constant
is now also available on macOS 10.12.

Co-authored-by: Ricardo Fraile <rfraile@rfraile.eu>
(cherry picked from commit fd7d539be3ce1cc098a4f104b7a7816ca00add16)

Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
6 years agobpo-32146: Add documentation about frozen executables on Unix (GH-5850)
Miss Islington (bot) [Thu, 10 Jan 2019 18:13:21 +0000 (10:13 -0800)] 
bpo-32146: Add documentation about frozen executables on Unix (GH-5850)

(cherry picked from commit bab4bbb4c9cd5d25ede21a1b8c99d56e3b8dae9d)

Co-authored-by: Bo Bayles <bbayles@gmail.com>
6 years agobpo-35470: Fix a reference counting bug in _PyImport_FindExtensionObjectEx(). (GH...
Miss Islington (bot) [Thu, 10 Jan 2019 16:36:50 +0000 (08:36 -0800)] 
bpo-35470: Fix a reference counting bug in _PyImport_FindExtensionObjectEx(). (GH-11128)

(cherry picked from commit 89c4f90df97f6039325e354167e8f507bf199fd9)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
6 years agobpo-24746: Fix doctest failures when running the testsuite with -R (GH-11501)
Miss Islington (bot) [Thu, 10 Jan 2019 16:02:26 +0000 (08:02 -0800)] 
bpo-24746: Fix doctest failures when running the testsuite with -R (GH-11501)

(cherry picked from commit c5dc60ea858b8ccf78e8d26db81c307a8f9b2314)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
6 years agobpo-34855: Fix EXTERNALS_DIR build variable for Windows (GH-11177) 11502/head
Miss Islington (bot) [Thu, 10 Jan 2019 00:46:40 +0000 (16:46 -0800)] 
bpo-34855: Fix EXTERNALS_DIR build variable for Windows (GH-11177)

(cherry picked from commit 6aedfa6b9ac324587f64133c23757a66a8f355bb)

Co-authored-by: antektek <45912913+antektek@users.noreply.github.com>
6 years agoUpdate bugs.rst (GH-11485)
Miss Islington (bot) [Wed, 9 Jan 2019 23:00:12 +0000 (15:00 -0800)] 
Update bugs.rst (GH-11485)

(cherry picked from commit 91c6158dbc5d70fcd91993b4e62c7bae926c2ea2)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
6 years agoAdd example to the documentation for calling unittest.mock.patch with create=True...
Miss Islington (bot) [Wed, 9 Jan 2019 21:50:02 +0000 (13:50 -0800)] 
Add example to the documentation for calling unittest.mock.patch with create=True (GH-11056)

(cherry picked from commit d6acf17c05315cd34124d678057d9543adbad404)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
6 years agobpo-35641: Move IDLE blurb to IDLE directory (GH-11479)
Miss Islington (bot) [Wed, 9 Jan 2019 15:49:38 +0000 (07:49 -0800)] 
bpo-35641: Move IDLE blurb to IDLE directory (GH-11479)

(cherry picked from commit ee6559436797032b816dfb8c6376c9a451014962)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
6 years agobpo-24746: Avoid stripping trailing whitespace in doctest fancy diff (GH-10639)
Miss Islington (bot) [Wed, 9 Jan 2019 13:56:40 +0000 (05:56 -0800)] 
bpo-24746: Avoid stripping trailing whitespace in doctest fancy diff (GH-10639)

(cherry picked from commit cbb16459934eaf29c7c7d362939cd05550b2f21f)

Co-authored-by: Sanyam Khurana <8039608+CuriousLearner@users.noreply.github.com>
6 years agobpo-32710: Fix leak in Overlapped_WSASend() (GH-11469)
Miss Islington (bot) [Tue, 8 Jan 2019 13:40:50 +0000 (05:40 -0800)] 
bpo-32710: Fix leak in Overlapped_WSASend() (GH-11469)

Fix a memory leak in asyncio in the ProactorEventLoop when ReadFile()
or WSASend() overlapped operation fail immediately: release the
internal buffer.
(cherry picked from commit a234e148394c2c7419372ab65b773d53a57f3625)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
6 years agobpo-35596: Use unchecked PYCs for the embeddable distro to avoid zipimport restrictio...
Miss Islington (bot) [Tue, 8 Jan 2019 10:56:14 +0000 (02:56 -0800)] 
bpo-35596: Use unchecked PYCs for the embeddable distro to avoid zipimport restrictions (GH-11465)

Also adds extra steps to the CI build for Windows on Azure Pipelines to validate that the various layouts at least execute.
(cherry picked from commit 872bd2b57ce8e4ea7a54acb3934222c0e4e7276b)

Co-authored-by: Steve Dower <steve.dower@microsoft.com>
6 years agobpo-35374: Avoid trailing space in hhc file name if found on PATH. (GH-10849) 11466/head
Miss Islington (bot) [Tue, 8 Jan 2019 03:04:14 +0000 (19:04 -0800)] 
bpo-35374: Avoid trailing space in hhc file name if found on PATH. (GH-10849)

(cherry picked from commit e61cc481e02b758c8d8289163102c236d0658a55)

Co-authored-by: chrullrich <chris@chrullrich.net>
6 years agobpo-35682: Fix _ProactorBasePipeTransport._force_close() (GH-11462)
Miss Islington (bot) [Tue, 8 Jan 2019 02:15:25 +0000 (18:15 -0800)] 
bpo-35682: Fix _ProactorBasePipeTransport._force_close() (GH-11462)

bpo-32622, bpo-35682: Fix asyncio.ProactorEventLoop.sendfile(): don't
attempt to set the result of an internal future if it's already done.

Fix asyncio _ProactorBasePipeTransport._force_close(): don't set the
result of _empty_waiter if it's already done.
(cherry picked from commit 80fda712c83f5dd9560d42bf2aa65a72b18b7759)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
6 years agobpo-35560: Remove assertion from format(float, "n") (GH-11288)
Miss Islington (bot) [Mon, 7 Jan 2019 15:26:20 +0000 (07:26 -0800)] 
bpo-35560: Remove assertion from format(float, "n") (GH-11288)

Fix an assertion error in format() in debug build for floating point
formatting with "n" format, zero padding and small width. Release build is
not impacted. Patch by Karthikeyan Singaravelan.
(cherry picked from commit 3f7983a25a3d19779283c707fbdd5bc91b1587ef)

Co-authored-by: Xtreak <tir.karthi@gmail.com>
6 years agotest_threading_local: add missing "import sys" (GH-8049)
Miss Islington (bot) [Sun, 6 Jan 2019 22:32:52 +0000 (14:32 -0800)] 
test_threading_local: add missing "import sys" (GH-8049)

(cherry picked from commit a0bb51e44cd43a7d2836a96a3804162203e44514)

Co-authored-by: cclauss <cclauss@me.com>
6 years agobpo-35660: Fix imports in idlelib.window (GH-11434)
Miss Islington (bot) [Sun, 6 Jan 2019 21:13:30 +0000 (13:13 -0800)] 
bpo-35660: Fix imports in idlelib.window (GH-11434)

* bpo-35660: IDLE: Remove * import from window.py

* sys was being imported through the *, so also added an import sys.

* Update 2019-01-04-19-14-29.bpo-35660.hMxI7N.rst

Anyone who wants details can check the issue, where I added the point about the sys import bug.
(cherry picked from commit 11303dd6035a7d7f78025ce5a3e3b9bdf7380c9a)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
6 years agobpo-35631: Improve typing docs wrt abstract/concrete collection types (GH-11396)
Miss Islington (bot) [Fri, 4 Jan 2019 14:20:19 +0000 (06:20 -0800)] 
bpo-35631: Improve typing docs wrt abstract/concrete collection types (GH-11396)

https://bugs.python.org/issue35631
(cherry picked from commit 31ec52a9afedd77e36a3ddc31c4c45664b8ac410)

Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
6 years agobpo-31450: Remove documentation mentioning that subprocess's child_traceback is avail...
Miss Islington (bot) [Thu, 3 Jan 2019 20:01:44 +0000 (12:01 -0800)] 
bpo-31450: Remove documentation mentioning that subprocess's child_traceback is available with the parent process (GH-11422)

(cherry picked from commit 47a2fced84605a32b79aa3ebc543533ad1a976a1)

Co-authored-by: Harmandeep Singh <harmandeep3091@gmail.com>
6 years agobpo-35641: IDLE - format calltip properly when no docstring (GH-11415)
Miss Islington (bot) [Thu, 3 Jan 2019 09:44:47 +0000 (01:44 -0800)] 
bpo-35641: IDLE - format calltip properly when no docstring (GH-11415)

(cherry picked from commit ab54b9a130c88f708077c2ef6c4963b632c132b3)

Co-authored-by: Emmanuel Arias <emmanuelarias30@gmail.com>
6 years agobpo-33987: IDLE - use ttk Frame for ttk widgets (GH-11395)
Miss Islington (bot) [Thu, 3 Jan 2019 03:22:10 +0000 (19:22 -0800)] 
bpo-33987: IDLE - use ttk Frame for ttk widgets (GH-11395)

(cherry picked from commit aff0adabf3ace62073076f4ce875ff568f2d3180)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
6 years agobpo-35525: Correct the argument name for NNTP.starttls() (GH-11310)
Miss Islington (bot) [Wed, 2 Jan 2019 21:11:00 +0000 (13:11 -0800)] 
bpo-35525: Correct the argument name for NNTP.starttls() (GH-11310)

(cherry picked from commit e9a044ec16989bd4b39763c0588c17200a925350)

Co-authored-by: Harmandeep Singh <harmandeep3091@gmail.com>
6 years agocloses bpo-35643: Fix a SyntaxWarning: invalid escape sequence in Modules/_sha3/clean...
Miss Islington (bot) [Wed, 2 Jan 2019 19:58:58 +0000 (11:58 -0800)] 
closes bpo-35643: Fix a SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py (GH-11411)

(cherry picked from commit d466c43e55cd32af84e353f0e9a48b09b7534f61)

Co-authored-by: Mickaël Schoentgen <contact@tiger-222.fr>
6 years ago[3.7] Bump copyright years to 2019. (GH-11406)
Benjamin Peterson [Wed, 2 Jan 2019 16:15:53 +0000 (08:15 -0800)] 
[3.7] Bump copyright years to 2019. (GH-11406)

(cherry picked from commit 9a69ae8a78785105ded02b083b2e5cd2dd939307)

6 years agocloses bpo-35623: Fix integer overflow when sorting large lists (GH-11380)
Miss Islington (bot) [Wed, 2 Jan 2019 02:25:23 +0000 (18:25 -0800)] 
closes bpo-35623: Fix integer overflow when sorting large lists (GH-11380)

There is already a `Py_ssize_t i` defined at function scope that is used
for similar loops. By removing the local `int i` declaration that `i` is
used, which has the appropriate type.
(cherry picked from commit f8b534477a2a51d85ea1663530f685f805f2b247)

Co-authored-by: sth <sth.dev@tejp.de>
6 years agocloses bpo-35630: Use code tag for 'python3' in 'README.rst' (GH-11394)
Miss Islington (bot) [Wed, 2 Jan 2019 02:03:53 +0000 (18:03 -0800)] 
closes bpo-35630: Use code tag for 'python3' in 'README.rst' (GH-11394)

(cherry picked from commit 7e3fb40b923cb09ecc67816d3191197868593737)

Co-authored-by: Suriyaa ✌️️ <isc.suriyaa@gmail.com>
6 years agobpo-35598: IDLE - Globalize some config_key objects (GH-11392)
Miss Islington (bot) [Mon, 31 Dec 2018 20:19:53 +0000 (12:19 -0800)] 
bpo-35598: IDLE - Globalize some config_key objects (GH-11392)

Move translate_key() and constant tuples to module level.
Inline the remnant one-line function.
(cherry picked from commit b4ea8bb080f63ef27682f3f9bbaa4d12a83030b1)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
6 years ago[3.7] bpo-35214: Annotate posix calls for clang MSan. (GH-11389) (GH-11391)
Gregory P. Smith [Mon, 31 Dec 2018 06:14:33 +0000 (22:14 -0800)] 
[3.7] bpo-35214: Annotate posix calls for clang MSan. (GH-11389) (GH-11391)

It doesn't know the details of a few less common libc functions..

(cherry picked from commit 1d300ce1d8238136595c8fea76266a4755cd73a2)

Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google]
6 years agoFix typo in test module usage message (GH-11374)
Miss Islington (bot) [Mon, 31 Dec 2018 05:59:08 +0000 (21:59 -0800)] 
Fix typo in test module usage message (GH-11374)

A minor typo in the output of `python -m test -h`.
A space was missing in between two words.
howmuch -> how much
(cherry picked from commit 7108aab49c2b6d6d81766c354f9a809278e03d4c)

Co-authored-by: sth <sth.dev@tejp.de>
6 years agobpo-35214: Skip test_io tests that'd cause a huge malloc under msan (GH-11385)
Miss Islington (bot) [Mon, 31 Dec 2018 04:39:28 +0000 (20:39 -0800)] 
bpo-35214: Skip test_io tests that'd cause a huge malloc under msan (GH-11385)

* skip test_constructor under msan.

* fix the others as well.

* reuse existing related news entry.

* typo fix
(cherry picked from commit e5796c42c687e1454e84dcc50e6f67db48ff69a0)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
6 years agoFix typos in test_faulthandler skipIfs for ubsan. (GH-11386)
Miss Islington (bot) [Mon, 31 Dec 2018 04:34:03 +0000 (20:34 -0800)] 
Fix typos in test_faulthandler skipIfs for ubsan. (GH-11386)

(cherry picked from commit d6f45b23a59de5782ba38d3c698da9c08aaca11b)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
6 years agobpo-35550: Fix incorrect Solaris define guards (GH-11275)
Miss Islington (bot) [Mon, 31 Dec 2018 02:39:00 +0000 (18:39 -0800)] 
bpo-35550: Fix incorrect Solaris define guards (GH-11275)

Python source code uses on several places ifdef sun or defined(sun) without the underscores, which is not standard compliant and shouldn't be used.

Defines should check for __sun instead. Reference: http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_systemGH-Solaris

https://bugs.python.org/issue35550
(cherry picked from commit 6f9bc72c79c3262e5d0f2c0e96b016477399cfb1)

Co-authored-by: Jakub Kulík <Kulikjak@gmail.com>
6 years agoCleanup test_faulthandler sanitizer skip logic. (GH-11381)
Miss Islington (bot) [Mon, 31 Dec 2018 02:28:11 +0000 (18:28 -0800)] 
Cleanup test_faulthandler sanitizer skip logic. (GH-11381)

Also skip the same tests when using the undefined behavior sanitizer
as they much with the output.

Updates a regex in another test to use multi-line mode so that the ubsan
buildbot should pass again rather than also adding a skip to that one.
(cherry picked from commit 30e023256aa1b00d4c783553752fc6f2cc0b9b27)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
6 years agobpo-28503: Use crypt_r() when available instead of crypt() (GH-11373) (GH-11376)
Miss Islington (bot) [Mon, 31 Dec 2018 01:59:52 +0000 (17:59 -0800)] 
bpo-28503: Use crypt_r() when available instead of crypt() (GH-11373) (GH-11376)

Use crypt_r() when available instead of crypt() in the crypt module.

As a nice side effect: This also avoids a memory sanitizer flake as clang msan doesn't know about crypt's internal libc allocated buffer.
(cherry picked from commit 387512c7ecde6446f2e29408af2e16b9fc043807)

Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google]
6 years agobpo-35214: MSan workarounds for socket, time, and test_faulthandler. (GH-11375) ...
Miss Islington (bot) [Mon, 31 Dec 2018 01:59:19 +0000 (17:59 -0800)] 
bpo-35214: MSan workarounds for socket, time, and test_faulthandler. (GH-11375) (GH-11378)

Add Clang Memory Sanitizer build instrumentation to work around
false positives from the socket and time modules as well as skipping
a couple test_faulthandler tests.
(cherry picked from commit b474e6774d60fa67d5373e361a0ed53c18b24f53)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
6 years agoFix typo in documentation of AbstractEventLoopPolicy.set_child_watcher() (GH-11369)
Miss Islington (bot) [Sun, 30 Dec 2018 22:07:05 +0000 (14:07 -0800)] 
Fix typo in documentation of AbstractEventLoopPolicy.set_child_watcher() (GH-11369)

`set_child_watcher()` *sets* the watcher.
(cherry picked from commit 1b29c03c95dbffa05f2bac0f8f1a36b21606a504)

Co-authored-by: sth <sth.dev@tejp.de>
6 years agobpo-35598: IDLE: Switch config_key dialog to ttk widgets (GH-11365)
Miss Islington (bot) [Sun, 30 Dec 2018 20:30:09 +0000 (12:30 -0800)] 
bpo-35598: IDLE: Switch config_key dialog to ttk widgets (GH-11365)

(cherry picked from commit 4bd79c38efe3cc0a3c724605cf9474e2d1b6b6e2)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
6 years agobpo-35598: IDLE: Increase test coverage for config_key.py (GH-11360)
Miss Islington (bot) [Sun, 30 Dec 2018 04:39:27 +0000 (20:39 -0800)] 
bpo-35598: IDLE: Increase test coverage for config_key.py (GH-11360)

(cherry picked from commit b0a6196ffd58ff91462191f426706897dc920eee)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
6 years agobpo-35602: Make sure the transport is always closed in SelectorEventLoopUnixSockSendf...
Miss Islington (bot) [Sat, 29 Dec 2018 19:38:24 +0000 (11:38 -0800)] 
bpo-35602: Make sure the transport is always closed in SelectorEventLoopUnixSockSendfileTests (GH-11338)

There is a race condition in SelectorEventLoopUnixSockSendfileTests that causes the prepare() method return a non connected server protocol, making the cleanup() method skips the correct handling of the transport. This commit makes prepare() always return a connected server protocol that can always be cleaned up correctly.
(cherry picked from commit d51324a2f5d172665f8824b25456c9822797fc84)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
6 years agoMake sure file object is close if socket.create_connection fails (GH-11334)
Miss Islington (bot) [Sat, 29 Dec 2018 02:12:39 +0000 (18:12 -0800)] 
Make sure file object is close if socket.create_connection fails (GH-11334)

The problem affects _testWithTimeoutTriggeredSend in test_socket.py.
(cherry picked from commit 1f511e1af060e98fb789319a96076c06e7f98135)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
6 years agobpo-35601: Alleviate race condition when waiting for SIGALRM in test_asyncio (GH...
Miss Islington (bot) [Sat, 29 Dec 2018 02:01:00 +0000 (18:01 -0800)] 
bpo-35601: Alleviate race condition when waiting for SIGALRM in test_asyncio (GH-11337)

There is a race condition regarding signal delivery in test_signal_handling_args for
test_asyncio.test_events.KqueueEventLoopTests. The signal can be received at any moment outside the time window provided in the test. The fix is to wait for the signal to be received instead with a bigger timeout.
(cherry picked from commit 5471420faa84519530f29b08f2b042b2288e3e96)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
6 years agobpo-34055: Revert deletion of line in IDLE's PyShell (GH-11346)
Miss Islington (bot) [Sat, 29 Dec 2018 01:19:32 +0000 (17:19 -0800)] 
bpo-34055: Revert deletion of line in IDLE's PyShell (GH-11346)

The attribute is still used in other modules.
(cherry picked from commit 4bc246786f003cdf1fffb3403b4cd92fc42ba9ef)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
6 years agobpo-28097: IDLE - Add Previous/Next History to Shell menu (GH-11325)
Miss Islington (bot) [Fri, 28 Dec 2018 20:29:44 +0000 (12:29 -0800)] 
bpo-28097: IDLE - Add Previous/Next History to Shell menu (GH-11325)

(cherry picked from commit c0381aaea4ad3e866bde70393c4f7efe9bcf3568)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
6 years agoIDLE: Create function to update menu item state. (GH-11343)
Miss Islington (bot) [Fri, 28 Dec 2018 18:29:06 +0000 (10:29 -0800)] 
IDLE: Create function to update menu item state. (GH-11343)

This will be needed for other menu items.  Change outwin to call the function instead of updating the menu item directly.
(cherry picked from commit 804a5d94b6b7f8cb8546112aee2bc3af362f28f5)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
6 years agobpo-35591: IDLE Find Selection now works when selection not found (GH-11339)
Miss Islington (bot) [Fri, 28 Dec 2018 10:31:34 +0000 (02:31 -0800)] 
bpo-35591: IDLE Find Selection now works when selection not found (GH-11339)

(cherry picked from commit c465682718f15cd3deb6b37db5fb607718ac64ed)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
6 years agobpo-35598: IDLE: Update config_key.py with PEP8 names (GH-11330)
Miss Islington (bot) [Fri, 28 Dec 2018 04:08:03 +0000 (20:08 -0800)] 
bpo-35598: IDLE: Update config_key.py with PEP8 names (GH-11330)

A few other changes make the code easier to follow.
(cherry picked from commit 55698cc39549523cafc13cc8dd47960d8f73a59f)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
6 years agobpo-35596: Fix vcruntime140.dll being added to embeddable distro multiple times....
Miss Islington (bot) [Fri, 28 Dec 2018 01:04:07 +0000 (17:04 -0800)] 
bpo-35596: Fix vcruntime140.dll being added to embeddable distro multiple times. (GH-11329)

https://bugs.python.org/issue35596
(cherry picked from commit 59c2aa25ffc864bf11bf3b3973828f00e268a992)

Co-authored-by: Steve Dower <steve.dower@microsoft.com>
6 years agoSpeed-up building enums by value, e.g. http.HTTPStatus(200) (GH-11318) (GH-11324)
Miss Islington (bot) [Wed, 26 Dec 2018 20:48:55 +0000 (12:48 -0800)] 
Speed-up building enums by value, e.g. http.HTTPStatus(200) (GH-11318) (GH-11324)

bpo-35585: Speed up enum by-value lookup
(cherry picked from commit 34ae04f74dcf4ac97d07c3e82eaf8f619d80cedb)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
6 years agobpo-35579: Fix typo in in asyncio-task documentation (GH-11321)
Miss Islington (bot) [Wed, 26 Dec 2018 14:53:03 +0000 (06:53 -0800)] 
bpo-35579: Fix typo in in asyncio-task documentation (GH-11321)

https://bugs.python.org/issue35579

https://bugs.python.org/issue35579
(cherry picked from commit 3a81076bbf899b1a549f005dd9299e7ae0946321)

Co-authored-by: Vaibhav Gupta <vaibhgupt199@gmail.com>
6 years agoRedo PR 785 -- Add cross reference links (GH-11319) (#11320)
Miss Islington (bot) [Wed, 26 Dec 2018 02:00:20 +0000 (18:00 -0800)] 
Redo PR 785 -- Add cross reference links (GH-11319) (#11320)

(cherry picked from commit 56edf3a4b145d80684a9e4ba7411a6778d830140)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
6 years ago[3.7] bpo-35578: Add an example file for testing Argument Clinic converters. (GH...
Serhiy Storchaka [Tue, 25 Dec 2018 09:20:08 +0000 (11:20 +0200)] 
[3.7] bpo-35578: Add an example file for testing Argument Clinic converters. (GH-11306) (GH-11311)

(cherry picked from commit 837c7dc)

6 years agoMinor grammar improvement in types.rst (GH-11308)
Miss Islington (bot) [Tue, 25 Dec 2018 00:41:00 +0000 (16:41 -0800)] 
Minor grammar improvement in types.rst (GH-11308)

defines utility function -> defines utility functions

Reported in https://mail.python.org/pipermail/docs/2018-December/038693.html
(cherry picked from commit 95327bc80dbc86b101986c5e06425be668f5d970)

Co-authored-by: Mariatta <Mariatta@users.noreply.github.com>
6 years agobpo-35208: Fix IDLE Squeezer line counting (GH-10449)
Miss Islington (bot) [Mon, 24 Dec 2018 12:21:11 +0000 (04:21 -0800)] 
bpo-35208: Fix IDLE Squeezer line counting (GH-10449)

(cherry picked from commit 44a79cc5b3d1fb0c03c99077aa26def85ec26c67)

Co-authored-by: Tal Einat <taleinat+github@gmail.com>
6 years agoPost release bump
Ned Deily [Mon, 24 Dec 2018 09:29:05 +0000 (04:29 -0500)] 
Post release bump

6 years agoMerge release engineering branch '372final' into 3.7
Ned Deily [Mon, 24 Dec 2018 09:25:49 +0000 (04:25 -0500)] 
Merge release engineering branch '372final' into 3.7

6 years agoMerge tag 'v3.7.2' into 3.7
Ned Deily [Mon, 24 Dec 2018 09:24:38 +0000 (04:24 -0500)] 
Merge tag 'v3.7.2' into 3.7

6 years agoRevert "bpo-35402: Update macOS installer to use Tcl 8.6.9 / Tk 8.6.9.1 (GH-11101)"
Ned Deily [Mon, 24 Dec 2018 07:04:44 +0000 (02:04 -0500)] 
Revert "bpo-35402: Update macOS installer to use Tcl 8.6.9 / Tk 8.6.9.1 (GH-11101)"

This reverts commit 3b9a0186c44d0c3e477c38fdc00203ec99aec912.

Due to regressions found with using Tk 8.6.9.1, the python.org macOS
installers for 3.6.8 and 3.7.2 are shipping with Tcl/Tk 8.6.8 as used
in previous releases.

6 years agobpo-34764: improve docs example of iter() with sentinel value (GH-11222) (#11301)
Miss Islington (bot) [Mon, 24 Dec 2018 05:19:57 +0000 (21:19 -0800)] 
bpo-34764: improve docs example of iter() with sentinel value (GH-11222) (#11301)

(cherry picked from commit d378b1f8ed7919f65a89f026bc899204be3773d4)

Co-authored-by: Chris Rands <c_rands100@hotmail.com>
6 years agobpo-35566: Add links to annotation glossary term (GH-11291) (GH-11302)
Miss Islington (bot) [Mon, 24 Dec 2018 05:18:39 +0000 (21:18 -0800)] 
bpo-35566: Add links to annotation glossary term (GH-11291) (GH-11302)

6 years agobpo-35555: IDLE: Gray out Code Context menu item on non-editors (GH-11282) (GH-11300)
Miss Islington (bot) [Sun, 23 Dec 2018 22:14:59 +0000 (14:14 -0800)] 
bpo-35555: IDLE: Gray out Code Context menu item on non-editors (GH-11282) (GH-11300)

The Code Context menu item only works on Editor windows so disable it for others.
(cherry picked from commit 8874f511e7473b08d6b0ccd9261dd415a072a34d)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
6 years ago3.7.2final v3.7.2
Ned Deily [Sun, 23 Dec 2018 21:37:36 +0000 (16:37 -0500)] 
3.7.2final

6 years agobpo-35257: fix broken BLDSHARED - needs LDFLAGS too (GH-11297)
Miss Islington (bot) [Sun, 23 Dec 2018 20:48:00 +0000 (12:48 -0800)] 
bpo-35257: fix broken BLDSHARED - needs LDFLAGS too (GH-11297)

`BLDSHARED` needs to have both `LDFLAGS` and `LDFLAGS_NODIST`, not just `LDFLAGS_NODIST`; `PY_CORE_LDFLAGS` provides both.  For example, as it stands now with just `LDFLAGS_NODIST`, macOS universal builds are broken as the necessary `-arch` flags are no longer passed to the standard library extension module link step from `setup.py` resulting in extension modules being single architecture only.

https://bugs.python.org/issue35257
(cherry picked from commit 44a3ee07e30e18d83e2730c093d8b0e930f0a06c)

Co-authored-by: Ned Deily <nad@python.org>
6 years ago[3.7] Removed dangling `since Python` at the end of library/xml.rst. (GH-11201) ...
Miss Islington (bot) [Fri, 21 Dec 2018 18:22:17 +0000 (10:22 -0800)] 
[3.7] Removed dangling `since Python` at the end of library/xml.rst. (GH-11201) (GH-11231)

(cherry picked from commit 82d73554e4764350bfd8f13957c5e024ac95c4af)

Co-authored-by: Jules Lasne (jlasne) <jlasne@student.42.fr>
6 years agobpo-35257: fix broken BLDSHARED - needs LDFLAGS too (GH-11297)
Miss Islington (bot) [Sun, 23 Dec 2018 20:48:00 +0000 (12:48 -0800)] 
bpo-35257: fix broken BLDSHARED - needs LDFLAGS too (GH-11297)

`BLDSHARED` needs to have both `LDFLAGS` and `LDFLAGS_NODIST`, not just `LDFLAGS_NODIST`; `PY_CORE_LDFLAGS` provides both.  For example, as it stands now with just `LDFLAGS_NODIST`, macOS universal builds are broken as the necessary `-arch` flags are no longer passed to the standard library extension module link step from `setup.py` resulting in extension modules being single architecture only.

https://bugs.python.org/issue35257
(cherry picked from commit 44a3ee07e30e18d83e2730c093d8b0e930f0a06c)

Co-authored-by: Ned Deily <nad@python.org>
6 years agobpo-35259: Limit `Py_FinalizeEx()` to `Py_LIMITED_API >= 0x03060000`. (GH-10620)
Miss Islington (bot) [Thu, 20 Dec 2018 21:39:35 +0000 (13:39 -0800)] 
bpo-35259: Limit `Py_FinalizeEx()` to `Py_LIMITED_API >= 0x03060000`. (GH-10620)

(cherry picked from commit 3e8f962e63c2f929604443531a9a3aced242f3e8)

Co-authored-by: Arthur Neufeld <aneufeld@seinesoftware.ca>
6 years ago[3.7] bpo-31715 Add mimetype for extension .mjs (GH-3908) (GH-10977)
Myles Borins [Thu, 20 Dec 2018 20:26:02 +0000 (15:26 -0500)] 
[3.7] bpo-31715 Add mimetype for extension .mjs (GH-3908) (GH-10977)

(cherry picked from commit 0854b92cd2)

6 years agobpo-35482: Fixes HTML escaping in CHM index and build location of NEWS file (GH-11224)
Miss Islington (bot) [Thu, 20 Dec 2018 17:27:12 +0000 (09:27 -0800)] 
bpo-35482: Fixes HTML escaping in CHM index and build location of NEWS file (GH-11224)

(cherry picked from commit afe17a7bee1bcb39dc56f2949431204918568ac1)

Co-authored-by: Steve Dower <steve.dower@microsoft.com>
6 years agobpo-35257: Avoid leaking LTO linker flags into distutils (GH-10900) (GH-11264)
Victor Stinner [Thu, 20 Dec 2018 15:03:01 +0000 (16:03 +0100)] 
bpo-35257: Avoid leaking LTO linker flags into distutils (GH-10900) (GH-11264)

When compiling 3rd party C extensions, the linker flags used by the
compiler for the interpreter and the stdlib modules, will get
leaked into distutils. In order to avoid that, the PY_CORE_LDFLAGS
and PY_LDFLAGS_NODIST are introduced to keep those flags separated.

(cherry picked from commit cf10a750f4b50b6775719cfb17bee00bc3a9c60b)

6 years agobpo-35472: Doc: For Python 3.7 Sphinx 1.6.6 is enough. (GH-11192)
Julien Palard [Wed, 19 Dec 2018 10:14:55 +0000 (11:14 +0100)] 
bpo-35472: Doc: For Python 3.7 Sphinx 1.6.6 is enough. (GH-11192)

6 years agobpo-35499: make profile-opt don't override CFLAGS_NODIST (GH-11164) (GH-11179)
Miss Islington (bot) [Sun, 16 Dec 2018 22:24:04 +0000 (14:24 -0800)] 
bpo-35499: make profile-opt don't override CFLAGS_NODIST (GH-11164) (GH-11179)

"make profile-opt" no longer replaces CFLAGS_NODIST with CFLAGS. It
now adds profile-guided optimization (PGO) flags to CFLAGS_NODIST,
existing CFLAGS_NODIST flags are kept.
(cherry picked from commit 640ed520dd6a43a8bf470b79542f58b5d57af9de)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
6 years agoDocument that dict.fromkeys accepts any iterable for keys (GH-10998) (GH-11294)
Miss Islington (bot) [Sun, 23 Dec 2018 04:56:01 +0000 (20:56 -0800)] 
Document that dict.fromkeys accepts any iterable for keys (GH-10998) (GH-11294)

(cherry picked from commit f06fba5965b4265c42291d10454f387b76111f26)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
6 years agobpo-22703: IDLE: Improve Code Context and Zoom Height menu labels (GH-11214)
Miss Islington (bot) [Sat, 22 Dec 2018 06:41:50 +0000 (22:41 -0800)] 
bpo-22703: IDLE: Improve Code Context and Zoom Height menu labels (GH-11214)

The Code Context menu label now toggles between Show/Hide Code Context.
 The Zoom Height menu now toggles between Zoom/Restore Height.
 Zoom Height has moved from the Window menu to the Options menu.

https://bugs.python.org/issue22703
(cherry picked from commit c1b4b0f6160e1919394586f44b12538505fed300)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
6 years agobpo-11566: Extension build errors on Windows for _hypot (GH-11283)
Miss Islington (bot) [Sat, 22 Dec 2018 01:56:58 +0000 (17:56 -0800)] 
bpo-11566: Extension build errors on Windows for _hypot (GH-11283)

This addresses C extension build errors related to an undefined _hypot
symbol when building with the Microsoft Visual C++ Compiler for Python
2.7 [1] or MinGWPy [2]. It also addresses errors when building a C++
extension with MinGWPy and C++11 from cmath, 'error "::hypot' has not
been declared'

[1] https://www.microsoft.com/en-us/download/details.aspx?id=44266
[2] https://mingwpy.github.io/
(cherry picked from commit 87667c54c6650751c5d7bf7b9e465c8c4af45f71)

Co-authored-by: Matt McCormick <matt@mmmccormick.com>
6 years agoFix typo in socketserver docstring (GH-11252)
Miss Islington (bot) [Fri, 21 Dec 2018 23:01:34 +0000 (15:01 -0800)] 
Fix typo in socketserver docstring (GH-11252)

Fix typo in the docstring of `service_actions`.
serve_forver -> serve_forever
(cherry picked from commit 6ded8986e039bbd060cf8b768b50cef18ac73e63)

Co-authored-by: Christopher Hunt <chrahunt@gmail.com>
6 years agoEnable signing Windows builds with SHA1 environment variable (GH-11279)
Miss Islington (bot) [Fri, 21 Dec 2018 22:04:18 +0000 (14:04 -0800)] 
Enable signing Windows builds with SHA1 environment variable (GH-11279)

(cherry picked from commit d3bbc5241363d5fa4e749fe509c97c12501ae966)

Co-authored-by: Steve Dower <steve.dower@microsoft.com>
6 years agoFixed missing colun in library/sys.po (GH-11153)
Miss Islington (bot) [Fri, 14 Dec 2018 11:35:55 +0000 (03:35 -0800)] 
Fixed missing colun in library/sys.po (GH-11153)

GH- Fixed missing colun in library/sys.po

[bpo-35492](https://bugs.python.org/issue35492): Fixed missing colun in library/sys.po
(cherry picked from commit cb0f5e29e37c081e9bba91a9858370e2504e9e8e)

Co-authored-by: Jules Lasne (jlasne) <jlasne@student.42.fr>
6 years ago[3.7] Removed dangling `since Python` at the end of library/xml.rst. (GH-11201) ...
Miss Islington (bot) [Fri, 21 Dec 2018 18:22:17 +0000 (10:22 -0800)] 
[3.7] Removed dangling `since Python` at the end of library/xml.rst. (GH-11201) (GH-11231)

(cherry picked from commit 82d73554e4764350bfd8f13957c5e024ac95c4af)

Co-authored-by: Jules Lasne (jlasne) <jlasne@student.42.fr>
6 years agobpo-33830: Fix an example in http.client docs for 404. (GH-7780)
Miss Islington (bot) [Fri, 21 Dec 2018 15:41:01 +0000 (07:41 -0800)] 
bpo-33830: Fix an example in http.client docs for 404. (GH-7780)

(cherry picked from commit f0af4c54e32d963e1ccbac005bcbcab1913e051f)

Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com>
6 years agobpo-35259: Limit `Py_FinalizeEx()` to `Py_LIMITED_API >= 0x03060000`. (GH-10620)
Miss Islington (bot) [Thu, 20 Dec 2018 21:39:35 +0000 (13:39 -0800)] 
bpo-35259: Limit `Py_FinalizeEx()` to `Py_LIMITED_API >= 0x03060000`. (GH-10620)

(cherry picked from commit 3e8f962e63c2f929604443531a9a3aced242f3e8)

Co-authored-by: Arthur Neufeld <aneufeld@seinesoftware.ca>
6 years ago[3.7] bpo-31715 Add mimetype for extension .mjs (GH-3908) (GH-10977)
Myles Borins [Thu, 20 Dec 2018 20:26:02 +0000 (15:26 -0500)] 
[3.7] bpo-31715 Add mimetype for extension .mjs (GH-3908) (GH-10977)

(cherry picked from commit 0854b92cd2)

6 years agobpo-35482: Fixes HTML escaping in CHM index and build location of NEWS file (GH-11224)
Miss Islington (bot) [Thu, 20 Dec 2018 17:27:12 +0000 (09:27 -0800)] 
bpo-35482: Fixes HTML escaping in CHM index and build location of NEWS file (GH-11224)

(cherry picked from commit afe17a7bee1bcb39dc56f2949431204918568ac1)

Co-authored-by: Steve Dower <steve.dower@microsoft.com>
6 years agoFix mock_open docstring to use readline (GH-11266)
Miss Islington (bot) [Thu, 20 Dec 2018 16:23:57 +0000 (08:23 -0800)] 
Fix mock_open docstring to use readline (GH-11266)

(cherry picked from commit 71f82a2f2085464f5ec99c16bce57bd1631733bd)

Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com>
6 years agobpo-35257: Avoid leaking LTO linker flags into distutils (GH-10900) (GH-11264)
Victor Stinner [Thu, 20 Dec 2018 15:03:01 +0000 (16:03 +0100)] 
bpo-35257: Avoid leaking LTO linker flags into distutils (GH-10900) (GH-11264)

When compiling 3rd party C extensions, the linker flags used by the
compiler for the interpreter and the stdlib modules, will get
leaked into distutils. In order to avoid that, the PY_CORE_LDFLAGS
and PY_LDFLAGS_NODIST are introduced to keep those flags separated.

(cherry picked from commit cf10a750f4b50b6775719cfb17bee00bc3a9c60b)

6 years agobpo-35521: Add more cross-refs to IDLE docs (GH-11257)
Miss Islington (bot) [Thu, 20 Dec 2018 11:25:06 +0000 (03:25 -0800)] 
bpo-35521: Add more cross-refs to IDLE docs (GH-11257)

Format menu and preferences.
(cherry picked from commit 292cd6e33104d9f458232a14998fe5c62f7f7e81)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
6 years agobpo-35529: Fix a reference counting bug in PyCFuncPtr_FromDll(). (GH-11229)
Miss Islington (bot) [Thu, 20 Dec 2018 08:47:59 +0000 (00:47 -0800)] 
bpo-35529: Fix a reference counting bug in PyCFuncPtr_FromDll(). (GH-11229)

"dll" would leak if an error occurred in _validate_paramflags() or
GenericPyCData_new().
(cherry picked from commit d77d97c9a1f593fe161afab97e2a3e2292ab88b9)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
6 years agobpo-5438: Update memory requirements and optimize test_bigmem.py. (GH-11123)
Miss Islington (bot) [Thu, 20 Dec 2018 07:52:57 +0000 (23:52 -0800)] 
bpo-5438: Update memory requirements and optimize test_bigmem.py. (GH-11123)

(cherry picked from commit b13a20f50789e153c18ed8efb4fbc5eecc50f2cd)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years agobpo-18085: Update refcounts.dat. (GH-11247)
Miss Islington (bot) [Thu, 20 Dec 2018 07:43:22 +0000 (23:43 -0800)] 
bpo-18085: Update refcounts.dat. (GH-11247)

Fixed some errors in refcounts.dat, remove functions removed in
Python 3, and add more entries for documented functions. This will
add several automatically generated notes about return values.
(cherry picked from commit 83dd4e87a62311cfea5fdd37e8a945b6b07bccee)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years ago[3.7] bpo-34162: Update idlelib/NEWS.txt to 2018-12-20 (GH-11255) (#11256)
Terry Jan Reedy [Thu, 20 Dec 2018 07:12:08 +0000 (02:12 -0500)] 
[3.7] bpo-34162: Update idlelib/NEWS.txt to 2018-12-20 (GH-11255) (#11256)

Cherry-picked from  87ec110.

6 years agobpo-35521: IDLE: Add code context section to docs (GH-11205)
Miss Islington (bot) [Thu, 20 Dec 2018 05:59:22 +0000 (21:59 -0800)] 
bpo-35521: IDLE: Add code context section to docs (GH-11205)

Also add some internal cross-references.
(cherry picked from commit 01421bec1e0d25df17599cfa1160adbbcd08e949)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
6 years agobpo-32077: Update refcounts.dat for Unicode object functions. (GH-11243)
Miss Islington (bot) [Wed, 19 Dec 2018 20:03:20 +0000 (12:03 -0800)] 
bpo-32077: Update refcounts.dat for Unicode object functions. (GH-11243)

Makes the documentation more comprehensive in terms of indicating
whether or not a function returns a new reference.

Also fixes some errors and adds missing functions.
(cherry picked from commit b2f642ccd2f65d2f3bf77bbaa103dd2bc2733734)

Co-authored-by: Mat M <mathew1800@gmail.com>
6 years agoFix documented signatures for C API functions. (GH-11236)
Miss Islington (bot) [Wed, 19 Dec 2018 13:43:29 +0000 (05:43 -0800)] 
Fix documented signatures for C API functions. (GH-11236)

(cherry picked from commit 57dd79e6f7f33bb4e6817ac58c9cb91de99675e0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years agobpo-35497: add versionadded tag for EPOLLEXCLUSIVE (GH-11162)
Miss Islington (bot) [Wed, 19 Dec 2018 12:05:48 +0000 (04:05 -0800)] 
bpo-35497: add versionadded tag for EPOLLEXCLUSIVE (GH-11162)

(cherry picked from commit 92330c0b6d6c253c41a133cc50caea4853c7e311)

Co-authored-by: Manjusaka <lizheao940510@gmail.com>
6 years agobpo-35472: Doc: For Python 3.7 Sphinx 1.6.6 is enough. (GH-11192)
Julien Palard [Wed, 19 Dec 2018 10:14:55 +0000 (11:14 +0100)] 
bpo-35472: Doc: For Python 3.7 Sphinx 1.6.6 is enough. (GH-11192)

6 years agobpo-18799: Resurrect test_404 in test_xmlrpc. (GH-11196)
Miss Islington (bot) [Wed, 19 Dec 2018 09:46:23 +0000 (01:46 -0800)] 
bpo-18799: Resurrect test_404 in test_xmlrpc. (GH-11196)

(cherry picked from commit fae95874b729dfe62a7a40625f8717aed20b0fca)

Co-authored-by: Vajrasky Kok <sky.kok@speaklikeaking.com>
6 years ago[3.7] bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174)....
Serhiy Storchaka [Wed, 19 Dec 2018 07:28:12 +0000 (09:28 +0200)] 
[3.7] bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174). (GH-11232)

(cherry picked from commit 2b57c43f21f891df4c6f2294a3b9e1b9029a16b6)

6 years agobpo-35424: Fix test_multiprocessing_main_handling (GH-11223) (GH-11227)
Miss Islington (bot) [Tue, 18 Dec 2018 23:43:27 +0000 (15:43 -0800)] 
bpo-35424: Fix test_multiprocessing_main_handling (GH-11223) (GH-11227)

Fix test_multiprocessing_main_handling: use multiprocessing.Pool with
a context manager and then explicitly join the pool.
(cherry picked from commit 6cdce3ddef805e11d75142f3e20e23c3fe21fdf4)

Co-authored-by: Victor Stinner <vstinner@redhat.com>