what happens to Popen()'s parent-side file descriptors?

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Fri Oct 15 02:28:17 EDT 2010


In message <i968f501v7i at news6.newsguy.com>, Chris Torek wrote:

> Running the above code fragment in a different implementation, in
> which garbage collection is deferred, would *not* close the file
> descriptor, and the system would potentially run out (depending on
> when a gc occurred, and/or whether the system would attempt gc on
> running out of file descriptors, in the hope that the gc would free
> some up).

Aren’t you glad IronPython is dead?



More information about the Python-list mailing list