-
-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-107782: Use _testcapi to test non-representable signatures #109325
gh-107782: Use _testcapi to test non-representable signatures #109325
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.