string.atoi() doesn't do negative base16 - why??

Moshe Zadka moshez at math.huji.ac.il
Mon Jun 12 13:07:46 EDT 2000


On Mon, 12 Jun 2000, Robert Cragie wrote:

> string.atoi('0xffffffec',0)

Or, just use longs and string.atol

Premature optimization and all that.

--
Moshe Zadka <moshez at math.huji.ac.il>
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com





More information about the Python-list mailing list