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 Ilya Kamenshchikov
Recipients Ilya Kamenshchikov, Todd.Rovito, docs@python, eric.araujo, eric.smith, flox, gosella, kisielk, marco.buttu, mark.dickinson, mrabarnett, rhettinger, terry.reedy
Date 2019-07-13.10:17:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Py3.6+ f-strings support any indexing as they actually evaluate python expressions. 

>>> a = ['Java', 'Python']
>>> var = f"Hello {a[-1]}"
Hello Python
Date User Action Args
2019-07-13 10:17:19Ilya Kamenshchikovsetrecipients: + Ilya Kamenshchikov, rhettinger, terry.reedy, mark.dickinson, eric.smith, kisielk, eric.araujo, mrabarnett, flox, docs@python, gosella, Todd.Rovito, marco.buttu
2019-07-13 10:17:19Ilya Kamenshchikovsetmessageid: <>
2019-07-13 10:17:18Ilya Kamenshchikovlinkissue7951 messages
2019-07-13 10:17:18Ilya Kamenshchikovcreate