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 eric.smith
Recipients eric.smith, mark.dickinson, skrah
Date 2009-09-07.13:42:14
SpamBayes Score 4.357264e-07
Marked as misclassified No
Message-id <1252330936.43.0.253303390161.issue6850@psf.upfronthosting.co.za>
In-reply-to
Content
The test as written will always give an error for None. I think the
better fix is to change it to be:

if format_dict['type'] is None or format_dict['type'] in 'gG':

That "fixes" this particular exception, but since the format specifier
is invalid, it produces nonsense. I think Decimal's format parser needs
to detect this as an error.
History
Date User Action Args
2009-09-07 13:42:16eric.smithsetrecipients: + eric.smith, mark.dickinson, skrah
2009-09-07 13:42:16eric.smithsetmessageid: <1252330936.43.0.253303390161.issue6850@psf.upfronthosting.co.za>
2009-09-07 13:42:15eric.smithlinkissue6850 messages
2009-09-07 13:42:14eric.smithcreate