◐ Shell
clean mode source ↗

Message 282721 - Python tracker

Ugh.  I suddenly realize that this is complicated by the fact that flag values are themselves represented as integers, and Python's type system isn't rich enough to label flag values as a distinct type for the purposes.

It may be worthwhile to add a warning in the documentation about this, as it is an easy mistake to make.