[New-bugs-announce] [issue29104] Left bracket remains in format string result when '\' preceeds it
Jim Fasarakis-Hilliard
report at bugs.python.org
Thu Dec 29 06:56:25 EST 2016
New submission from Jim Fasarakis-Hilliard:
In short:
>>> f"\{10}"
yields:
"\\{10"
This is reproducible only when `\` precedes the opening bracket, that is:
>>> f"\ {10}"
results in: "\\ 10"
----------
components: Interpreter Core
messages: 284249
nosy: Jim Fasarakis-Hilliard
priority: normal
severity: normal
status: open
title: Left bracket remains in format string result when '\' preceeds it
versions: Python 3.6, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29104>
_______________________________________
More information about the New-bugs-announce
mailing list