Message332052
It is not easy to avoid reference cycles if use a generator function. And generator function is much faster than an implementation as a class with the __next__ method. We need to access the iterator object from the code of the generator function, and this creates a cycle. |
|
Date |
User |
Action |
Args |
2018-12-18 11:53:29 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, scoder, vstinner, eli.bendersky, jess.j |
2018-12-18 11:53:29 | serhiy.storchaka | set | messageid: <1545134009.87.0.788709270274.issue35502@psf.upfronthosting.co.za> |
2018-12-18 11:53:29 | serhiy.storchaka | link | issue35502 messages |
2018-12-18 11:53:29 | serhiy.storchaka | create | |
|