blob: 18d29632334a4abbaa850a4eefc409250525a90f [file] [log] [blame]
Armin Rigob4b5a762006-01-14 10:58:30 +00001
2# http://python.org/sf/1267884
3
4import types
5
6class C:
7 __str__ = types.InstanceType.__str__
8
9if __name__ == '__main__':
10 str(C()) # segfault: infinite recursion in C