Skip to content

Implement Number protocol for PyComplex#3838

Merged
fanninpm merged 3 commits into
RustPython:mainfrom
fanninpm:complex-pynumber
Jul 10, 2022
Merged

Implement Number protocol for PyComplex#3838
fanninpm merged 3 commits into
RustPython:mainfrom
fanninpm:complex-pynumber

Conversation

@fanninpm

@fanninpm fanninpm commented Jul 3, 2022

Copy link
Copy Markdown
Contributor

Implementation based on #3507.

@fanninpm fanninpm requested review from qingshi163 and youknowone July 3, 2022 02:25
@fanninpm fanninpm force-pushed the complex-pynumber branch from 5b428ae to 508118e Compare July 3, 2022 02:25
@fanninpm fanninpm marked this pull request as ready for review July 3, 2022 19:31

@qingshi163 qingshi163 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great for the implement

Comment thread vm/src/builtins/complex.rs Outdated
@youknowone youknowone removed their request for review July 6, 2022 12:38
@Snowapril

Copy link
Copy Markdown
Contributor

I think Implementing missing PySequenceMethods, PyMappingMethods, PyNumberMethods for some types can be good first issue for first-comer. How do you think?

@youknowone youknowone requested a review from qingshi163 July 9, 2022 12:27

@qingshi163 qingshi163 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@fanninpm fanninpm merged commit 11e9d81 into RustPython:main Jul 10, 2022
@fanninpm fanninpm deleted the complex-pynumber branch July 15, 2022 23:15
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

Successfully merging this pull request may close these issues.

4 participants