In message <mailman.3332.1238914117.11746.python-l...@python.org>, Terry 
Reedy wrote:

> Lawrence D'Oliveiro wrote:
>
>> All Python objects are reference-counted.
> 
> Nope.  Only in CPython, and even that could change.

Why should it?

>> Once the file object becomes
>> inaccessible, it is automatically closed. Simple.
> 
> Even in CPython, that would not be true now is the object became
> involved in or became a dependent of a reference cycle.

And how exactly would that happen with a file object?

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

Reply via email to