<div dir="ltr">On Thu, Sep 21, 2017 at 8:23 AM, Victor Stinner <span dir="ltr"><<a href="mailto:victor.stinner@gmail.com" target="_blank">victor.stinner@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">While I was first in favor of extending the Python syntax, I changed<br>
my mind. Float constants written in hexadecimal is a (very?) rare use<br>
case, and there is already float.fromhex() available.<br>
<br>
A new syntax is something more to learn when you learn Python. Is it<br>
worth it? I don't think so. Very few people need to write hexadecimal<br>
constants in their code.<br></blockquote><div><br></div><div>It is inconsistent that you can write hexadecimal integers but not floating point numbers. Consistency in syntax is <i>fewer</i> things to learn, not more. That said, I agree it's a rare use case, so it probably doesn't matter much either way.</div><div><br></div><div>- Lucas<br></div></div></div></div>