Commit 17ace7a0 authored by Ross Lagerwall's avatar Ross Lagerwall

Merge with 3.1

parents d8f2d50c b8a5769a
...@@ -1226,6 +1226,7 @@ class POSIXProcessTestCase(BaseTestCase): ...@@ -1226,6 +1226,7 @@ class POSIXProcessTestCase(BaseTestCase):
stdout=subprocess.PIPE, stdout=subprocess.PIPE,
bufsize=0) bufsize=0)
f = p.stdout f = p.stdout
self.addCleanup(f.close)
try: try:
self.assertEqual(f.read(4), b"appl") self.assertEqual(f.read(4), b"appl")
self.assertIn(f, select.select([f], [], [], 0.0)[0]) self.assertIn(f, select.select([f], [], [], 0.0)[0])
......
...@@ -354,6 +354,7 @@ Brian Harring ...@@ -354,6 +354,7 @@ Brian Harring
Larry Hastings Larry Hastings
Shane Hathaway Shane Hathaway
Rycharde Hawkes Rycharde Hawkes
Ben Hayden
Jochen Hayek Jochen Hayek
Christian Heimes Christian Heimes
Thomas Heller Thomas Heller
......
...@@ -53,6 +53,9 @@ Core and Builtins ...@@ -53,6 +53,9 @@ Core and Builtins
Library Library
------- -------
- Issue #11659: Fix ResourceWarning in test_subprocess introduced by #11459.
Patch by Ben Hayden.
- Issue #11635: Don't use polling in worker threads and processes launched by - Issue #11635: Don't use polling in worker threads and processes launched by
concurrent.futures. concurrent.futures.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment