Message81347
| Author |
georg.brandl |
| Recipients |
georg.brandl |
| Date |
2009年02月07日.20:04:36 |
| SpamBayes Score |
4.8310176e-05 |
| Marked as misclassified |
No |
| Message-id |
<1234037080.37.0.0531724857804.issue5179@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The test case below will (on Linux here) eventually quit with "OSError:
[Errno 24] Too many open files". I assume that some additional cleaning
up is in order.
-------------------------------------------------------------------
from subprocess import Popen, PIPE
while 1:
try:
Popen(['nonexisting'], stdout=PIPE, stderr=PIPE)
except OSError, err:
if err.errno != 2: # ignore "no such file"
raise |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年02月07日 20:04:40 | georg.brandl | set | recipients:
+ georg.brandl |
| 2009年02月07日 20:04:40 | georg.brandl | set | messageid: <1234037080.37.0.0531724857804.issue5179@psf.upfronthosting.co.za> |
| 2009年02月07日 20:04:36 | georg.brandl | link | issue5179 messages |
| 2009年02月07日 20:04:36 | georg.brandl | create |
|