This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author orsenthil
Recipients jhylton, jwilk, orsenthil, pl
Date 2009-01-02.21:30:41
SpamBayes Score 0.0002731116
Marked as misclassified No
Message-id <1230931843.41.0.170339991371.issue4608@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2009-01-02 21:30:43orsenthilsetrecipients: + orsenthil, jhylton, jwilk, pl
2009-01-02 21:30:43orsenthilsetmessageid: <1230931843.41.0.170339991371.issue4608@psf.upfronthosting.co.za>
2009-01-02 21:30:42orsenthillinkissue4608 messages
2009-01-02 21:30:42orsenthilcreate