[issue34868] bad error message when combining _ grouping specifier with invalid type

Benjamin Peterson report at bugs.python.org
Tue Oct 2 00:10:59 EDT 2018


New submission from Benjamin Peterson <benjamin at python.org>:

>>> format(34, '_n')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: Cannot specify ',' with 'n'.

Why is it talking about ","?

----------
components: Interpreter Core
messages: 326848
nosy: benjamin.peterson
priority: normal
severity: normal
status: open
title: bad error message when combining _ grouping specifier with invalid type
versions: Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34868>
_______________________________________


More information about the Python-bugs-list mailing list