[Patches] Multiply sequences by longs

Andrew M. Kuchling akuchlin@mems-exchange.org
Mon, 14 Feb 2000 17:16:00 -0500 (EST)

Guido van Rossum writes:
>> Question: should other bits of the core be changed to accept long
>> ints?  Slicing, for instance, as in mylist[ 0L:5L ]?  (python-dev
>> topic, maybe?)
>Yes, that's been a longstanding desire.  I think it's okay to do this
>one case at a time.  Note that even before slicing comes indexing!

OK; if I have a mandate to fixing slicing and indexing, too, then I'll
hold off on checking in any documentation changes until that's done.
(No point in writing text that says "* can also take a long integer"
when it'll have to be changed to say "* and slicing..." in the next

I'll check in the sequence multiplying patch now, and will send
patches@python.org the remaining changes to abstract.c sometime this

A.M. Kuchling			http://starship.python.net/crew/amk/
Among the most graceful of birds, they have the ugliest faces; in the
countenance of a seagull we observe all the bitter hatred and malignance which
we usually associate with the faces of money-lenders or book censors.
    -- Robertson Davies, _The Table Talk of Samuel Marchbanks_