Re: [pypy-dev] RFC: draft idea for making for loops automatically close iterators

2016-10-21 Thread Alex S.
That’s a good point, as it means there’s probably no safe & portable way to ensure that kind of stuff. «Trying to collect» something doesn’t really fall short of an actual collection, I believe (finding referers is hard). But I believe iterclose() defined appropriately on derived iterators would

Re: [pypy-dev] Dontbug: A reversible debugger for PHP (similar in concept to RevDB for Python/PyPy)

2016-10-21 Thread Sidharth Kshatriya
Hi Maciej, Yes, Dontbug is built on top of RR. Mozilla/RR can be finicky at times but overall I had a very good experience with it. I developed Dontbug on Ubuntu 16.04 and I found RR to be pretty robust on that distro at least. I did encounter a serious regression once (I was on a bleeding edge

Re: [pypy-dev] RFC: draft idea for making for loops automatically close iterators

2016-10-21 Thread hubo
Well I'm really shocked to find out what I thought was a "automatic close" is really the ref-couting GC of CPython, means that a lot of my code breaks in PyPy... It really becomes a big problem after iterators heavily used in Python nowadays. Some builtin functions like zip, map, filter return