Issue 10234: ResourceWarnings in test_subprocess (original) (raw)

Issue10234

Created on 2010-10-29 16:27 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg119916 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-10-29 16:27
Since r85920, test_subprocess has been showing a bunch of ResourceWarnings. It seems that the pipe objects don't get explicitly closed in wait() or __del__, while they do in communicate().
msg132605 - (view) Author: Sandro Tosi (sandro.tosi) * (Python committer) Date: 2011-03-30 19:02
On a freshly built 3.3 I don't get those RW anymore: $ ./python -bb -E -Wd -m test -r -w -uall test_subprocess Using random seed 7436992 [1/1] test_subprocess . this bit of output is from a test of stdout in a different process ... . this bit of output is from a test of stdout in a different process ... . this bit of output is from a test of stdout in a different process ... . this bit of output is from a test of stdout in a different process ... 1 test OK. As briefly discussed on IRC, I'm closing this as out-of-date.
History
Date User Action Args
2022-04-11 14:57:08 admin set github: 54443
2011-03-30 19:02:05 sandro.tosi set status: open -> closednosy: + sandro.tosimessages: + resolution: out of date
2010-10-29 16:27:29 pitrou create