gh-94352: shlex.split() no longer accepts None by vstinner · Pull Request #94353 · python/cpython (original) (raw)

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation1 Commits1 Checks0 Files changed

Conversation

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

[ Show hidden characters]({{ revealButtonHref }})

vstinner

@vstinner vstinner marked this pull request as ready for review

June 27, 2022 22:27

@vstinner

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).

@vstinner

shlex.split(): Passing None for s argument now raises an exception, rather than reading sys.stdin. The feature was deprecated in Python 3.9.

2 participants

@vstinner @bedevere-bot