homepage

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 chris.jerdonek
Recipients Arfrever, chris.jerdonek, docs@python
Date 2012年09月17日.06:26:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347863171.14.0.406711320106.issue15952@psf.upfronthosting.co.za>
In-reply-to
Content
See this code comment:
/* don't define FORMAT_LONG, FORMAT_FLOAT, and FORMAT_COMPLEX, since
 we can live with only the string versions of those. The builtin
 format() will convert them to unicode. */
from http://hg.python.org/cpython/file/19601d451d4c/Python/formatter_unicode.c
In other words, it was deliberate not to make value.__format__(format_spec) return unicode when format_spec is unicode. So the docs should be adjusted to say that they are not always the same.
History
Date User Action Args
2012年09月17日 06:26:11chris.jerdoneksetrecipients: + chris.jerdonek, Arfrever, docs@python
2012年09月17日 06:26:11chris.jerdoneksetmessageid: <1347863171.14.0.406711320106.issue15952@psf.upfronthosting.co.za>
2012年09月17日 06:26:10chris.jerdoneklinkissue15952 messages
2012年09月17日 06:26:10chris.jerdonekcreate

AltStyle によって変換されたページ (->オリジナル) /