summaryrefslogtreecommitdiffstatshomepage
path: root/unix
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-12-26 12:41:31 +0000
committerDamien George <damien.p.george@gmail.com>2015-12-26 12:41:31 +0000
commit78913211a9532ff952f5628c7c94848bd59a4a11 (patch)
treed0a87488951bcb98ff0958c2f384d5dde53cd848 /unix
parent84b245f187f9711357b1fd46bebc67266bd028e5 (diff)
downloadmicropython-78913211a9532ff952f5628c7c94848bd59a4a11.tar.gz
micropython-78913211a9532ff952f5628c7c94848bd59a4a11.zip
py: Be more restrictive binding self when looking up instance attrs.
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.
Diffstat (limited to 'unix')
0 files changed, 0 insertions, 0 deletions