You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b561d0f
Browse filesBrowse the repository at this point in the historyBrowse files
test: expect aenum's NameError on _Addendum on GraalPy (#2083)
GraalPy's ImportStarNode.doImport handles an __all__ name missing from
the module in the same AttributeError handler as a missing __all__, and
that fallback skips _ names. With builtins.NoneType bound, aenum's
star import of _common therefore succeeds there without _Addendum, and
_constant fails with NameError instead of CPython's AttributeError.
The premise test now accepts either exception from the child, and on
GraalPy pins the NameError on '_Addendum', so it still notices aenum
binding NoneType itself, and notices GraalPy matching CPython.
0 commit comments