-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
bpo-24234: Implement bytes.__bytes__ #27901
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
Conversation
@@ -2179,7 +2179,6 @@ def __repr__(self): | |||
__abs__ | |||
__add__ | |||
__and__ | |||
__bytes__ |
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.
https://docs.python.org/3/c-api/typeobj.html?highlight=nb_int#sub-slots
Same reason as __complex__
#27886
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.
Should we perhaps combine the two News items for this bpo issue?
Yes, it looks reasonable to add them as News items :) cc @mdickinson |
The broken test will be fixed after #27887 is merged and rebased. |
SGTM |
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.
LGTM, modulo the combining news items and the test failure.
@@ -169,6 +169,14 @@ Other Language Changes | |||
(Contributed by Serhiy Storchaka in :issue:`12022`.) | |||
|
|||
|
|||
Other CPython Implementation Changes |
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.
@mdickinson Can you please take a look? Sorry, I am not a good English writer.
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.
@corona10 What you have looks fine to me!
|
|
|
|
Hmm. Unfortunately, I think those buildbot failures aren't false positives. By using
|
https://bugs.python.org/issue24234