Alan Morgan wrote: > >How would xrange(100).remove(1) work? > > One way is by first converting the xrange to a list. If we think of > the xrange as an efficient and space lean way to store certain types > of lists then it isn't unreasonable to return a regular list when > the conditions no longer hold.
do you understand Python's object model to be able to suggest how such a conversion could be done, or is that someone else's problem ? </F> -- http://mail.python.org/mailman/listinfo/python-list