PyShell adds dots on first invocation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
High
|
Andreas Roehler |
Bug Description
Using py-version 6.0.9 and Emacs 24 on Windows. Create a simple script ("hello.py") with contents such as:
print "Hello"
Then C-c C-c. The expected output should be something like:
>>> Hello
Instead, the actual buffer adds several periods (but only the first time):
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... >>> ... ... ... ... ... ... ... ... ... >>> ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... >>> Hello
Possibly related is that you cannot send a buffer to Python without first creating a file on disk. For instance, using the scratch buffer (in python-mode) results in the following error on C-c C-c:
>>> Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "c:/Users/
import os; os.chdir(
WindowsError: [Error 123] The filename, directory name, or volume label syntax is incorrect: 'C:\\Users\tbarik'
Changed in python-mode: | |
assignee: | nobody → Andreas Roehler (a-roehler) |
milestone: | none → 6.0.10 |
importance: | Undecided → High |
Changed in python-mode: | |
status: | New → In Progress |
Changed in python-mode: | |
status: | In Progress → Fix Committed |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |