Message78880
Jakub,
I have attached a revision to the patch.
You are right, when __iter__ returns self.fp (as in previous patch), the
__next__ is superflous.
But, I was thinking of __iter__ returning an instance of addbase,
instead of self.fp and in that case __next__ was required. But I see
that i had not changed self.fp to self.
This is implemented in the similar lines of IOBase class, io.py
w.r.t to your other comment, why do you think __next__ implementation is
incorrect?
Thanks,
Senthil |
|
Date |
User |
Action |
Args |
2009-01-02 21:30:43 | orsenthil | set | recipients:
+ orsenthil, jhylton, jwilk, pl |
2009-01-02 21:30:43 | orsenthil | set | messageid: <1230931843.41.0.170339991371.issue4608@psf.upfronthosting.co.za> |
2009-01-02 21:30:42 | orsenthil | link | issue4608 messages |
2009-01-02 21:30:42 | orsenthil | create | |
|