sys.ps2 warning

Bug #842552 reported by Andreas Roehler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Expired
Undecided
Unassigned

Bug Description

py-shell doku says:

Warning: Don't use an interactive Python if you change sys.ps1 or
sys.ps2 from their default values, or if you're running code that
prints `>>> ' or `... ' at the start of a line. `python-mode' can't
distinguish your output from Python's output, and assumes that `>>> '
at the start of a line is a prompt from Python. Similarly, the Emacs
Shell mode code assumes that both `>>> ' and `... ' at the start of a
line are Python prompts. Bad things can happen if you fool either
mode.

;;;;;;;;;;;

Is this warning still valid?
If yes, Emacs should be able to deal with this, we should fix it

Changed in python-mode:
assignee: nobody → Andreas Roehler (a-roehler)
milestone: none → 6.0.3
importance: Undecided → Medium
Changed in python-mode:
milestone: 6.0.3 → 6.1
Revision history for this message
Andreas Roehler (a-roehler) wrote :

can't imagine this warning is still valid.

py-shell has it's own process, the name shell is just a name here, it's not affected by common shell, bash variables etc. AFAIU.

OTOH should that kind of interference occur, we should consider it a bug and cure it.

Flag it incomplete for the moment. Let's see if any comments come in.

Changed in python-mode:
status: New → Incomplete
Changed in python-mode:
assignee: Andreas Roehler (a-roehler) → nobody
Changed in python-mode:
importance: Medium → Undecided
milestone: 6.1.1 → none
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for python-mode.el because there has been no activity for 60 days.]

Changed in python-mode:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.