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
Some experimentation shows that commenting out lvalue.is_inferred_def = False inside of store_declared_types in semanal.py fixes this issue, although I'm sure it breaks a bunch of other things. I don't yet understand enough to know why this is called for all types except bool
Activity
joey-laminar commentedon Jan 9, 2022
Some experimentation shows that commenting out
lvalue.is_inferred_def = Falseinside ofstore_declared_typesinsemanal.pyfixes this issue, although I'm sure it breaks a bunch of other things. I don't yet understand enough to know why this is called for all types except boolMake enum values final - fixes python#11919
Make enum values final - fixes #11919 (#11962)
Make enum values final - fixes python#11919 (python#11962)