GeezerVison is showing github.com — bpo-29602: fix signed zero handling in complex constructor. by mdickinson · Pull Request #203 · python/cpython
Conversation
mdickinson
commented
Feb 20, 2017
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
This PR, based on a patch by Serhiy Storchaka, fixes the issues with signed zeros identified in http://bugs.python.org/issue29602:
- given a class
class A(object) implementing __complex__, complex(A()) ignored the sign of a negative zero in the imaginary part
- given a subclass
class C(complex), construction of a C instance from a complex instance also ignored the sign of a negative zero in the imaginary part.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
mdickinson
added a commit
to mdickinson/cpython
that referenced
this pull request
Feb 20, 2017
* Fix incorrect handling of signed zeros for complex-related classes.
* Add Misc/NEWS entry.
(cherry picked from commit 112ec38)
mdickinson
added a commit
to mdickinson/cpython
that referenced
this pull request
Feb 20, 2017
* Fix incorrect handling of signed zeros for complex-related classes.
* Add Misc/NEWS entry.
(cherry picked from commit 112ec38)
This was referenced Feb 20, 2017
mdickinson
added a commit
that referenced
this pull request
Feb 20, 2017
)
* Fix incorrect handling of signed zeros for complex-related classes.
* Add Misc/NEWS entry.
(cherry picked from commit 112ec38)
mdickinson
added a commit
that referenced
this pull request
Feb 20, 2017
)
* Fix incorrect handling of signed zeros for complex-related classes.
* Add Misc/NEWS entry.
(cherry picked from commit 112ec38)
akruis
added a commit
to akruis/cpython
that referenced
this pull request
Jan 6, 2019
instead of _PyRuntime.st.try_stackless.
akruis
added a commit
to akruis/cpython
that referenced
this pull request
Jan 12, 2019
instead of _PyRuntime.st.try_stackless.
jaraco
added a commit
to jaraco/cpython
that referenced
this pull request
Feb 17, 2023
…tion of resources from adjacent modules, even those not found in a package. Fixes python#203.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
type-bug
An unexpected behavior, bug, or error
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|