Arithmetic sequences in Python

Alex Martelli aleax at
Mon Jan 23 02:05:14 CET 2006

Paul Rubin <> wrote:

> Steve Holden <steve at> writes:
> > > The current list function is supposed to be something like a
> > > typecast:
> > >
> > list() isn't a function, it's a type.
> I'm not sure what the distinction is supposed to be.  "list" is anyway

You can subclass a type, you can check for it with isinstance, etc, all
things you couldn't do if list was still a factory function as in 2.1
and back.


More information about the Python-list mailing list