As I threatened on python-dev, add a directory which contains all known
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).
diff --git a/Lib/test/crashers/coerce.py b/Lib/test/crashers/coerce.py
new file mode 100644
index 0000000..574956b
--- /dev/null
+++ b/Lib/test/crashers/coerce.py
@@ -0,0 +1,9 @@
+
+# http://python.org/sf/992017
+
+class foo:
+ def __coerce__(self, other):
+ return other, self
+
+if __name__ == '__main__':
+ foo()+1 # segfault: infinite recursion in C