[issue29093] Windows launcher breaks history in Git Bash

2016-12-31 Thread Eryk Sun
Eryk Sun added the comment: git-bash.exe runs bash.exe via cmd.exe, which means the console (conhost.exe) ends up with 5 attached processes: cmd.exe bash.exe bash.exe py.exe python.exe The default console configuration uses 4 history

[issue29093] Windows launcher breaks history in Git Bash

2016-12-31 Thread Evan
Evan added the comment: No problem, thanks for your time. -- ___ Python tracker ___ ___ Python-bugs-list

[issue29093] Windows launcher breaks history in Git Bash

2016-12-31 Thread Paul Moore
Paul Moore added the comment: Thanks for letting us know -- ___ Python tracker ___ ___ Python-bugs-list

[issue29093] Windows launcher breaks history in Git Bash

2016-12-31 Thread Evan
Evan added the comment: This appears to be a bug with Git Bash, not Python or the launcher. Closing. -- resolution: -> third party status: open -> closed ___ Python tracker

[issue29093] Windows launcher breaks history in Git Bash

2016-12-28 Thread Evan
Evan added the comment: I tried compiling the version of the launcher from https://github.com/python/cpython/tree/3.3, and the bug is still present there. Previously when I was testing older versions with the launcher I had to uninstall pyreadline from several of them to confirm the bug was

[issue29093] Windows launcher breaks history in Git Bash

2016-12-28 Thread Evan
Evan added the comment: No, it doesn't provide a version of readline that works with Windows binaries. Trying to import readline fails no matter how I start Python. -- ___ Python tracker

[issue29093] Windows launcher breaks history in Git Bash

2016-12-28 Thread Paul Moore
Paul Moore added the comment: Does the git bash shell leave a readline DLL on the user's PATH? If so, Python's readline support will kick in, and as a result Python will behave differently. -- ___ Python tracker

[issue29093] Windows launcher breaks history in Git Bash

2016-12-28 Thread Evan
Evan added the comment: Yes, the history within the current Python session. It's worth noting that the history usually behaves like in cmd.exe, not bash. (I don't have a py.exe without the bug at the moment to confirm that is the same.) Testing now, it seems all the history shortcuts (F1-F9)

[issue29093] Windows launcher breaks history in Git Bash

2016-12-28 Thread Steve Dower
Steve Dower added the comment: You mean the history within Python? That's extremely strange. Have you reported this to the git bash folks? We'll probably need someone who understands what their shell is actually doing to make any progress here. --

[issue29093] Windows launcher breaks history in Git Bash

2016-12-28 Thread Evan
New submission from Evan: When I launch *any* version of Python using py.exe from Git Bash, the up and down arrows clear the line buffer instead of navigating history. The following things all work as intended: * py.exe in cmd.exe * py.exe in Git Bash using winpty * Python 2.7, 3.5, 3.6 when