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

Erik Max Francis max at alcyone.com
Thu Apr 4 19:19:40 EST 2002


Bengt Richter wrote:

>  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).

Whoops, I get the same thing.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Nationalism is an infantile sickness.
\__/ Albert Einstein
    Alcyone Systems' Daily Planet / http://www.alcyone.com/planet.html
 A new, virtual planet, every day.



More information about the Python-list mailing list