[issue38570] Shlex does not parse commands containing single quotes correctly
timonegk added the comment: Okay, thanks a lot. I am closing this since it is not a bug then. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or
[issue38570] Shlex does not parse commands containing single quotes correctly
New submission from timonegk : Steps to reproduce: >>> from shlex import split >>> line = "export F=$'\\''" >>> split(line) ValueError: No closing quotation However, when printing the line >>> print(line) export F=$'\'