Message40547
Logged In: YES
user_id=6380
Alas, there's a fatal flaw. The file object and the
xreadlines object now both have pointers to each other,
creating an unbreakable cycle (since neither participates in
GC). Weak refs can't be used to resolve this dilemma. I
personally think that's enough to just stick with the status
quo (I was never more than +0 on the idea of making the file
an interator anyway). But I'll leave it to Oren to come up
with another hack (please use this same SF patch).
Oren, if you'd like to give up, please say so and I'll close
the item in a jiffy. In fact, I positively encourage you to
give up. But I don't expect you to take this offer. :-) |
|
Date |
User |
Action |
Args |
2007-08-23 15:14:05 | admin | link | issue580331 messages |
2007-08-23 15:14:05 | admin | create | |
|