[Python-checkins] r55316 - sandbox/trunk/abc/crash.py

guido.van.rossum python-checkins at python.org
Mon May 14 21:08:03 CEST 2007


Author: guido.van.rossum
Date: Mon May 14 21:07:56 2007
New Revision: 55316

Added:
   sandbox/trunk/abc/crash.py   (contents, props changed)
Log:
Adding a crashing example (see sf/1708353).


Added: sandbox/trunk/abc/crash.py
==============================================================================
--- (empty file)
+++ sandbox/trunk/abc/crash.py	Mon May 14 21:07:56 2007
@@ -0,0 +1,3 @@
+class C:
+  def __instancecheck__(self, arg): return False
+isinstance(42, C)


More information about the Python-checkins mailing list