[pypy-dev] RFC: draft idea for making for loops automatically close iterators
Armin Rigo
armin.rigo at gmail.com
Sat Oct 22 19:28:14 EDT 2016
Hi again,
On 23 October 2016 at 01:23, Armin Rigo <armin.rigo at gmail.com> wrote:
> then "it works fine in CPython"
I forgot the usual "if you don't have references from a cycle" here.
That is, it works fine in CPython unless your object graph is in some
shape that is hard to predict, relatively rare, and can be created
internally by the implementation (or its next version). Not very sane
to *rely* on that for programs to work, imho.
A bientôt,
Armin.
More information about the pypy-dev
mailing list