Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
After PEP 701, having comments mixed with debug expressions is possible but the interactions has not been discussed. For instance, consider this code:
a = 1f"{a = # my comment}"this produces:
'a = # my comment\n1'which is surprising. What we should do here? I think we should probably not include the comment but we should agree on the behavior before a PR can be made
Linked PRs
Metadata
Metadata
Assignees
Labels
No labels