-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-41324 Add a minimal decimal capsule API #21519
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
Conversation
Also cc @xhochy just in case he's interested in this. |
Thank you @skrah for this. AFAICT, the API here would be enough for explicitly-typed conversion. For type inference (I'm not sure that would make sense, but perhaps) there would ideally be an additional API to get the number of digits in a Decimal (that is, |
That's a good point. Initially I thought people would use |
@skrah: Please replace |
https://bugs.python.org/issue41324