Message244798
When __getattribute__ method is overrriden in a class,then in case of calling
an attribute not in class object should throw KeyError.
But when calling dir on classs object gives an empty list as dir(dictobject)
calls dictobject.__getattribute__(dir) and it throws KeyError instead of AttributeError in dir annd it returns NULL upstream
So dir source code need to be fixed to catch KeyError appropriately. |
|
Date |
User |
Action |
Args |
2015-06-04 05:06:36 | alkayadavit07@gmail.com | set | recipients:
+ alkayadavit07@gmail.com |
2015-06-04 05:06:36 | alkayadavit07@gmail.com | set | messageid: <1433394396.84.0.259561149442.issue24378@psf.upfronthosting.co.za> |
2015-06-04 05:06:36 | alkayadavit07@gmail.com | link | issue24378 messages |
2015-06-04 05:06:36 | alkayadavit07@gmail.com | create | |
|