[Python-3000] range() issues

Facundo Batista facundobatista at gmail.com
Thu May 1 20:20:10 CEST 2008


2008年4月30日, Nick Coghlan <ncoghlan at gmail.com>:
> In the bug tracker, Alexander mentioned the possibility of removing
> __length__ and __getitem__ support from range() objects in py3k, and
> implementing only __length_hint__ instead (leaving range() as a bare-bones
> iterable). I'm starting to like that idea more and more.

+1
-- 
. Facundo
Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/


More information about the Python-3000 mailing list

AltStyle によって変換されたページ (->オリジナル) /