summaryrefslogtreecommitdiffstats
path: root/Lib/test/crashers
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-04-11 19:24:50 (GMT)
committerGeorg Brandl <georg@python.org>2007-04-11 19:24:50 (GMT)
commit57b39e0916d741d9851ac875d8f443bfc6005def (patch)
tree582159ea9ac83512264eb4ecb442f4bf19e7712f /Lib/test/crashers
parentb5ddcfd2a203336f3ba7bb1111cda462333c9e1f (diff)
downloadcpython-57b39e0916d741d9851ac875d8f443bfc6005def.zip
cpython-57b39e0916d741d9851ac875d8f443bfc6005def.tar.gz
cpython-57b39e0916d741d9851ac875d8f443bfc6005def.tar.bz2
Bug #1697782: remove all remaining code that uses types.InstanceType.
Diffstat (limited to 'Lib/test/crashers')
-rw-r--r--Lib/test/crashers/infinite_rec_5.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/test/crashers/infinite_rec_5.py b/Lib/test/crashers/infinite_rec_5.py
deleted file mode 100644
index 18d2963..0000000
--- a/Lib/test/crashers/infinite_rec_5.py
+++ /dev/null
@@ -1,10 +0,0 @@
-
-# http://python.org/sf/1267884
-
-import types
-
-class C:
- __str__ = types.InstanceType.__str__
-
-if __name__ == '__main__':
- str(C()) # segfault: infinite recursion in C