FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

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

/ cpython Public

gh-94352: shlex.split() no longer accepts None - #94353

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:shlex
Jul 4, 2022
Merged

gh-94352: shlex.split() no longer accepts None#94353
vstinner merged 1 commit into
python:mainfrom
vstinner:shlex

Conversation

vstinner commented Jun 27, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

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

vstinner marked this pull request as ready for review June 27, 2022 22:27

vstinner commented Jul 4, 2022

Copy link
Copy Markdown
Member Author

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 merged commit fbcee57 into python:main Jul 4, 2022
vstinner deleted the shlex branch July 4, 2022 13:29
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL