Jasper Swallen
Results
2
issues of
Jasper Swallen
I've been having some _very_ strange behavior that I seem to have tracked down to float inconsistency handling. I'm not entirely sure which implementation is correct, since I'm not an...
```python3 import enum class EnumWithAuto(enum.IntEnum): A = enum.auto() B = 10 auto_enum = EnumWithAuto.A print(auto_enum.value.bit_length()) # E1101: Instance of 'auto' has no 'bit_length' member (no-member) enum_val = EnumWithAuto(123) print(enum_val.value.bit_length()) #...
Brain ðŸ§