bpo-32055: Raise SyntaxWarning for chained in and not in.#4501
Closed
serhiy-storchaka wants to merge 1 commit into
Closed
bpo-32055: Raise SyntaxWarning for chained in and not in.#4501serhiy-storchaka wants to merge 1 commit into
in and not in.#4501serhiy-storchaka wants to merge 1 commit into
Conversation
ncoghlan
reviewed
Nov 22, 2017
ncoghlan
left a comment
Contributor
There was a problem hiding this comment.
Looks good to me, but as per @serhiy-storchaka's comment at https://bugs.python.org/issue32055#msg306734 we shouldn't merge this until we've discussed the idea on python-dev (which may also lead to changing the exact wording of the warning)
in' and not in'.in and not in.
|
This PR is stale because it has been open for 30 days with no activity. |
Contributor
|
I closed #76236 as "Not planned", so also closing this PR. Given the typical symptom here is "visible user confusion" rather than "silently shipping broken software", it seems unlikely anyone will successfully make the case that adding a new |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
https://bugs.python.org/issue32055