1 .__nonzero__() => memory fault (2.2 win32)

Bengt Richter bokr at oz.net
Thu Apr 4 19:04:40 EST 2002


 Python 2.2 (#28, Dec 21 2001, 12:21:22) [MSC 32 bit (Intel)] on win32
 Type "help", "copyright", "credits" or "license" for more information.
 >>> hasattr(1, '__nonzero__')
 1
 >>> 1 .__nonzero__()

(You get a memory fault).

Regards,
Bengt Richter



More information about the Python-list mailing list