GeezerVison is showing github.com — gh-102797: Add more code snippets for exec_tests and eval_tests by Eclips4 · Pull Request #102798 · python/cpython
Conversation
Eclips4
commented
Mar 17, 2023
•
edited by bedevere-bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
For first review, exec test look ok. Aside from 1 addition, I think fewer comments needed. The breadth covered by a comment seems uneven (not your fault).
Sorry, something went wrong.
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.
hugovk
changed the title
gh-102797: Add more code snipets for exec_tests and eval_tests
gh-102797: Add more code snippets for exec_tests and eval_tests
Mar 18, 2023
|
|
# IfExp
|
|
|
"foo() if x else bar()",
|
|
|
# JoinedStr and FormattedValue
|
|
|
"f'{a}'",
|
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.
Since FormattedValue cannot be used without a JoinedStr, so separate this snippets makes no sense.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Eclips4
commented
Mar 20, 2023
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
However, single_tests look kinda strange. It says: These are compiled through "single" because of ovelarp with "eval", it just tests what can't be tested with "eval". I think, there should be more tests, and this comment is pointless.
But I don't know, should it be a separate PR?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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. More tests are usually a good thing.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Ah, sadly there is now a merge conflict, I cannot merge your PR.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Fix merge conflicts for Issue 102797
Eclips4
commented
Jun 18, 2024
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
Oh, I didn't get a notification from this PR..
Thanks @nineteendo for resolving merge conflicts!
This PR now probably needs to be a little bit of update, I'll do it today.
|
nineteendo reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Eclips4 reacted with heart emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
vstinner
Awaiting requested review from vstinner
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Implement TODO in test_ast.py
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|