Message156052
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()) |
|
Date |
User |
Action |
Args |
2012-03-16 15:09:13 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, loewis, vstinner, benjamin.peterson, skrah, python-dev |
2012-03-16 15:09:13 | amaury.forgeotdarc | set | messageid: <1331910553.31.0.635735364521.issue14334@psf.upfronthosting.co.za> |
2012-03-16 15:09:12 | amaury.forgeotdarc | link | issue14334 messages |
2012-03-16 15:09:12 | amaury.forgeotdarc | create | |
|