]> granicus.if.org Git - python/log
python
6 years agobpo-33674: asyncio: Fix SSLProtocol race (GH-7175) (#7187)
Miss Islington (bot) [Tue, 29 May 2018 01:44:16 +0000 (18:44 -0700)]
bpo-33674: asyncio: Fix SSLProtocol race (GH-7175) (#7187)

Fix a race condition in SSLProtocol.connection_made() of
asyncio.sslproto: start immediately the handshake instead of using
call_soon(). Previously, data_received() could be called before the
handshake started, causing the handshake to hang or fail.
(cherry picked from commit be00a5583a2cb696335c527b921d1868266a42c6)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
6 years agobpo-32410: Avoid blocking on file IO in sendfile fallback code (GH-7172) (#7182)
Miss Islington (bot) [Tue, 29 May 2018 01:42:45 +0000 (18:42 -0700)]
bpo-32410: Avoid blocking on file IO in sendfile fallback code (GH-7172) (#7182)

(cherry picked from commit 7165754b6b5f3b7c07050d921fa1c58bba5f0ff1)

Co-authored-by: Yury Selivanov <yury@magic.io>
6 years agobpo-33673: Install python-docs-theme even if Sphinx is already installed (GH-7163)
Miss Islington (bot) [Tue, 29 May 2018 01:03:38 +0000 (18:03 -0700)]
bpo-33673: Install python-docs-theme even if Sphinx is already installed (GH-7163)

(cherry picked from commit 3d3e66c2daebd8e6b18944eac7546168c0006c78)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
6 years agobpo-32610: Fix asyncio.all_tasks() to return only pending tasks. (GH-7174)
Miss Islington (bot) [Tue, 29 May 2018 00:16:43 +0000 (17:16 -0700)]
bpo-32610: Fix asyncio.all_tasks() to return only pending tasks. (GH-7174)

(cherry picked from commit 416c1ebd9896b394790dcb4f9f035b1a44ebe9ff)

Co-authored-by: Yury Selivanov <yury@magic.io>
6 years agobpo-33469: RuntimeError after closing loop that used run_in_executor (GH-7171)
Miss Islington (bot) [Mon, 28 May 2018 22:50:02 +0000 (15:50 -0700)]
bpo-33469: RuntimeError after closing loop that used run_in_executor (GH-7171)

(cherry picked from commit fdccfe09f0b10776645fdb04a0783d6864c32b21)

Co-authored-by: Yury Selivanov <yury@magic.io>
6 years agobro-33614: Override exit code in find_msbuild.bat (GH-7169)
Miss Islington (bot) [Mon, 28 May 2018 22:39:25 +0000 (15:39 -0700)]
bro-33614: Override exit code in find_msbuild.bat (GH-7169)

(cherry picked from commit f9b364fe51ac083e3e423b1e2cefe0e1ad7d9a60)

Co-authored-by: Steve Dower <steve.dower@microsoft.com>
6 years agobpo-33672: Fix Task.__repr__ crash with Cython's bogus coroutines (GH-7161) (GH-7173)
Miss Islington (bot) [Mon, 28 May 2018 22:31:07 +0000 (15:31 -0700)]
bpo-33672: Fix Task.__repr__ crash with Cython's bogus coroutines (GH-7161) (GH-7173)

(cherry picked from commit 989b9e0e6d7dd2fa911f9bfd4744e7f3a82d6006)

Co-authored-by: Yury Selivanov <yury@magic.io>
6 years agobpo-32458: Further tune start_tls tests (GH-7166)
Miss Islington (bot) [Mon, 28 May 2018 20:44:12 +0000 (13:44 -0700)]
bpo-32458: Further tune start_tls tests (GH-7166)

(cherry picked from commit 8267ea2e84d355f00654dec3ad782fc7b1f680f1)

Co-authored-by: Yury Selivanov <yury@magic.io>
6 years agobpo-33614: Ensures module definition files for the stable ABI on Windows are correctl...
Miss Islington (bot) [Mon, 28 May 2018 19:51:16 +0000 (12:51 -0700)]
bpo-33614: Ensures module definition files for the stable ABI on Windows are correctly regenerated. (GH-7165)

(cherry picked from commit e97ba4c690613d734843db218aeedce2f0e5937f)

Co-authored-by: Steve Dower <steve.dower@microsoft.com>
6 years agobpo-33654: Support BufferedProtocol in set_protocol() and start_tls() (GH-7130)
Miss Islington (bot) [Mon, 28 May 2018 18:50:45 +0000 (11:50 -0700)]
bpo-33654: Support BufferedProtocol in set_protocol() and start_tls() (GH-7130)

In this commit:

* Support BufferedProtocol in set_protocol() and start_tls()
* Fix proactor to cancel readers reliably
* Update tests to be compatible with OpenSSL 1.1.1
* Clarify BufferedProtocol docs
* Bump TLS tests timeouts to 60 seconds; eliminate possible race from start_serving
* Rewrite test_start_tls_server_1
(cherry picked from commit dbf102271fcc316f353c7e0a283811b661d128f2)

Co-authored-by: Yury Selivanov <yury@magic.io>
6 years agobpo-33505: Optimize asyncio.ensure_future by reordering if conditions (GH-6836) ...
Miss Islington (bot) [Mon, 28 May 2018 18:42:50 +0000 (11:42 -0700)]
bpo-33505: Optimize asyncio.ensure_future by reordering if conditions (GH-6836) (#7162)

(cherry picked from commit e549c4be5fb010f5faf12236af8faa720a1429be)

Co-authored-by: jimmylai <albert_chs@yahoo.com.tw>
6 years agobpo-31647: Fix write_eof() after close() for SelectorSocketTransport (GH-7149) (GH...
Miss Islington (bot) [Mon, 28 May 2018 16:04:09 +0000 (09:04 -0700)]
bpo-31647: Fix write_eof() after close() for SelectorSocketTransport (GH-7149) (GH-7153)

Fixed bug where calling write_eof() on a _SelectorSocketTransport after
it's already closed raises AttributeError.
(cherry picked from commit 23f587e395e41bd5e116312b036183f42bc4159b)

Co-authored-by: twisteroid ambassador <twisteroidambassador@users.noreply.github.com>
6 years agobpo-33623: Fix possible SIGSGV when asyncio.Future is created in __del__ (GH-7080)
Miss Islington (bot) [Mon, 28 May 2018 15:28:12 +0000 (08:28 -0700)]
bpo-33623: Fix possible SIGSGV when asyncio.Future is created in __del__ (GH-7080)

(cherry picked from commit 35230d08e09de4e2e52658d5cb09e5b0ca965418)

Co-authored-by: Yury Selivanov <yury@magic.io>
6 years agobpo-32374: Ignore Python-level exceptions in test_bad_traverse (GH-7145) (GH-7150)
Miss Islington (bot) [Mon, 28 May 2018 12:52:03 +0000 (05:52 -0700)]
bpo-32374: Ignore Python-level exceptions in test_bad_traverse (GH-7145) (GH-7150)

(cherry picked from commit 08c5aca9d13b24b35faf89ebd26fc348ae1731b2)

Co-authored-by: Marcel Plch <gmarcel.plch@gmail.com>
6 years agobpo-33400: Clarified documentation to indicate no strict adherence to ISO 8601. ...
Miss Islington (bot) [Mon, 28 May 2018 12:29:13 +0000 (05:29 -0700)]
bpo-33400: Clarified documentation to indicate no strict adherence to ISO 8601. (GH-6702) (GH-6704)

(cherry picked from commit c4994dc00d9828a99510f3851da93b0e1c18361d)

Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
6 years agobpo-33652: Remove __getstate__ and __setstate__ methods in typing. (GH-7144)
Miss Islington (bot) [Mon, 28 May 2018 11:21:44 +0000 (04:21 -0700)]
bpo-33652: Remove __getstate__ and __setstate__ methods in typing. (GH-7144)

(cherry picked from commit 97b523db7c79c18c48516fba9410014d9896abc4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years agobpo-33655: Also ignore test_posix_fallocate failures on BSD platforms (GH-7134)
Miss Islington (bot) [Sat, 26 May 2018 21:57:01 +0000 (14:57 -0700)]
bpo-33655: Also ignore test_posix_fallocate failures on BSD platforms (GH-7134)

The failure may be due to the use oF ZFS, a case we already ignore
for Solaris-based systems where ZFS is frequently used.
(cherry picked from commit 09c4a7dee2eb39b515e5f499f184257cdbe9cb42)

Co-authored-by: Ned Deily <nad@python.org>
6 years agobpo-21983: Fix a crash in ctypes.cast() when passed a ctypes structured data type...
Miss Islington (bot) [Sat, 26 May 2018 18:39:52 +0000 (11:39 -0700)]
bpo-21983: Fix a crash in ctypes.cast() when passed a ctypes structured data type (GH-3859)

(cherry picked from commit d518d8bc8d5dac1a1270612f424d33e0e5afc2b5)

Co-authored-by: Oren Milman <orenmn@gmail.com>
6 years agobpo-33652: Improve pickle support in the typing module. (GH-7123)
Miss Islington (bot) [Sat, 26 May 2018 18:38:00 +0000 (11:38 -0700)]
bpo-33652: Improve pickle support in the typing module. (GH-7123)

Pickles of type variables and subscripted generics are now future-proof
and compatible with older Python versions.
(cherry picked from commit 09f3221fbbf72692308149054e4f7668b08b22eb)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years ago[3.7] bpo-32769: A new take on annotations/type hinting glossary entries (GH-6829...
Andrés Delfino [Sat, 26 May 2018 17:17:33 +0000 (14:17 -0300)]
[3.7] bpo-32769: A new take on annotations/type hinting glossary entries (GH-6829) (#7127)

(cherry picked from commit 6e33f810c9e3a549c9379f24cf1d1752c29195f0)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
6 years agobpo-33644: Fix signatures of tp_finalize handlers in testing code. (GH-7111)
Miss Islington (bot) [Sat, 26 May 2018 08:33:23 +0000 (01:33 -0700)]
bpo-33644: Fix signatures of tp_finalize handlers in testing code. (GH-7111)

(cherry picked from commit 19de8b3dd742fb53681478ad4fff57ed7c37a953)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years agotest.regrtest: flush stdout when display progress (GH-7105)
Miss Islington (bot) [Fri, 25 May 2018 16:46:33 +0000 (09:46 -0700)]
test.regrtest: flush stdout when display progress (GH-7105)

runtest_mp.py: call print() with flush=True.
(cherry picked from commit 4f0bc7f7ab6ec23594b0efe11d082f78ae42abed)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
6 years agobpo-33012: Add -Wno-cast-function-type for gcc 8. (GH-6757)
Serhiy Storchaka [Fri, 25 May 2018 10:16:51 +0000 (13:16 +0300)]
bpo-33012: Add -Wno-cast-function-type for gcc 8. (GH-6757)

6 years agoDocument typing.NoReturn (GH-7107)
Miss Islington (bot) [Fri, 25 May 2018 04:51:14 +0000 (21:51 -0700)]
Document typing.NoReturn (GH-7107)

(cherry picked from commit 6e413f4327a68c4c7d62e0b6d0f9144be11dd6cd)

Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
6 years agobpo-32493: Fix uuid.uuid1() on FreeBSD. (GH-7099)
Miss Islington (bot) [Thu, 24 May 2018 23:22:59 +0000 (16:22 -0700)]
bpo-32493: Fix uuid.uuid1() on FreeBSD. (GH-7099)

Use uuid_enc_be() if available to encode UUID to bytes as big endian.
(cherry picked from commit 17d8830312d82e7de42ab89739b0771f712645ff)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years agobpo-33629: Prevent coredump in test_importlib (GH-7090)
Miss Islington (bot) [Thu, 24 May 2018 20:44:56 +0000 (13:44 -0700)]
bpo-33629: Prevent coredump in test_importlib (GH-7090)

bpo-32374, bpo-33629: Use support.SuppressCrashReport() in
test_bad_traverse() of MultiPhaseExtensionModuleTests to prevent
leaking a core dump file.
(cherry picked from commit 483000e164ec68717d335767b223ae31b4b720cf)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
6 years agobpo-33622: Fix issues with handling errors in the GC. (GH-7078)
Miss Islington (bot) [Thu, 24 May 2018 12:39:08 +0000 (05:39 -0700)]
bpo-33622: Fix issues with handling errors in the GC. (GH-7078)

* Fixed a leak when the GC fails to add an object with __del__ into
  the gc.garbage list.
* PyGC_Collect() can now be called when an exception is set and
  preserves it.
* Fixed an undefined behavior with comparing a dead pointer with NULL.
(cherry picked from commit 301e3cc8a5bc68c5347ab6ac6f83428000d31ab2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years agobpo-33628: IDLE: Minor code cleanup of codecontext.py and its tests (GH-7085)
Miss Islington (bot) [Thu, 24 May 2018 03:26:54 +0000 (20:26 -0700)]
bpo-33628: IDLE: Minor code cleanup of codecontext.py and its tests  (GH-7085)

(cherry picked from commit 8506016f904ba6bc27bf5261f27a0bdd5945cd26)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
6 years agobpo-33109: argparse subparsers are once again not required by default (GH-6919) ...
Miss Islington (bot) [Thu, 24 May 2018 02:22:46 +0000 (19:22 -0700)]
bpo-33109: argparse subparsers are once again not required by default (GH-6919) (GH-7089)

bpo-26510 in 3.7.0a2 changed the behavior of argparse to make
subparsers required by default, returning to the behavior of 2.7
and 3.2. The behavior was changed in 3.3 to be no longer required.
While it might make more sense to have the default to required,
compatibility with 3.3 through 3.6 is probably less disruptive
than trying to reintroduce compatibility with 2.7 at this point.
This change restores the 3.6 behavior.
(cherry picked from commit 8ebf5ceb0f5408d1ebc26c19702ac0762ef5ea04)

Co-authored-by: Ned Deily <nad@python.org>
6 years agobpo-33540: Add block_on_close attr to socketserver (GH-6911)
Miss Islington (bot) [Thu, 24 May 2018 01:34:43 +0000 (18:34 -0700)]
bpo-33540: Add block_on_close attr to socketserver (GH-6911)

Add a new block_on_close class attribute to ForkingMixIn and
ThreadingMixIn classes of socketserver to opt-in for pre-3.7 behaviour.
(cherry picked from commit 453bd0bc65b7ea6a18c43da69143ab10d54c0a35)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
6 years ago[3.7] bpo-33353: Fix test_asyncio on FreeBSD (GH-7087)
Victor Stinner [Thu, 24 May 2018 01:21:14 +0000 (03:21 +0200)]
[3.7] bpo-33353: Fix test_asyncio on FreeBSD (GH-7087)

* bpo-33353: test_asyncio uses smaller sendfile data (#7083)

bpo-32622, bpo-33353: sendfile() tests of test_asyncio use socket
buffers of 1 kB "to test on relative small data sets". Send only
160 KiB rather 10 MB to make the test much faster.

Shrink also SendfileBase.DATA from 1600 KiB to 160 KiB.

On Linux, 3 test_sock_sendfile_mix_with_regular_send() runs now take
less than 1 second, instead of 18 seconds.

On FreeBSD, the 3 tests didn't hang, but took 3 minutes. Now
the 3 tests pass in less than 1 seconds.

(cherry picked from commit 2932755cc11fd82b4908d60b24b837aa4f3028e6)

* bpo-33353: test_asyncio set SO_SNDBUF after connect (GH-7086)

bpo-32622, bpo-33353: On macOS, sock.connect() changes the
SO_SNDBUF value. Only set SO_SNDBUF and SO_RCVBUF buffer sizes
once a socket is connected or binded, not before.

(cherry picked from commit b97de3dd86046ac46567146d86a69d4f78ea09db)

6 years ago[3.7] bpo-33618: Enable TLS 1.3 in tests (GH-7079) (GH-7082)
Miss Islington (bot) [Wed, 23 May 2018 20:49:04 +0000 (13:49 -0700)]
[3.7] bpo-33618: Enable TLS 1.3 in tests (GH-7079) (GH-7082)

TLS 1.3 behaves slightly different than TLS 1.2. Session tickets and TLS
client cert auth are now handled after the initialy handshake. Tests now
either send/recv data to trigger session and client certs. Or tests
ignore ConnectionResetError / BrokenPipeError on the server side to
handle clients that force-close the socket fd.

To test TLS 1.3, OpenSSL 1.1.1-pre7-dev (git master + OpenSSL PR
https://github.com/openssl/openssl/pull/6340) is required.

Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit 529525fb5a8fd9b96ab4021311a598c77588b918)

6 years agobpo-33612: Remove PyThreadState_Clear() assertion (GH-7069) (GH-7074)
Miss Islington (bot) [Wed, 23 May 2018 19:58:21 +0000 (12:58 -0700)]
bpo-33612: Remove PyThreadState_Clear() assertion (GH-7069) (GH-7074)

bpo-25612, bpo-33612: Remove an assertion from PyThreadState_Clear()
which failed at Python shutdown or on fork if a thread was running a
generator.
(cherry picked from commit b6dccf54fd3bac9c87348d96f9d6b571608c15bc)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
6 years agobpo-32436: Document PEP 567 changes to asyncio. (GH-7073)
Miss Islington (bot) [Wed, 23 May 2018 17:59:17 +0000 (10:59 -0700)]
bpo-32436: Document PEP 567 changes to asyncio. (GH-7073)

(cherry picked from commit 28b9178023a445b1da2694774c265cd4b7a244ec)

Co-authored-by: Yury Selivanov <yury@magic.io>
6 years agoReverse the meaning of is_argument when used for type check (GH-7039)
Miss Islington (bot) [Wed, 23 May 2018 03:51:15 +0000 (20:51 -0700)]
Reverse the meaning of is_argument when used for type check (GH-7039)

(cherry picked from commit 0e61dffdbaf39ac5916ce431ff3b37db8faa1d2d)

Co-authored-by: Nina Zakharenko <nzakharenko@gmail.com>
6 years agobpo-33604: Remove Pending from hmac Deprecation warning. (GH-7062)
Miss Islington (bot) [Tue, 22 May 2018 23:40:44 +0000 (16:40 -0700)]
bpo-33604: Remove Pending from hmac Deprecation warning. (GH-7062)

bpo-33604: Bump removal notice from 3.6 to 3.8 and change PendingDeprecationWarning to DeprecationWarning as we had intended to do earlier...
(cherry picked from commit 8bb0b5b03cffa2a2e74f248ef479a9e7fbe95cf4)

Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
6 years agobpo-33570: TLS 1.3 ciphers for OpenSSL 1.1.1 (GH-6976)
Miss Islington (bot) [Tue, 22 May 2018 21:40:46 +0000 (14:40 -0700)]
bpo-33570: TLS 1.3 ciphers for OpenSSL 1.1.1 (GH-6976)

Change TLS 1.3 cipher suite settings for compatibility with OpenSSL
1.1.1-pre6 and newer. OpenSSL 1.1.1 will have TLS 1.3 cipers enabled by
default.

Also update multissltests and Travis config to test with latest OpenSSL.

Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit e8eb6cb7920ded66abc5d284319a8539bdc2bae3)

Co-authored-by: Christian Heimes <christian@python.org>
6 years ago[3.7] Add missed details of the C API introduced in 3.7. (GH-7047) (GH-7061)
Serhiy Storchaka [Tue, 22 May 2018 19:26:42 +0000 (22:26 +0300)]
[3.7] Add missed details of the C API introduced in 3.7. (GH-7047) (GH-7061)

* Set the limited API version for PyImport_GetModule and PyOS_*Fork
  functions.
* Add PyImport_GetModule and Py_UTF8Mode in PC/python3.def.
* Add several functions in Doc/data/refcounts.dat.
(cherry picked from commit 4e29f566e8821c09d8274eadcdd355e8b1284b8b)

6 years agobpo-33592: Document the C API in PEP 567 (contextvars) (GH-7033)
Miss Islington (bot) [Tue, 22 May 2018 17:58:01 +0000 (10:58 -0700)]
bpo-33592: Document the C API in PEP 567 (contextvars) (GH-7033)

(cherry picked from commit b2f5f59ae15564b991f3ca4850e6ad28d9faacbc)

Co-authored-by: Elvis Pranskevichus <elvis@magic.io>
6 years agoImprove comments in test_idle.py. (GH-7057)
Miss Islington (bot) [Tue, 22 May 2018 17:43:55 +0000 (10:43 -0700)]
Improve comments in test_idle.py. (GH-7057)

(cherry picked from commit 2a6d5da1d35b4a5342f6347d75298e2bec8194ed)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
6 years agobpo-30877: Fix clearing a cache in the the JSON decoder. (GH-7048)
Miss Islington (bot) [Tue, 22 May 2018 13:03:10 +0000 (06:03 -0700)]
bpo-30877: Fix clearing a cache in the the JSON decoder. (GH-7048)

(cherry picked from commit ae00fb1d4f38ea1803b10d798564740adcdad63e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years ago[3.7] Fix line breaks added after hyphens by blurb. (GH-7002) (GH-7050)
Serhiy Storchaka [Tue, 22 May 2018 11:53:08 +0000 (14:53 +0300)]
[3.7] Fix line breaks added after hyphens by blurb. (GH-7002) (GH-7050)

Also remove bullet asterisks from IDLE entries.
(cherry picked from commit aef639f62677f8a342af24e9c19f0503b0d1e36e)

6 years agoAdd PyThread_tss_* to Doc/data/refcounts.dat. (GH-7038)
Miss Islington (bot) [Tue, 22 May 2018 08:59:33 +0000 (01:59 -0700)]
Add PyThread_tss_* to Doc/data/refcounts.dat. (GH-7038)

Thread Specific Storage (TSS) API is a public C API (new in 3.7).
(cherry picked from commit 55bfe690d570958a66ee6c7b15fc8daca0f9c2d3)

Co-authored-by: Masayuki Yamamoto <ma3yuki.8mamo10@gmail.com>
6 years agobpo-5945: Improve mappings and sequences C API docs. (GH-7029)
Miss Islington (bot) [Tue, 22 May 2018 08:23:20 +0000 (01:23 -0700)]
bpo-5945: Improve mappings and sequences C API docs. (GH-7029)

(cherry picked from commit f5b1183610d5888db3bbd639b1a0c945dbd8f8dd)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years agoFix lambda parameters being refered as arguments (GH-7037)
Miss Islington (bot) [Tue, 22 May 2018 08:07:28 +0000 (01:07 -0700)]
Fix lambda parameters being refered as arguments (GH-7037)

(cherry picked from commit 268cc7c3f8f58075b42ff0cd6b6c6c5d76044895)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
6 years agobpo-33583: Add note in PyObject_GC_Resize() doc (GH-7021)
Miss Islington (bot) [Mon, 21 May 2018 14:51:00 +0000 (07:51 -0700)]
bpo-33583: Add note in PyObject_GC_Resize() doc (GH-7021)

(cherry picked from commit 1179f4b40f375af5c59cd4b6be9cc313fa0e1a37)

Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
6 years agoUse IPv4 only to avoid IP address collision (GH-7030)
Miss Islington (bot) [Mon, 21 May 2018 12:30:06 +0000 (05:30 -0700)]
Use IPv4 only to avoid IP address collision (GH-7030)

(cherry picked from commit b7555babe95ee0db2f1224ec53cfe68a005448a1)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
6 years agoFix asyncio flaky tests (GH-7023) (#7024)
Miss Islington (bot) [Mon, 21 May 2018 11:47:29 +0000 (04:47 -0700)]
Fix asyncio flaky tests (GH-7023) (#7024)

(cherry picked from commit e2537521916c5bf88fcf54d4654ff1bcd332be4a)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
6 years agobpo-33263: Fix FD leak in _SelectorSocketTransport (GH-6450) (#7022)
Miss Islington (bot) [Mon, 21 May 2018 08:35:25 +0000 (01:35 -0700)]
bpo-33263: Fix FD leak in _SelectorSocketTransport (GH-6450) (#7022)

* bpo-33263 Fix FD leak in _SelectorSocketTransport. (GH-6450)

Under particular circumstances _SelectorSocketTransport can try to add a reader
even the transport is already being closed. This can lead to FD leak and
invalid stated of the following connections. Fixed the SelectorSocketTransport
to add the reader only if the trasport is still active.
(cherry picked from commit a84d0b361a26c05c6fadc6640591ec3feee5bfb5)

Co-authored-by: Vlad Starostin <drtyrsa@yandex.ru>
6 years agobpo-33580: Make binary/text file glossary entries follow most common "see also" style...
Miss Islington (bot) [Sun, 20 May 2018 22:51:37 +0000 (15:51 -0700)]
bpo-33580: Make binary/text file glossary entries follow most common "see also" style. (GH-6991) (GH-7012)

(cherry picked from commit 0c4be82890858f874ff2158b0fcfdb8f261569c0)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
6 years agoAdd idlelib and IDLE section to What's New in 3.7. (GH-7019) (GH-7020)
Miss Islington (bot) [Sun, 20 May 2018 21:44:12 +0000 (14:44 -0700)]
Add idlelib and IDLE section to What's New in 3.7. (GH-7019) (GH-7020)

(cherry picked from commit dd281873baeaade38ceee70b10e649cfaadcf15a)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
6 years ago[3.7] bpo-32262: Fix typo in f-string (GH-7016)
Miss Islington (bot) [Sun, 20 May 2018 18:22:50 +0000 (11:22 -0700)]
[3.7] bpo-32262: Fix typo in f-string (GH-7016)

Fix typo from commit 6370f345e1d5829e1fba59cd695c8b82c5a8c620

(cherry picked from commit d361e99868a9eaa7ffce9341e1207705dbb66b50)
Co-authored-by: Christian Heimes <christian@python.org>
6 years agobpo-33542: Ignore DUID in uuid.get_node on Windows. (GH-6922)
Miss Islington (bot) [Sun, 20 May 2018 15:40:10 +0000 (08:40 -0700)]
bpo-33542: Ignore DUID in uuid.get_node on Windows. (GH-6922)

uuid._ipconfig_getnode did not validate the maximum length of the value,
so long as the value had the same type of formatting as a MAC address.
This let it select DUIDs as MAC addresses. It now requires an exact
length match.
(cherry picked from commit c66c342cb42ab8a88884527ddfe3a5086bc06316)

Co-authored-by: CtrlZvi <viz+github@flippedperspective.com>
6 years agobpo-30940: Updating round() docs. (GH-6342) (GH-7009)
Miss Islington (bot) [Sun, 20 May 2018 15:28:15 +0000 (08:28 -0700)]
bpo-30940: Updating round() docs. (GH-6342) (GH-7009)

(cherry picked from commit 900c48dba3f3eb8fb03ea766a5646f81c3bf3e9c)

Co-authored-by: Lisa Roach <lisaroach14@gmail.com>
6 years agoDocs: be less specific about python versions (GH-6985) (GH-7008)
Miss Islington (bot) [Sun, 20 May 2018 15:14:39 +0000 (08:14 -0700)]
Docs: be less specific about python versions (GH-6985) (GH-7008)

CPython 3.5 is old now, and we don't bump this version often,
so lets avoid using specific versions.
(cherry picked from commit 9572132ab3c2edddb8087a0112116da866373f79)

Co-authored-by: Eitan Adler <grimreaper@users.noreply.github.com>
6 years ago[3.7] bpo-33475: Fix and improve converting annotations to strings. (GH-6774). (GH...
Serhiy Storchaka [Sun, 20 May 2018 15:06:08 +0000 (18:06 +0300)]
[3.7] bpo-33475: Fix and improve converting annotations to strings. (GH-6774). (GH-6927)

(cherry picked from commit 64fddc423fcbe90b8088446c63385ec0aaf3077c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years agobpo-33584: Fix several minor bugs in asyncio. (GH-7003) (GH-7005)
Miss Islington (bot) [Sun, 20 May 2018 14:34:28 +0000 (07:34 -0700)]
bpo-33584: Fix several minor bugs in asyncio. (GH-7003) (GH-7005)

Fix the following bugs in the C implementation:

* get_future_loop() silenced all exceptions raised when look up the get_loop
  attribute, not just an AttributeError.
* enter_task() silenced all exceptions raised when look up the current task,
  not just a KeyError.
* repr() was called for a borrowed link in enter_task() and task_step_impl().
* str() was used instead of repr() in formatting one error message (in
  Python implementation too).
* There where few reference leaks in error cases.
(cherry picked from commit 6655354afcd116c27486bb5ba1dfa50b369d8d85)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years agobpo-26819: Prevent proactor double read on resume (GH-6921)
Miss Islington (bot) [Sun, 20 May 2018 10:57:32 +0000 (03:57 -0700)]
bpo-26819: Prevent proactor double read on resume (GH-6921)

The proactor event loop has a race condition when reading with
pausing/resuming. `resume_reading()` unconditionally schedules the read
function to read from the current future. If `resume_reading()` was
called before the previously scheduled done callback fires, this results
in two attempts to get the data from the most recent read and an
assertion failure. This commit tracks whether or not `resume_reading`
needs to reschedule the callback to restart the loop, preventing a
second attempt to read the data.
(cherry picked from commit 4151061855b571bf8a7579daa7875b8e243057b9)

Co-authored-by: CtrlZvi <viz+github@flippedperspective.com>
6 years agobpo-23722: Fix docs for future __classcell__ changes. (GH-6999) (GH-7000)
Miss Islington (bot) [Sun, 20 May 2018 05:49:13 +0000 (22:49 -0700)]
bpo-23722: Fix docs for future __classcell__ changes. (GH-6999) (GH-7000)

(cherry picked from commit 8ae8e6af37f29163ee263e293570cb892dc5b5d5)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years ago[3.7] bpo-32996: The bulk of What's New in Python 3.7 (GH-6978). (GH-6998)
Elvis Pranskevichus [Sun, 20 May 2018 03:39:45 +0000 (23:39 -0400)]
[3.7] bpo-32996: The bulk of What's New in Python 3.7 (GH-6978). (GH-6998)

(cherry picked from commit 63536bd286097e770909052052a21804a5e09b66)

Co-authored-by: Elvis Pranskevichus <elvis@magic.io>
6 years agobpo-30928: Update idlelib/NEWS.txt. (GH-6995) (#6996)
Miss Islington (bot) [Sun, 20 May 2018 02:01:26 +0000 (19:01 -0700)]
bpo-30928: Update idlelib/NEWS.txt. (GH-6995) (#6996)

(cherry picked from commit 6b0d09b8f06e6967fa3d41425cecf6499a353a6d)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
6 years agoFix typo in error message when decoding PYTHONPATH. (GH-6981) (GH-6993)
Miss Islington (bot) [Sat, 19 May 2018 23:14:42 +0000 (16:14 -0700)]
Fix typo in error message when decoding PYTHONPATH. (GH-6981) (GH-6993)

(cherry picked from commit 4857543a090c6c1ad20e935b2d7e88bbf2cbcc01)

Co-authored-by: Carl Meyer <carl@oddbird.net>
6 years agobpo-32831: IDLE: Add docstrings and tests for codecontext (GH-5638)
Miss Islington (bot) [Sat, 19 May 2018 20:28:03 +0000 (13:28 -0700)]
bpo-32831: IDLE: Add docstrings and tests for codecontext (GH-5638)

(cherry picked from commit 654038d896d78a8373b60184f335acd516215acd)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
6 years agobpo-19950: Clarify unittest TestCase instance use. (GH-6875) (GH-6938)
Miss Islington (bot) [Sat, 19 May 2018 00:55:45 +0000 (17:55 -0700)]
bpo-19950: Clarify unittest TestCase instance use. (GH-6875) (GH-6938)

(cherry picked from commit dff46758f267ad6c13096c69c4e1dee17f9969aa)

Co-authored-by: Gregory P. Smith <greg@krypto.org> Google
6 years ago[3.7] bpo-33518: Add PEP entry to documentation glossary (GH-6860) (#6934)
Andrés Delfino [Fri, 18 May 2018 23:44:18 +0000 (20:44 -0300)]
[3.7] bpo-33518: Add PEP entry to documentation glossary (GH-6860) (#6934)

(cherry picked from commit d5f144260886959c1fe06bc4506a23fd10f92348)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
6 years agobpo-28556: Don't simplify unions at runtime (GH-6841) (GH-6979)
Miss Islington (bot) [Fri, 18 May 2018 23:27:14 +0000 (16:27 -0700)]
bpo-28556: Don't simplify unions at runtime (GH-6841) (GH-6979)

(cherry picked from commit f65e31fee3b55dfb6ed5398179d5c5d6b502dee5)

Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
6 years agobpo-33556: Remove reference to thread module from docstring (GH-6963)
Miss Islington (bot) [Fri, 18 May 2018 19:46:43 +0000 (12:46 -0700)]
bpo-33556: Remove reference to thread module from docstring (GH-6963)

(cherry picked from commit 5634331a76dfe9fbe4b76475e11307a0922d6a15)

Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
6 years agoFix C API docs: PyCapsule_Import always set an exception on failure. (GH-6967)
Miss Islington (bot) [Fri, 18 May 2018 13:48:36 +0000 (06:48 -0700)]
Fix C API docs: PyCapsule_Import always set an exception on failure. (GH-6967)

(cherry picked from commit bde3e0bf096219234321ca9898fc3d3aed598453)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 years agobpo-33564: Add async to IDLE's code context block openers. (GH-6960) (#6961)
Miss Islington (bot) [Fri, 18 May 2018 02:04:23 +0000 (19:04 -0700)]
bpo-33564: Add async to IDLE's code context block openers. (GH-6960) (#6961)

(cherry picked from commit d89ca94847d943b883ebcc68e4f0a18cb042ed0d)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
6 years agobpo-33559: Attribute changed repr of exceptions (GH-6954)
Miss Islington (bot) [Thu, 17 May 2018 20:09:57 +0000 (13:09 -0700)]
bpo-33559: Attribute changed repr of exceptions (GH-6954)

(cherry picked from commit fb9dd8915314d857161de89fcbbb041f2b49fc22)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
6 years agoFix Windows build of Python for latest WinSDK. (GH-6874) (GH-6952)
Miss Islington (bot) [Thu, 17 May 2018 19:35:27 +0000 (12:35 -0700)]
Fix Windows build of Python for latest WinSDK. (GH-6874) (GH-6952)

(cherry picked from commit c0ee341b29bd7d978b49272a2c0e2dcfa77404d5)

Co-authored-by: Carl Meyer <carl@oddbird.net>
6 years agoasyncio/docs: Mark asyncio.run() as provisional in 3.7. (GH-6946) (GH-6949)
Miss Islington (bot) [Thu, 17 May 2018 19:10:56 +0000 (12:10 -0700)]
asyncio/docs: Mark asyncio.run() as provisional in 3.7. (GH-6946) (GH-6949)

(cherry picked from commit d8d715f5148d0c10e93a79bc4172fbd9c5b3a86e)

Co-authored-by: Yury Selivanov <yury@magic.io>
6 years agobpo-33559: Document changed repr of exceptions (GH-6943) (GH-6950)
Miss Islington (bot) [Thu, 17 May 2018 18:41:07 +0000 (11:41 -0700)]
bpo-33559: Document changed repr of exceptions (GH-6943) (GH-6950)

(cherry picked from commit 631753fcc5e88bbbad402933e77295675cfe1fee)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
6 years agoOnly upload docs for CI build and not pull requests (GH-6945)
Miss Islington (bot) [Thu, 17 May 2018 18:06:03 +0000 (11:06 -0700)]
Only upload docs for CI build and not pull requests (GH-6945)

(cherry picked from commit 48b1f3773cecb0aec2b14d972bf8453e4e8f807f)

Co-authored-by: Steve Dower <steve.dower@microsoft.com>
6 years agoProvide a little better debug output (GH-6940) (#6942)
Miss Islington (bot) [Thu, 17 May 2018 16:53:24 +0000 (09:53 -0700)]
Provide a little better debug output (GH-6940) (#6942)

(cherry picked from commit 273f51f5ca9dd0420d327c95281b24078f8feeef)

Co-authored-by: Barry Warsaw <barry@python.org>
6 years agobpo-33537: Add an __all__ to importlib.resources (GH-6920) (#6941)
Miss Islington (bot) [Thu, 17 May 2018 16:27:49 +0000 (09:27 -0700)]
bpo-33537: Add an __all__ to importlib.resources (GH-6920) (#6941)

(cherry picked from commit 0ed66df5242138fc599b4735749e55f953d9a1e4)

Co-authored-by: Barry Warsaw <barry@python.org>
6 years agobpo-33522: Enable CI builds on Visual Studio Team Services (GH-6865) (GH-6926)
Miss Islington (bot) [Thu, 17 May 2018 12:49:01 +0000 (05:49 -0700)]
bpo-33522: Enable CI builds on Visual Studio Team Services (GH-6865) (GH-6926)

(cherry picked from commit e5f41d2f1e0b8b8e61d5fa427c19bd1ea90fd9a3)

Co-authored-by: Steve Dower <steve.dower@microsoft.com>
6 years agoUpdate Python Folder.icns icon file to match new macOS look (GH-1780) (GH-6930)
Miss Islington (bot) [Thu, 17 May 2018 09:17:35 +0000 (02:17 -0700)]
Update Python Folder.icns icon file to match new macOS look (GH-1780) (GH-6930)

(cherry picked from commit 74fc9c0c09ba72de39f9b71a61ac8506304b6266)

Co-authored-by: Thomas Jones <thomas@tomtecsolutions.com>
6 years agobpo-33549: Remove shim and deprecation warning to access DocumentLS.async. (GH-6924...
Miss Islington (bot) [Thu, 17 May 2018 09:01:02 +0000 (02:01 -0700)]
bpo-33549: Remove shim and deprecation warning to access DocumentLS.async. (GH-6924) (GH-6929)

`obj.async` is now a syntax error, so the warning/shim is
quasi-unnecessary.
(cherry picked from commit f90f5d5c1d95721e0ca0b1c302e3d13ed34753a8)

Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
6 years agobpo-13631: Fix the order of initialization for readline libedit on macOS. (GH-6915...
Miss Islington (bot) [Thu, 17 May 2018 07:27:33 +0000 (00:27 -0700)]
bpo-13631: Fix the order of initialization for readline libedit on macOS. (GH-6915) (GH-6928)

The editline emulation needs to be initialized *after* the name is
defined. This fixes the long open issue.
(cherry picked from commit c2f082e9d164acfa8f96de9526f0f47ae92c426a)

Co-authored-by: Zvezdan Petkovic <zpetkovic@acm.org>
6 years agoFix ClassVar as string fails when getting type hints (GH-6824) (#6912)
Miss Islington (bot) [Wed, 16 May 2018 22:04:39 +0000 (15:04 -0700)]
Fix ClassVar as string fails when getting type hints (GH-6824) (#6912)

(cherry picked from commit 2d2d3b170bdebc085900bfa2a3bc81b5d132d0a8)

Co-authored-by: Nina Zakharenko <nzakharenko@gmail.com>
6 years agobpo-32216: Update dataclasses documentation (GH-6913) (#6918)
Miss Islington (bot) [Wed, 16 May 2018 20:37:14 +0000 (13:37 -0700)]
bpo-32216: Update dataclasses documentation (GH-6913) (#6918)

(cherry picked from commit 713a9367366c88662c39ed20dd6bce22399299f1)

Co-authored-by: Barry Warsaw <barry@python.org>
6 years agobpo-24318: Rewrite the README PGO section. (GH-6863)
Miss Islington (bot) [Wed, 16 May 2018 16:34:57 +0000 (09:34 -0700)]
bpo-24318: Rewrite the README PGO section. (GH-6863)

* bpo-24318: Rewrite the README PGO section.

Merged from a phone on an airplane. :)
(cherry picked from commit 93f9a8a5afb58b1d2e4f27bb46d3d4e0fa8c08f0)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
6 years agobpo-33536: Validate make_dataclass() field names. (GH-6906)
Miss Islington (bot) [Wed, 16 May 2018 16:28:22 +0000 (09:28 -0700)]
bpo-33536: Validate make_dataclass() field names. (GH-6906)

(cherry picked from commit 4e81296b1874829912c687eba4d39361ab51e145)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
6 years ago[3.7] bpo-32257: Add ssl.OP_NO_RENEGOTIATION (GH-5904) (#6877)
Miss Islington (bot) [Wed, 16 May 2018 14:26:19 +0000 (07:26 -0700)]
[3.7] bpo-32257: Add ssl.OP_NO_RENEGOTIATION (GH-5904) (#6877)

The ssl module now contains OP_NO_RENEGOTIATION constant, available with
OpenSSL 1.1.0h or 1.1.1.

Note, OpenSSL 1.1.0h hasn't been released yet.

Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit 67c48016638aac9a15afe6fd6754d53d2bdd6b76)

Co-authored-by: Christian Heimes <christian@python.org>
6 years agobpo-33503: Fix the broken pypi link in the source and the documentation (GH-6814...
Miss Islington (bot) [Wed, 16 May 2018 14:05:46 +0000 (07:05 -0700)]
bpo-33503: Fix the broken pypi link in the source and the documentation (GH-6814) (GH-6872)

(cherry picked from commit 19177fbd5d6d9b29ccc302d65f9d9417ece082ce)

Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
6 years agoMinor tweaks to dataclasses docs. (GH-6903)
Miss Islington (bot) [Wed, 16 May 2018 13:47:59 +0000 (06:47 -0700)]
Minor tweaks to dataclasses docs. (GH-6903)

(cherry picked from commit 7a1c02750171d9895754da5d560700aaba93da56)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
6 years agobpo-33534: Remove unneeded test. (GH-6897)
Miss Islington (bot) [Wed, 16 May 2018 11:46:32 +0000 (04:46 -0700)]
bpo-33534: Remove unneeded test. (GH-6897)

This condition as already tested before this code is called.
(cherry picked from commit 9285835a05ad0319acef111340266c0f85ed549c)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
6 years agoReflow dataclasses comments (GH-6893)
Miss Islington (bot) [Wed, 16 May 2018 09:49:29 +0000 (02:49 -0700)]
Reflow dataclasses comments (GH-6893)

To be more consistent with other code (and so people stop hassling me!), reflow the dataclasses comments to not use a single space indentation when continuing a paragraph of text.
(cherry picked from commit f8e7549490d61c92b34bf2de3e03ba2f7b0ac6e1)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
6 years agobpo-32216: Add documentation for dataclasses (GH-6886)
Miss Islington (bot) [Wed, 16 May 2018 09:17:03 +0000 (02:17 -0700)]
bpo-32216: Add documentation for dataclasses (GH-6886)

This is an initial version that likely requires much polishing. I'm adding it lay out the structure and so we have something to start working from.
(cherry picked from commit 98d50cb8f57eb227c373cb94b8680b12ec8aade5)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
6 years agobpo-32384: Skip test when _testcapi isn't available (GH-4940)
Miss Islington (bot) [Wed, 16 May 2018 08:35:06 +0000 (01:35 -0700)]
bpo-32384: Skip test when _testcapi isn't available (GH-4940)

(cherry picked from commit 4cc3eb48e1e8289df5153db1c701cae263a1ef86)

Co-authored-by: Isaiah Peng <isaiah@users.noreply.github.com>
6 years agobpo-33453: Handle string type annotations in dataclasses. (GH-6768)
Miss Islington (bot) [Wed, 16 May 2018 04:22:13 +0000 (21:22 -0700)]
bpo-33453: Handle string type annotations in dataclasses. (GH-6768)

(cherry picked from commit 2a7bacbd913cf2bf568b3c0f85a758946d3cf4e9)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
6 years agobpo-30928: Update idlelib/NEWS.txt to 2018-05-14. (GH-6873)
Miss Islington (bot) [Wed, 16 May 2018 00:48:17 +0000 (17:48 -0700)]
bpo-30928: Update idlelib/NEWS.txt to 2018-05-14. (GH-6873)

(cherry picked from commit 038b21f2caaed0f02fee524277cc61e2c6ae0e9a)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
6 years agobpo-33465: Use an unlikely to be built-in C extension in a test (GH-6797) (#6869)
Miss Islington (bot) [Tue, 15 May 2018 21:24:26 +0000 (14:24 -0700)]
bpo-33465: Use an unlikely to be built-in C extension in a test (GH-6797) (#6869)

(cherry picked from commit 8709b236fc997077d24b4802320db287640f82e2)

Co-authored-by: Barry Warsaw <barry@python.org>
6 years agobpo-33509: Fix _warnings for module_globals=None (GH-6833)
Miss Islington (bot) [Tue, 15 May 2018 20:56:28 +0000 (13:56 -0700)]
bpo-33509: Fix _warnings for module_globals=None (GH-6833)

Don't crash on warnings.warn_explicit() if module_globals is not a dict.
(cherry picked from commit b056562860c227bad2e0ba7cd3130e115c007768)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
6 years agobpo-29706: Test that IDLE colors async/await as keywords. (GH-6846)
Miss Islington (bot) [Tue, 15 May 2018 19:57:13 +0000 (12:57 -0700)]
bpo-29706: Test that IDLE colors async/await as keywords. (GH-6846)

Added to the eye-verified htest, not to the unittests.
Also remove some stray leftover comments.
(cherry picked from commit 389a48ede92bf7965889d554d2cd17b50d6e3d86)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
6 years agobpo-28167: bump platform.linux_distribution removal to 3.8 (GH-6669) (GH-6862)
Miss Islington (bot) [Tue, 15 May 2018 17:30:06 +0000 (10:30 -0700)]
bpo-28167: bump platform.linux_distribution removal to 3.8 (GH-6669) (GH-6862)

Also bump PendingDeprecationWarning to DeprecationWarning.
(cherry picked from commit 9eb40bc38de83e6ad3fad1931bba1cd36ae88c24)

Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
6 years agobpo-32604: Remove xid registry. (#6813)
Eric Snow [Tue, 15 May 2018 13:56:18 +0000 (09:56 -0400)]
bpo-32604: Remove xid registry. (#6813)

Remove the interpreters testing helper (and xid registry).

6 years agobpo-33517: dataclasses: Add the field type to Field repr (GH-6858)
Miss Islington (bot) [Tue, 15 May 2018 13:01:51 +0000 (06:01 -0700)]
bpo-33517: dataclasses: Add the field type to Field repr (GH-6858)

(cherry picked from commit 01abc6ec3a61769c55ee86834a432fb97801d28f)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
6 years agoRemove accidentally checked in files. (GH-6835) (GH-6844)
Miss Islington (bot) [Tue, 15 May 2018 08:48:07 +0000 (01:48 -0700)]
Remove accidentally checked in files. (GH-6835) (GH-6844)

(cherry picked from commit 046d311654eb15ccc8f471290334f7ac6aad5f15)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>