-
Notifications
You must be signed in to change notification settings - Fork 1
Deprecation warning fix #2
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
base: main
Are you sure you want to change the base?
Deprecation warning fix #2
Conversation
Added deprecation warning for when returning an instance of a strict subclass of complex.
removed label from unit test script for test_constructor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What issue are you solving?
I solved a unit test that contained a known bug and that was marked as TODO. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please send this to upstream and place a link to it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest using the rust style function expression.
@@ -74,7 +75,7 @@ impl PyObjectRef { | |||
vm, | |||
)?; | |||
|
|||
return Ok(Some((ret.value, true))) | |||
return Ok(Some((ret.value, true))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return Ok(Some((ret.value, true))); | |
Ok(Some((ret.value, true))) |
Co-authored-by: Alexandru Radovici <[email protected]>
Co-authored-by: Alexandru Radovici <[email protected]>
…ython into complex-bug-fixes
Co-authored-by: Alexandru Radovici <[email protected]>
Co-authored-by: Alexandru Radovici <[email protected]>
Co-authored-by: Alexandru Radovici <[email protected]>
…ython into complex-bug-fixes
This reverts commit a19c9b7.
This reverts commit 8a021c2.
Co-authored-by: Jeong, YunWon <[email protected]>
Fixed case where returning strict subclasses of complex in complex doesn't give a deprecation warning.