kespindler added the comment:
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.
----------
keywords: +patch
Added file: http://bugs.python.org/file33446/Issue20242.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue20242>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com