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.

Author JelleZijlstra
Recipients JelleZijlstra, barry, eric.smith, martin.panter, python-dev, yselivanov
Date 2015-09-13.00:15:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Is this behavior intentional?

>>> str = len
>>> x = 'foo'
>>> f'{x!s}'
>>> '{!s}'.format(x)

Or similarly:

>>> import builtins
>>> del builtins.repr
>>> f'{x!r}'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'repr' is not defined
Date User Action Args
2015-09-13 00:15:37JelleZijlstrasetrecipients: + JelleZijlstra, barry, eric.smith, python-dev, martin.panter, yselivanov
2015-09-13 00:15:37JelleZijlstrasetmessageid: <>
2015-09-13 00:15:36JelleZijlstralinkissue24965 messages
2015-09-13 00:15:35JelleZijlstracreate