[issue9756] Crash with custom __getattribute__

STINNER Victor report at bugs.python.org
Fri Sep 3 21:27:22 CEST 2010

STINNER Victor <victor.stinner at haypocalc.com> added the comment:

<< I found this crash while playing with proxies (thanks haypo).
http://code.activestate.com/recipes/496741-object-proxying/ >>

My question was: why does isinstance(Proxy('abc'), str) works (give True), whereas re.match('abc', Proxy('abc')) fail.

It looks like you gave me the answer ;-)


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list