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 martin.panter
Recipients eric.smith, martin.panter, petr.viktorin
Date 2016-02-05.01:39:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454636400.36.0.857806534536.issue26287@psf.upfronthosting.co.za>
In-reply-to
Content
I had to recompile with “--with-pydebug” to get the crash. I know f-strings don’t support the lambda syntax very well, but I can also make it crash without using lambda:

>>> f"{ {1: 2}:x}"
Fatal Python error: Python/ceval.c:3576 object at 0x7fa32ab030c8 has negative ref count -1
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: non-empty format string passed to object.__format__
Aborted (core dumped)
History
Date User Action Args
2016-02-05 01:40:00martin.pantersetrecipients: + martin.panter, eric.smith, petr.viktorin
2016-02-05 01:40:00martin.pantersetmessageid: <1454636400.36.0.857806534536.issue26287@psf.upfronthosting.co.za>
2016-02-05 01:40:00martin.panterlinkissue26287 messages
2016-02-05 01:39:59martin.pantercreate