Pre-PEP: reverse iteration methods

Christos TZOTZIOY Georgiou tzot at sil-tec.gr
Thu Sep 25 01:22:30 CEST 2003


On Wed, 24 Sep 2003 20:46:16 +0200, rumours say that Peter Otten
<__peter__ at web.de> might have written:

>      # let inifinite iterators identify themselves     
>      assert not hasattr(obj, 'infinite') 
>
>As infinite iterators are rare, it would not be too cumbersome to let them
>identify themselves as such.

This is an interesting idea.
-- 
TZOTZIOY, I speak England very best,
Microsoft Security Alert: the Matrix began as open source.




More information about the Python-list mailing list