Skip to content

2.7 stub for Decimal is incomplete, incompatible with numbers.Number #107

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

Closed
wittekm opened this issue Mar 8, 2016 · 2 comments
Closed

Comments

@wittekm
Copy link
Contributor

wittekm commented Mar 8, 2016

Incomplete in that it has no div (and some other stubs).
Also, the true code for it registers it as an instanceof Number via a .register call; we need to add Number to the interfaces it implements.

@wittekm
Copy link
Contributor Author

wittekm commented Mar 8, 2016

(These are what caused the rollback on 6a49621 )

momandine pushed a commit to momandine/typeshed that referenced this issue Jul 5, 2016
This addresses python#107 (but it doen't close it because the issue also calls for an implementation in typing.py).
momandine pushed a commit to momandine/typeshed that referenced this issue Jul 5, 2016
@JelleZijlstra
Copy link
Member

Looks like #545 fixed this back in 2016.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@wittekm @JelleZijlstra @gvanrossum and others