[New-bugs-announce] [issue2598] "{ +(}".format(**{' +(': 44}) should produce ValueError: invalid identifier, ' +(' in format

Bruce Frederiksen report at bugs.python.org
Tue Apr 8 21:38:44 CEST 2008


New submission from Bruce Frederiksen <dangyogi at gmail.com>:

Format strings are documented to only allow identifiers or integers as
the field_name, but allow almost anything.

Python 3.0a3

----------
components: Interpreter Core
messages: 65209
nosy: dangyogi
severity: normal
status: open
title: "{ +(}".format(**{' +(': 44}) should produce ValueError: invalid identifier, ' +(' in format
type: behavior
versions: Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2598>
__________________________________


More information about the New-bugs-announce mailing list