Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-124652: partialmethod simplifications#124788
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?
Uh oh!
There was an error while loading. Please reload this page.
Conversation
dg-pb commented Sep 30, 2024 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
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 |
dg-pb commented Jan 4, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
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.
Misc/NEWS.d/next/Library/2024-10-17-00-50-32.gh-issue-124652.AK3PDp.rst Outdated Show resolvedHide resolved
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. |
partial(makes use ofpartialinstead of containing any complexities of partial)inspectpartialobjects)partialmethodBenchmarks:Setup
functools.partialmethodsimplification #124652