-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Labels
featureSupporting previously unsupported Python, new native types, new features, etc.Supporting previously unsupported Python, new native types, new features, etc.help wantedpriority-0-highpython compatMypyc doesn't match CPython or documented semantics.Mypyc doesn't match CPython or documented semantics.
Description
Currently mypyc supports a limited subset of dunder methods without clear diagnostics about this. We should support basically all of them,
-
__pow__
,__rpow__
, and__ipow__
-
__divmod__
,__rdivmod__
Most should be easy, and just need a bit of plumbing through emitclass and emitwrapper and some tests.
Metadata
Metadata
Labels
featureSupporting previously unsupported Python, new native types, new features, etc.Supporting previously unsupported Python, new native types, new features, etc.help wantedpriority-0-highpython compatMypyc doesn't match CPython or documented semantics.Mypyc doesn't match CPython or documented semantics.