[New-bugs-announce] [issue29213] python -m venv activate.bat has weird mix of line endings

Josh Wilson report at bugs.python.org
Mon Jan 9 09:12:18 EST 2017


New submission from Josh Wilson:

The activate.bat file generated by python -m venv somevirtualenv seems to have a mix of line ending styles.  Sometimes using Carriage Return (CR) and Line Feed (LF) and other times using only CR.

This seems to cause unexpected behavior when trying to modify the file to set additional environment variables.  Since this is a Windows-specific file it seems like it should use Windows-style line endings of CRLF

Deactivate.bat has the same issue.

----------
components: Windows
messages: 285043
nosy: Josh Wilson, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: python -m venv activate.bat has weird mix of line endings
type: behavior
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29213>
_______________________________________


More information about the New-bugs-announce mailing list