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.
Created on 2012年01月12日 15:15 by Jim.Jewett, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg151128 - (view) | Author: Jim Jewett (Jim.Jewett) * (Python triager) | Date: 2012年01月12日 15:15 | |
http://docs.python.org/library/string.html#format-specification-mini-language defines fill ::= <a character other than '}'> and the text also excludes '{'. It does not require that the fill character be ASCII. However, function parse_internal_render_format_spec http://hg.python.org/cpython/file/c2153ce1b5dd/Python/formatter_unicode.c#l277 raises a ValueError if fill_char > 127. I'm honestly not certain which of the three is correct, but they should be consistent, and if anything but '{' is excluded, it would be best to explain why. |
|||
| msg151130 - (view) | Author: Eric V. Smith (eric.smith) * (Python committer) | Date: 2012年01月12日 15:30 | |
This is a duplicate of issue 13706. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:25 | admin | set | github: 57985 |
| 2012年01月12日 15:30:14 | eric.smith | set | status: open -> closed nosy: + eric.smith messages: + msg151130 resolution: duplicate stage: resolved |
| 2012年01月12日 15:15:10 | Jim.Jewett | create | |