[Python-ideas] Hexadecimal floating literals

Koos Zevenhoven k7hoven at gmail.com
Tue Sep 12 09:17:49 EDT 2017


On Tue, Sep 12, 2017 at 2:30 PM, Chris Angelico <rosuav at gmail.com> wrote:

>
> Your specific example doesn't work as int() won't accept that by
> default - you have to explicitly say "base=0" to make that acceptable.
> But we have other examples where what used to be an error is now
> acceptable:


​​I'm surprised that it's not "base=None".

––Koos​​



-- 
+ Koos Zevenhoven + http://twitter.com/k7hoven +
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170912/bb9b4f83/attachment.html>


More information about the Python-ideas mailing list