add mapping & sequence type flags to the stable api#32080
Conversation
|
Hi, is there someone available who would be willing to review this please? Maybe @markshannon as the original author of these flags? |
|
Please create an issue to discuss this change. Thanks |
|
That comment doesn't look like it's describing the flags itself, but instead whether they should be present as public constants in Instead of using the flags, an alternative for the equivalent functionality would be to do the same way Python code does - import |
|
I don't think these flags should be part of the stable API. As @TeamSpen210 says, using |
|
Understood, thanks for the feedback - will close this 👍 |
In #25723 (comment) it was implied that these flags should be "internal", but it's not entirely clear to me why. PEP 634 doesn't make a clear indication whether they should be in the stable API or not.
These flags are already readily available when compiling C extensions with the full API and can be used in two ways:
matchcasesmatchkeyword wouldIt would be nice to have them available in the stable ABI, if that's deemed reasonable.