[Python-Dev] [Python-checkins] r65099 - python/trunk/Doc/library/string.rst
Mark Dickinson
dickinsm at gmail.com
Fri Jul 18 23:08:47 CEST 2008
On Fri, Jul 18, 2008 at 6:10 PM, Eric Smith
<eric+python-dev at trueblade.com> wrote:
> Do we want to document the actual behavior, or do we want to normalize all
> platforms so that they all return 'nan' and 'inf'?
I seem to recall that Christian Heimes recently put some work into
making sure that repr() or str() of an infinity or nan is 'inf' or 'nan'
(or '-inf'), regardless of platform.
+1 for normalizing '%f' and '%F' behaviour across platforms.
Mark
More information about the Python-Dev
mailing list