bpo-14965: Proxy super().x = y and del super().x#26194
bpo-14965: Proxy super().x = y and del super().x#26194habnabit wants to merge 2 commits intopython:mainfrom
super().x = y and del super().x#26194Conversation
This patch was originally contributed by Daniel Urban, whose summary follows: > I'm attaching a patch implementing super.__setattr__ (and > __delattr__). > The implementation in the patch only works, if super can find a data > descriptor in the MRO, otherwise it throws an AttributeError. As it > can be seen in the tests, in some cases this may result in > counter-intuitive behaviour. But I wasn't able to find another > behaviour, that is consistent with both super.__getattr__ and normal > __setattr__ semantics.
|
Attaching a NEWS fragment in a moment. |
This newly-failing test does appear to be related to the new method |
|
|
tiran
left a comment
There was a problem hiding this comment.
The patch looks like Daniel Urban's super_setattr.patch. You cannot take somebody else's code and submit it under your name. Code should be attribute to the original author. We also make sure that Daniel has signed the CLA.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
|
Can you please explain how you’d like me to attribute it? The original
author’s name is listed in the NEWS fragment and the commit message
already.
…On Mon, May 17, 2021 at 23:03 Christian Heimes ***@***.***> wrote:
***@***.**** requested changes on this pull request.
The patch looks like Daniel Urban's super_setattr.patch. You cannot take
somebody else's code and submit it under your name. Code should be
attribute to the original author. We also make sure that Daniel has signed
the CLA.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#26194 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAFFMCRTHPUED5TKOKKDDTTOGHBXANCNFSM45A7Y27A>
.
|
|
In fact, I neither want nor need my name on this in the first place. This
patch has been sitting stale since 2012 without movement.
…On Mon, May 17, 2021 at 23:08 hab ***@***.***> wrote:
Can you please explain how you’d like me to attribute it? The original
author’s name is listed in the NEWS fragment and the commit message
already.
On Mon, May 17, 2021 at 23:03 Christian Heimes ***@***.***>
wrote:
> ***@***.**** requested changes on this pull request.
>
> The patch looks like Daniel Urban's super_setattr.patch. You cannot take
> somebody else's code and submit it under your name. Code should be
> attribute to the original author. We also make sure that Daniel has signed
> the CLA.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#26194 (review)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAAFFMCRTHPUED5TKOKKDDTTOGHBXANCNFSM45A7Y27A>
> .
>
|
|
This PR is stale because it has been open for 30 days with no activity. |
|
What's the next step here? How can we get this merged? |
|
Really? I'm sure I signed the CLA years ago; I've had patches merged before.
|
|
Well, signed again now. Looks like there's another merge conflict. Will anything happen if I actually update the patch? |
I've already updated the patch here: #29950 If you update this one, I assume recent discussion will move here from the new one. (ignore my previous response, I thought you were commenting on my PR instead of yours) |
|
This PR is stale because it has been open for 30 days with no activity. |
Arguably this is a bugfix, and therefore should be backported into the 3.10 branch as well.
This patch was originally contributed by Daniel Urban, whose summary
follows:
https://bugs.python.org/issue14965