In message <01e842d6$0$20654$c3e8...@news.astraweb.com>, Steven D'Aprano 
wrote:

> Firstly, what you describe is an implementation detail of CPython, not
> Python the language. Jython does not close files as soon as they become
> inaccessible, and IronPython and CLPython may not.

That's a limitation of Java-like virtual machines, which I have no intention 
of condonig.

> Secondly, even in CPython things may not be so simple. Not all file-like
> objects are built-in file objects.

Why is this relevant?

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to