[issue12879] "method-wrapper" objects are difficult to inspect

2011-09-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: 51e27f42beda and friends. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue12879] "method-wrapper" objects are difficult to inspect

2011-09-01 Thread Antoine Pitrou
New submission from Antoine Pitrou : This is a bit unhelpful: >>> s = io.StringIO() >>> s.__getattribute__ >>> dir(s.__getattribute__) Traceback (most recent call last): File "", line 1, in TypeError: object does not provide __dir__ -- components: Interpreter Core messages: 143349 n