[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2017-10-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: #31858 fixes pyshell and editor so that a user setting of sys.ps1 in a startup file continues to be used after turning debugger on, instead of erased. I consider this to be an IDLE documentation issue, to add something in the introduction.

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2017-06-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I explained somewhere else that a secondary prompt would be wrong for Idle since the primary prompt asks for a *statement*, not just the first line of the statement. The advantage is being able to edit and recall entire statements, not just one line. This

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2014-01-31 Thread Zachary Ware
Zachary Ware added the comment: Robin Zimmermann on docs@ raised this issue again. Is this likely to be fixed soon, or would it be good to document this limitation of IDLE in the tutorial (since the tutorial is the most likely place for someone to be confused by this)? -- nosy:

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2014-01-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: If there is a discussion of sys.ps1 and sys.ps2 in the tutorial, then add a note that they are not supported in Idle. The only quick action on this issue would be to reject and close. I am still opposed to the proposal as presented, for reasons stated in my

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2013-05-19 Thread Alejandro Rodas
Alejandro Rodas added the comment: I have reviewed the patch, and apart from setting the promt, I think it would be possible to set it at the beginning with the same approach: def getprompt(self): self.interp.runcommand(textwrap.dedent(\ try: print(sys.ps1,

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2013-05-17 Thread Phil Webster
Phil Webster added the comment: I've attached a patch that attempts to get sys.ps1 for the prompt. Unfortunately it prints out blue because it is treated as output from running print(sys.ps1) as if the user had typed it in. Now that I have a better understanding of the issue, I may be able to

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2013-05-13 Thread Roger Serwy
Roger Serwy added the comment: Adding 16123 as a dependency. Resolving sys.ps1 and sys.ps2 will likely be simpler when only considering one execution mode. -- dependencies: +IDLE - deprecate running without a subprocess nosy: +roger.serwy versions: +Python 2.7, Python 3.4

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2012-12-30 Thread Roger Serwy
Changes by Roger Serwy roger.se...@gmail.com: -- nosy: -serwy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13657 ___ ___ Python-bugs-list

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2012-12-29 Thread Ramchandra Apte
Ramchandra Apte added the comment: Buump... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13657 ___ ___ Python-bugs-list mailing list

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2012-07-09 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com added the comment: For reference, IDLE-DEV is discussing the prompt: http://mail.python.org/pipermail/idle-dev/2012-June/003129.html -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13657

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2012-03-23 Thread Ramchandra Apte
Ramchandra Apte maniandra...@gmail.com added the comment: What is the status of this bug? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13657 ___

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2012-03-23 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: This is an issue, not a bug, and the status is as it was: unclear just what to do; would require some major work. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13657

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2012-03-23 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- stage: - needs patch versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13657 ___

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2011-12-23 Thread maniram maniram
New submission from maniram maniram maniandra...@gmail.com: IDLE doesn't support nor set sys.ps1 and sys.ps2. sys.ps1 Traceback (most recent call last): File pyshell#1, line 1, in module sys.ps1 AttributeError: 'module' object has no attribute 'ps1' sys.ps1 = Test #The next prompt

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2011-12-23 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com added the comment: This would make the IDLE shell interface more consistent with the original interpreter. Presently, the prompt is faked by showprompt in PyShell.py. It relies on sys from the IDLE gui process and not from the sys in the subprocess, so

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2011-12-23 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: so mimicking the changed prompt would require querying the subprocess for its sys.ps1 and sys.ps2. Is that sensibly possible? Any line of code can change those, so IDLE would have to do the equivalent of idle.ps1,idle.ps2 = sys.ps1, sys.ps2

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2011-12-23 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com added the comment: Is that sensibly possible? Any line of code can change those, so IDLE would have to do the equivalent of idle.ps1,idle.ps2 = sys.ps1, sys.ps2 before every new ps1 statement prompt. It may be possible if the code gets refactored such that