Make uuid1 and uuid4 tests conditional on whether ctypes can be imported;
[python.git] / Lib / test / crashers / infinite_rec_1.py
blob573a509b5fdb50e3f3f310631f27a0e58b8f28e8
2 # http://python.org/sf/1202533
4 import new, operator
6 class A:
7 pass
8 A.__mul__ = new.instancemethod(operator.mul, None, A)
10 if __name__ == '__main__':
11 A()*2 # segfault: infinite recursion in C