itoa -- oops.

Stuart Reynolds S.I.Reynolds at cs.bham.ac.uk
Tue Mar 14 12:05:07 CET 2000


Alex wrote:
> 
> > I'm not aware of one, but it's easy to roll your own...
> 
> That wasn't really safe.  You could get into infinite loops with
> non-integer or negative inputs.  This version should cope with that:

Pukka! Just the job.

Cheers,

Stuart



More information about the Python-list mailing list