Skip to content
  • Damien George's avatar
    py: Be more restrictive binding self when looking up instance attrs. · 78913211
    Damien George authored
    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.
    78913211