[Python-ideas] int('0x3241fca1')

Ram Rachum ram.rachum at gmail.com
Thu Feb 6 11:24:12 CET 2014


What do you think about letting the `int` constructor automatically 
understand the number type without specifying base if given a prefix, so 
int('0x3414fa') would immediately work without specifying a base of 16?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140206/e711dccf/attachment.html>


More information about the Python-ideas mailing list