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 iritkatriel
Recipients Ilya Kamenshchikov, Todd.Rovito, docs@python, eric.araujo, eric.smith, flox, gosella, iritkatriel, kisielk, marco.buttu, mark.dickinson, mrabarnett, rhettinger, terry.reedy
Date 2021-11-29.17:18:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Reproduced on 3.11, and the error message is a little weirder now:

>>> "{0[-1]}".format('fox')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: string indices must be integers, not 'str'
Date User Action Args
2021-11-29 17:18:19iritkatrielsetrecipients: + iritkatriel, rhettinger, terry.reedy, mark.dickinson, eric.smith, kisielk, eric.araujo, mrabarnett, flox, docs@python, gosella, Todd.Rovito, marco.buttu, Ilya Kamenshchikov
2021-11-29 17:18:19iritkatrielsetmessageid: <>
2021-11-29 17:18:19iritkatriellinkissue7951 messages
2021-11-29 17:18:19iritkatrielcreate