This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author John Belmonte
Recipients John Belmonte, Manjusaka, ethan.furman, hauntsaninja, hroncok, jbelmonte, pablogsal, veky
Date 2021-05-26.21:26:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1622064384.07.0.71575356482.issue44242@roundup.psfhosted.org>
In-reply-to
Content
To clarify, it's caused by these mask entries in the enum:

NPTS_MASK = 0xF
DEL_S_MASK = 0xF0
AZIS_MASK = 0xF00

Since the masks are not an aggregation of individual bits defined in the enum, it's an error.

> I'm inclined to go with [removing the check], since `boundary` is designed to answer the question of what to do when Flag.A | Flag.B does not exist in Flag.

I think that would cause various problems in the API and implementation.  For example, without underlying individual bits, repr() may be nonsensical.
History
Date User Action Args
2021-05-26 21:26:24John Belmontesetrecipients: + John Belmonte, jbelmonte, ethan.furman, veky, hroncok, pablogsal, Manjusaka, hauntsaninja
2021-05-26 21:26:24John Belmontesetmessageid: <1622064384.07.0.71575356482.issue44242@roundup.psfhosted.org>
2021-05-26 21:26:24John Belmontelinkissue44242 messages
2021-05-26 21:26:24John Belmontecreate