Message170587
| 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:11 | chris.jerdonek | set | recipients: + chris.jerdonek, Arfrever, docs@python |
| 2012-09-17 06:26:11 | chris.jerdonek | set | messageid: <1347863171.14.0.406711320106.issue15952@psf.upfronthosting.co.za> |
| 2012-09-17 06:26:10 | chris.jerdonek | link | issue15952 messages |
| 2012-09-17 06:26:10 | chris.jerdonek | create | |