Message86344
> Maybe if you explicitly ask for the "sign" of a NaN, it should
> always be a space.
Actually, I think '+nan' for format(float('nan'), '+'), and ' nan'
for format(float('nan'), ' '). Then nans and infs can be treated
identically, except that the sign of a nan is always considered to be
positive, regardless of what the _Py_dg_dtoa function returns.
> And when requesting leading zeros, you also get leading spaces
> instead?
Should do the same thing for nans and infs here. But certainly leading
zeros should be avoided. Leading spaces sounds fine to me. |
|
Date |
User |
Action |
Args |
2009-04-22 22:46:09 | mark.dickinson | set | recipients:
+ mark.dickinson, cito, eric.smith, stutzbach, cdavid, dino.viehland |
2009-04-22 22:46:09 | mark.dickinson | set | messageid: <1240440369.78.0.295171052783.issue4482@psf.upfronthosting.co.za> |
2009-04-22 22:46:08 | mark.dickinson | link | issue4482 messages |
2009-04-22 22:46:07 | mark.dickinson | create | |
|