[issue35661] Store the venv prompt in pyvenv.cfg

Steve Dower report at bugs.python.org
Wed Jan 9 18:50:33 EST 2019


Steve Dower <steve.dower at python.org> added the comment:

Adding my comment from the PR review:

Dealing with leading/trailing whitespace could get interesting here. All the other values can be trimmed at both ends, while this one (currently) must have one space removed from the start.

Perhaps we should insert the repr of the prompt instead? Or at least double-quote it and escape internal quotes and backslashes?

----------
nosy: +cheryl.sabella, steve.dower

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35661>
_______________________________________


More information about the Python-bugs-list mailing list