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 mark.dickinson
Recipients mark.dickinson
Date 2013-04-13.15:57:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365868653.81.0.515318912237.issue17715@psf.upfronthosting.co.za>
In-reply-to
Content
Python 3.4.0a0 (default:838fdf3bb0c6, Apr 13 2013, 16:54:22) 
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> class A:
...     def __trunc__(self): 1/0
... 
>>> int(A())
Segmentation fault

It looks as though the problem is in PyNumber_Long, where there's an unchecked return value for PyEval_CallObject.
History
Date User Action Args
2013-04-13 15:57:33mark.dickinsonsetrecipients: + mark.dickinson
2013-04-13 15:57:33mark.dickinsonsetmessageid: <1365868653.81.0.515318912237.issue17715@psf.upfronthosting.co.za>
2013-04-13 15:57:33mark.dickinsonlinkissue17715 messages
2013-04-13 15:57:33mark.dickinsoncreate