Mark Dickinson <dicki...@gmail.com> added the comment: Fixed in r72564 (trunk), r72565 (py3k). The trailing whitespace bugfix was backported in r72566 (2.6) and r72567 (3.0), but those versions still use locale-aware isspace and islower.
As a semi-accidental by-product, the fix also changes the behaviour of float.fromhex('-nan'): previously, float.fromhex('-nan') and float.fromhex('nan') had the same sign; now they have opposite signs. Sane code that's affected by the sign bit of a nan should be extremely rare, so I don't think this change is going to bother anyone. ---------- resolution: -> fixed status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5981> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com