[issue38250] enum.Flag should be more set-like
Vedran Čačić
report at bugs.python.org
Tue Oct 13 06:19:45 EDT 2020
Vedran Čačić <vedgar at gmail.com> added the comment:
Again, I disagree. `str` used to work like this in Py2.0 (or somewhere around then), only 'x' was in 'xyz', not 'xy'. Then Guido came to his senses. :-)
This is not set theory, this is mereology. You don't differentiate between a digit and a one-digit number, a char and a one-char string, and in the same way you shouldn't differentiate between a bit and a one-bit flag.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38250>
_______________________________________
More information about the Python-bugs-list
mailing list