This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cdavid
Recipients cdavid, christian.heimes, mark.dickinson, rhettinger
Date 2008-12-31.09:13:59
SpamBayes Score 2.3213673e-08
Marked as misclassified No
Message-id <1230714842.91.0.101150397094.issue2121@psf.upfronthosting.co.za>
In-reply-to
Content
I disagree the feature is not needed, for several reasons:
 - complex(repr(..)) roundtrip should work, whatever the value of complex is
 - it is supported for float, so why not for complex ?
 - I believe on the contrary it solves a very real problem: incidently,
I got interested in this patch while working on numpy, and it is
certainly useful to be able to parse nan and inf (for example when we
create arrays from strings). Nan may be seen as non useful for so called
real usage of python, but for scientific people, it is a crucial to have
proper support of nan (which may mean missing data depending on the
context) and inf.
 - it does not add complexity: I would argue that independantly of
nan/inf support, my patch makes the function simpler to follow (no state
machine with done/sw_error/etc... state).
History
Date User Action Args
2008-12-31 09:14:03cdavidsetrecipients: + cdavid, rhettinger, mark.dickinson, christian.heimes
2008-12-31 09:14:02cdavidsetmessageid: <1230714842.91.0.101150397094.issue2121@psf.upfronthosting.co.za>
2008-12-31 09:14:01cdavidlinkissue2121 messages
2008-12-31 09:14:00cdavidcreate