Skip to content

bpo-32055: Raise SyntaxWarning for chained in and not in.#4501

Closed
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:chained-in
Closed

bpo-32055: Raise SyntaxWarning for chained in and not in.#4501
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:chained-in

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Nov 22, 2017

Copy link
Copy Markdown
Member

@ncoghlan ncoghlan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)

@methane methane changed the title bpo-32055: Raise SyntaxWarning for chained in' and not in'. bpo-32055: Raise SyntaxWarning for chained in and not in. May 6, 2022
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Aug 13, 2022
@ncoghlan

ncoghlan commented Sep 29, 2025

Copy link
Copy Markdown
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 SyntaxWarning for this will be worth the hassle.

@ncoghlan ncoghlan closed this Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DO-NOT-MERGE stale Stale PR or inactive for long period of time. type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants