Uh oh!
There was an error while loading. Please reload this page.
gh-124652: partialmethod simplifications - #124788
Conversation
Uh oh!
There was an error while loading. Please reload this page.
a04c14f to
d217592Comparedg-pb
commented
Oct 6, 2024
Removed keyword Placeholder restriction from this and will issue a separate PR after. Felt like too much is packed into 1 PR. |
Uh oh!
There was an error while loading. Please reload this page.
eendebakpt
commented
Jan 4, 2025
@dg-pb Is this PR still relevant or have you opened PRs for the different components? If so, can we close this one? |
dg-pb
commented
Jan 4, 2025
It is still relevant. I could factor "allowing trailing placeholders" into a separate one if it is preferred. |
Uh oh!
There was an error while loading. Please reload this page.
eendebakpt
commented
Jan 4, 2025
I have not looked at all the changes in detail, but the PR seems big and that could be a reason this PR has not yet been reviewed. In the description at least 3 changes are mentioned (allowing placeholders, performance, refactor for |
There are 2 really. Performance benefit is a consequence of "allowing trailing placeholders". I don't mind making changes, splitting as desired etc, but I would like these to be called by reviewer. Otherwise, I already have experience by trying to guess what reviewer might prefer, making changes per suggestions of others, etc and when final reviewer comes he desires to be different again and I need to keep changing things more times than necessary. And either way these would need to be considered at the same time. I.e. allowing or not allowing trailing placeholders are both ok. There is a slight advantage for allowing them as it makes it a bit more flexible and explicit. While looking at Also, if I split now, then I have PRs hanging on unmerged code.
It isn't that big. Most of it is Pure Python rewrite of |
dg-pb
commented
Jan 8, 2025
As this series of |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
dg-pb
commented
Nov 23, 2025
@serhiy-storchaka, just a gentle reminder. |
serhiy-storchaka
commented
Nov 28, 2025
@dg-pb, I am reviewing, I just was very busy last days with other issue. |
dg-pb
commented
Feb 23, 2026
@serhiy-storchaka, I think it would be good to merge this. Otherwise, it will be sitting there for another version. |
This PR is stale because it has been open for 30 days with no activity. |
partial(makes use ofpartialinstead of containing any complexities of partial)inspectpartialobjects)partialmethodBenchmarks:Setup
functools.partialmethodsimplification #124652