Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jun 27, 2022

shlex.split(): Passing None for s argument now raises an exception.
Read sys.stdin instead.

@vstinner vstinner marked this pull request as ready for review June 27, 2022 22:27
@vstinner
Copy link
Member Author

vstinner commented Jul 4, 2022

I merge my PR. If there are too many affected projects, we have time until Python 3.12 final to decide to postpone this removal. The feature was removed in 3 Python versions (3.9, 3.10, 3.11).

shlex.split(): Passing None for s argument now raises an exception,
rather than reading sys.stdin. The feature was deprecated in Python
3.9.
@vstinner vstinner merged commit fbcee57 into python:main Jul 4, 2022
@vstinner vstinner deleted the shlex branch July 4, 2022 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants