Message238796
Yes, in bug2.py we have different cycle.
a ↔ b
↓ ↓
v → d
a and b are in a cycle, and therefore v and d are in cycle. I think that in such case v always should be destroyed before d, independently of a cycle that refers them. And this is the same situation, as for io classes. A TextIOWrapper object refers a BufferedWriter object, a BufferedWriter object refers a FileIO object. and some cycle refers a TextIOWrapper object. As a result a FileIO object can be closed before a TextIOWrapper object or a BufferedWriter object flush its buffer. |
|
Date |
User |
Action |
Args |
2015-03-21 12:39:25 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, tim.peters, amaury.forgeotdarc, pitrou, martin.panter, Vadim Markovtsev, Alexey Kazantsev |
2015-03-21 12:39:25 | serhiy.storchaka | set | messageid: <1426941565.36.0.00297729026688.issue23720@psf.upfronthosting.co.za> |
2015-03-21 12:39:25 | serhiy.storchaka | link | issue23720 messages |
2015-03-21 12:39:25 | serhiy.storchaka | create | |
|