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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, benjamin.peterson, loewis, python-dev, skrah, vstinner
Date 2012-03-16.15:09:12
SpamBayes Score 0.0003012905
Marked as misclassified No
Message-id <1331910553.31.0.635735364521.issue14334@psf.upfronthosting.co.za>
In-reply-to
Content
well, on 2.6 and 2.7 the following has weird output and crashes:

def test(obj):
    try:
        type(obj).__getattribute__(obj, (1,))
    except AttributeError as e:
        print(e)
class C:
    pass
test(str)
test(C)
test(C())
History
Date User Action Args
2012-03-16 15:09:13amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, loewis, vstinner, benjamin.peterson, skrah, python-dev
2012-03-16 15:09:13amaury.forgeotdarcsetmessageid: <1331910553.31.0.635735364521.issue14334@psf.upfronthosting.co.za>
2012-03-16 15:09:12amaury.forgeotdarclinkissue14334 messages
2012-03-16 15:09:12amaury.forgeotdarccreate