[issue39845] Argparse on Python 3.7.1 (Windows) appends double quotes to string if it ends with backward slash
paul j3
report at bugs.python.org
Thu Mar 5 15:33:13 EST 2020
paul j3 <ajipanca at gmail.com> added the comment:
Then this isn't an argparse issue. Probably not even a Python one. The windows shell (which one? cmd.exe? power? some batch) is making the substitution.
I see lots of discussion about Windows use of backslash, both as directory separator and escape. None seems to exactly apply.
For your application the use of a custom 'type' function might well be appropriate, but it's not something we want to add to argparse. It's a user specific patch.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39845>
_______________________________________
More information about the Python-bugs-list
mailing list