gh-107782: Use _testcapi to test non-representable signatures#109325
gh-107782: Use _testcapi to test non-representable signatures#109325serhiy-storchaka merged 4 commits intopython:mainfrom
Conversation
Builtin functions and methods that have non-representable signatures today will have representable signatures yesterday, and they will become unusable for testing this feature. So we need to add special functions and methods to the _testcapi module that always have non-representable signatures.
|
I do not understand why @ericsnowcurrently, could you explain this? |
|
Unfortunately, the tool never learned to reliably identify implicitly-const static definitions (e.g. You can move the entry you added to globals-to-fix.tsv over to ignored.tsv. |
|
Thank you Eric. I did not know about |
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
|
Builtin functions and methods that have non-representable signatures today will have representable signatures yesterday, and they will become unusable for testing this feature.
So we need to add special functions and methods to the _testcapi module that always have non-representable signatures.