Message171376
| Author |
mark.dickinson |
| Recipients |
benjamin.peterson, mark.dickinson, serhiy.storchaka |
| Date |
2012年09月27日.15:33:53 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1348760034.42.0.952860354689.issue16060@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Nice catch! And indeed, the following code generates a segfault on my machine:
class B(object):
def __int__(self):
return 43.0
class A(object):
def __trunc__(self):
return B()
int(A())
The patch should probably include a regression test. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年09月27日 15:33:54 | mark.dickinson | set | recipients:
+ mark.dickinson, benjamin.peterson, serhiy.storchaka |
| 2012年09月27日 15:33:54 | mark.dickinson | set | messageid: <1348760034.42.0.952860354689.issue16060@psf.upfronthosting.co.za> |
| 2012年09月27日 15:33:54 | mark.dickinson | link | issue16060 messages |
| 2012年09月27日 15:33:53 | mark.dickinson | create |
|