Author petr.viktorin
Recipients eric.smith, petr.viktorin
Date 2016-02-05.01:21:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454635285.76.0.309799685579.issue26287@psf.upfronthosting.co.za>
In-reply-to
Content
Evaluating the expression f"{(lambda: 0):x}" crashes Python.

$ ./python
Python 3.6.0a0 (default, Feb  5 2016, 02:14:48) 
[GCC 5.3.1 20151207 (Red Hat 5.3.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> f"{(lambda: 0):x}"  
Fatal Python error: Python/ceval.c:3576 object at 0x7f6b42f21338 has negative ref count -2604246222170760230
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:21:25petr.viktorinsetrecipients: + petr.viktorin, eric.smith
2016-02-05 01:21:25petr.viktorinsetmessageid: <1454635285.76.0.309799685579.issue26287@psf.upfronthosting.co.za>
2016-02-05 01:21:25petr.viktorinlinkissue26287 messages
2016-02-05 01:21:23petr.viktorincreate