Skip to content
Snippets Groups Projects
Commit 113f00a9 authored by Damien George's avatar Damien George
Browse files

py/objboundmeth: Support loading generic attrs from the method.

Instead of assuming that the method is a bytecode object, and only
supporting load of __name__, make the operation generic by delegating the
load to the method object itself.  Saves a bit of code size and fixes the
case of attempting to load __name__ on a native method, see issue #4028.
parent da7355e2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment