v0.2.7
Immutable
release. Only release title and notes can be modified.
Fixed
- Do not treat a class's own attribute as a dependency on a same-named outer definition.
An enum member or class variable named like the module constant that aliases it (for
exampleCACHE_MISS = _Sentinel.CACHE_MISSbesideclass _Sentinel(Enum): CACHE_MISS = auto()) previously forged a falseclass->constantedge that
closed a cycle with the realconstant->classedge, hoisting the constant
above the class it references and raisingNameErrorat import. A name bound in a
class's own body is now recognized as belonging to that class's namespace and imposes
no ordering on outer definitions.