mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00

bugs which cause the interpreter to crash. I'm sure we can find a few more. Many missing bugs deal with variations on unchecked infinite recursion (like coerce.py).
9 lines
181 B
Python
9 lines
181 B
Python
|
|
# http://python.org/sf/992017
|
|
|
|
class foo:
|
|
def __coerce__(self, other):
|
|
return other, self
|
|
|
|
if __name__ == '__main__':
|
|
foo()+1 # segfault: infinite recursion in C
|