Message186735
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. |
|
Date |
User |
Action |
Args |
2013-04-13 15:57:33 | mark.dickinson | set | recipients:
+ mark.dickinson |
2013-04-13 15:57:33 | mark.dickinson | set | messageid: <1365868653.81.0.515318912237.issue17715@psf.upfronthosting.co.za> |
2013-04-13 15:57:33 | mark.dickinson | link | issue17715 messages |
2013-04-13 15:57:33 | mark.dickinson | create | |
|