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 bar.harel
Recipients aganders3, aviramha, bar.harel, benjamin.peterson, brandtbucher, bukzor, georg.brandl, jmillikin, levkivskyi, methane, miss-islington, pitrou, rhettinger, serhiy.storchaka
Date 2022-01-15.05:36:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642224961.25.0.223382929214.issue46376@roundup.psfhosted.org>
In-reply-to
Content
I thought about it, what about simply excluding TPFLAGS_MAPPING from PySequence and TPFLAGS_Sequence from PyMapping? It will remove the types that are 100% not sequences or mappings, as these flags are mutually exclusive by definition. The result will be much more accurate, yet not cause a breaking change, apart from places where it is truly not a sequence or mapping.
History
Date User Action Args
2022-01-15 05:36:01bar.harelsetrecipients: + bar.harel, georg.brandl, rhettinger, pitrou, benjamin.peterson, jmillikin, methane, bukzor, aganders3, serhiy.storchaka, levkivskyi, miss-islington, brandtbucher, aviramha
2022-01-15 05:36:01bar.harelsetmessageid: <1642224961.25.0.223382929214.issue46376@roundup.psfhosted.org>
2022-01-15 05:36:01bar.harellinkissue46376 messages
2022-01-15 05:36:01bar.harelcreate