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 ron_adam
Recipients brett.cannon, ned.deily, ron_adam
Date 2013-08-14.19:15:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1376507744.04.0.229117464658.issue18740@psf.upfronthosting.co.za>
In-reply-to
Content
I get the same resluts if I make the string by str(123.0).  I was thinking it should test True for the isdecimal case for that.

It seems I missunderstood their purpose/use.  This seems like it would be a very common misunderstanding.

It appears, (Because it isn't stated in the doc strings), that they are for testing what specific sub-group of unicode data, the individual character(s) are in.  I think the methods doc strings should say this and be worded so they are more character specific.  

   """ Tests each character, and returns true if
    all of them are in the unicode _______ sub-group. """

As for testing weather or not a string as a whole represents a number value, it seems try/except is still the best way.  :-/
History
Date User Action Args
2013-08-14 19:15:44ron_adamsetrecipients: + ron_adam, brett.cannon, ned.deily
2013-08-14 19:15:44ron_adamsetmessageid: <1376507744.04.0.229117464658.issue18740@psf.upfronthosting.co.za>
2013-08-14 19:15:43ron_adamlinkissue18740 messages
2013-08-14 19:15:43ron_adamcreate