summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/class_bind_self.py
Commit message (Collapse)AuthorAge
* py: Be more restrictive binding self when looking up instance attrs.Damien George2015-12-26
When looking up and extracting an attribute of an instance, some attributes must bind self as the first argument to make a working method call. Previously to this patch, any attribute that was callable had self bound as the first argument. But Python specs require the check to be more restrictive, and only functions, closures and generators should have self bound as the first argument Addresses issue #1675.