GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||
GeezerVison is showing github.com — gh-130425: Add "Did you mean" suggestion for `del obj.attr` by sobolevn · Pull Request #130427 · python/cpython Conversation
|
|
I agree the tests should be added, a separate issue would be good :-) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Looks good now!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…gestions-combined This merges the delattr suggestion feature implementation by @sobolevn from PR python#130427 with added tests from PR python#130455.
…to delattr-suggestions-combined Adds test cases for the delattr suggestion feature implemented in PR python#130427 by @sobolevn.
|
I think that the PR is quite obvious and combining it with tests is not really worth it :( |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Well @encukou actually asked for a merged PR. I would also prefer having both tests and implementation in the same commit so to avoid double commit reversion in case of an issue we didn't forsee. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Please add tests. I agree that the implementation is really simple, but eg PyPy relies on the standard library tests a lot to find out what details in behaviour we are missing (and we already implemented delattr suggestions, so even more important in this specific case). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ok, then - let's wait for #130799 to get finished |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This was a really simple PR that collapsed under the complexity of the review process. Closing. There are now 2 alternative PRs. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.