<div dir="ltr"><div class="gmail_extra">So with the proposal, you'd likely do something like</div><div class="gmail_extra"><br></div><div class="gmail_extra">from math import nan, inf</div><div class="gmail_extra"><br></div><div class="gmail_extra">Couldn't you just instead putĀ </div><div class="gmail_extra"><br></div><div class="gmail_extra">nan, inf = float("nan"), float("inf")</div><div class="gmail_extra"><br></div><div class="gmail_extra">at the top of your script? I don't really think this is any more verbose than an import from the math module. (Unless you're already doing an import star from math)</div></div>