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 kespindler
Recipients kespindler
Date 2014-01-13.18:48:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389638887.29.0.324393072251.issue20242@psf.upfronthosting.co.za>
In-reply-to
Content
I created a patch that fixes this behavior for both { and $ style formats.

Previously, default format strings were not being set correctly for those styles. This patch ensures that the correct default_format string is used.

There is a minor "weirdness" issue that, due to there previously being 2 different default format strings for % style formatting, some tests rely on one, and some tests rely on the other. My patch remains backwards compatible with both default styles of format strings.

This patch also includes test cases for behavior with the style keyword, which was not being tested before.
History
Date User Action Args
2014-01-13 18:48:07kespindlersetrecipients: + kespindler
2014-01-13 18:48:07kespindlersetmessageid: <1389638887.29.0.324393072251.issue20242@psf.upfronthosting.co.za>
2014-01-13 18:48:07kespindlerlinkissue20242 messages
2014-01-13 18:48:07kespindlercreate