[Python-Dev] range objects in 3.x (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Fri Sep 23 23:06:24 CEST 2011
- Previous message: [Python-Dev] range objects in 3.x
- Next message: [Python-Dev] range objects in 3.x
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Le Fri, 23 Sep 2011 13:23:26 -0700, Ethan Furman <ethan at stoneleaf.us> a écrit :
So the question becomes, Why does it implement the Sequence ABC?
Because these operations are trivial to implement and it would be suboptimal to have to instantiate the full list to run them?
- Previous message: [Python-Dev] range objects in 3.x
- Next message: [Python-Dev] range objects in 3.x
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]