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 flox
Recipients flox, vstinner
Date 2010-09-03.12:13:02
SpamBayes Score 0.009095202
Marked as misclassified No
Message-id <1283515984.36.0.673218996521.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/


class MyClass(object):

    def __init__(self):
        self.pwn = None

    def __getattribute__(self, name):
        print('MyClass.__getattribute__(self, %r)' % name)
        return getattr('abc', name)

instance = MyClass()
str.strip(instance)
History
Date User Action Args
2010-09-03 12:13:04floxsetrecipients: + flox, vstinner
2010-09-03 12:13:04floxsetmessageid: <1283515984.36.0.673218996521.issue9756@psf.upfronthosting.co.za>
2010-09-03 12:13:02floxlinkissue9756 messages
2010-09-03 12:13:02floxcreate