[Tutor] Limitation of int() in converting strings

Alan Gauld alan.gauld at btinternet.com
Mon Dec 17 19:00:17 CET 2012


On 17/12/12 14:36, Oscar Benjamin wrote:

> > Even stranger since the underlying atoi() C function

> Also, are you sure that atoi() is used in CPython?

Nope, just making assumptions! :-0

As Eryksun points out Python uses its own C code for this.

assume == ass u me :-(

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/



More information about the Tutor mailing list