When encountering a scope that is a str, we should not call getattr() on it and make a ducktyped check if it's actually a complex type. This could also return references to builtin functions of str, which in turn will cause unexpected behaviour downstream.
When encountering a scope that is a
str
, we should not callgetattr()
on it and make a ducktyped check if it's actually a complex type. This could also return references to builtin functions ofstr
, which in turn will cause unexpected behaviour downstream.This PR fixes issue #104 .