[issue33262] Deprecate shlex.split(None) to read from stdin.

2021-08-29 Thread Andrei Kulakov
Andrei Kulakov added the comment: Can be closed as fixed (or perhaps renamed and kept open to track eventual raising of error in the future?) -- nosy: +andrei.avk ___ Python tracker

[issue33262] Deprecate shlex.split(None) to read from stdin.

2020-04-01 Thread Paul Ganssle
Paul Ganssle added the comment: New changeset 975ac326ffe265e63a103014fd27e9d098fe7548 by Zackery Spytz in branch 'master': bpo-33262: Deprecate passing None for `s` to shlex.split() (GH-6514) https://github.com/python/cpython/commit/975ac326ffe265e63a103014fd27e9d098fe7548 --

[issue33262] Deprecate shlex.split(None) to read from stdin.

2018-08-13 Thread Niklas Rosenstein
Niklas Rosenstein added the comment: I've just run into this as well -- I thought it was a bug until I found this issue. I also think that this is anything from sane. -- nosy: +n_rosenstein ___ Python tracker

[issue33262] Deprecate shlex.split(None) to read from stdin.

2018-04-17 Thread Zackery Spytz
Change by Zackery Spytz : -- components: +Library (Lib) nosy: +ZackerySpytz ___ Python tracker ___

[issue33262] Deprecate shlex.split(None) to read from stdin.

2018-04-17 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +6207 stage: needs patch -> patch review ___ Python tracker ___

[issue33262] Deprecate shlex.split(None) to read from stdin.

2018-04-11 Thread Eric V. Smith
Eric V. Smith added the comment: I agree that it should be deprecated. That's crazy behavior. I'd also recommend that shlex.shlex with instream=None be deprecated, but maybe that's too radical. It seems way too easy to accidentally pass in None. -- nosy:

[issue33262] Deprecate shlex.split(None) to read from stdin.

2018-04-11 Thread Christian Heimes
New submission from Christian Heimes : The shlex module implements simple tokenize for a shell-like mini language. The shlex.split() function splits a string into subcomponents just like a typical Unix shell. However function has a surprising feature. When None is passed into