This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Trundle, flox, vstinner
Date 2010-09-03.19:27:20
SpamBayes Score 0.0061895777
Marked as misclassified No
Message-id <1283542042.38.0.10656637554.issue9756@psf.upfronthosting.co.za>
In-reply-to
Content
<< 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 ;-)
History
Date User Action Args
2010-09-03 19:27:22vstinnersetrecipients: + vstinner, Trundle, flox
2010-09-03 19:27:22vstinnersetmessageid: <1283542042.38.0.10656637554.issue9756@psf.upfronthosting.co.za>
2010-09-03 19:27:20vstinnerlinkissue9756 messages
2010-09-03 19:27:20vstinnercreate