repo.or.cz
/
python.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Make uuid1 and uuid4 tests conditional on whether ctypes can be imported;
[python.git]
/
Lib
/
test
/
crashers
/
infinite_rec_1.py
blob
573a509b5fdb50e3f3f310631f27a0e58b8f28e8
1
2
# http://python.org/sf/1202533
3
4
import
new
,
operator
5
6
class
A
:
7
pass
8
A
.__
mul
__
=
new
.
instancemethod
(
operator
.
mul
,
None
,
A
)
9
10
if
__name__
==
'__main__'
:
11
A
()*
2
# segfault: infinite recursion in C