◐ Shell
clean mode source ↗

Message 86050 - Python tracker

A somewhat related comment about formatting of infs and nans:  I think 
that a formatted nan should never include a sign, even when it's 
explicitly asked for.  For example:

"%+e" % float('nan')

should give "nan" rather than "+nan" or "-nan".  (In contrast, infinities 
should, and currently do, get the requested sign.)