This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients Ramchandra Apte, roger.serwy, terry.reedy
Date 2011-12-24.04:03:38
SpamBayes Score 1.2300963e-07
Marked as misclassified No
Message-id <1324699419.42.0.00270424460145.issue13657@psf.upfronthosting.co.za>
In-reply-to
Content
> 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 before every new ps1 statement prompt. A configuration option might work better.
  
I would rather remove the prompts from the entry window itself, and use 4 char indents instead of 8, so that cutting does not pick up the prompts.  IDLE does not have to exactly imitate the Command Window interface. It could also give the user a choice.
History
Date User Action Args
2011-12-24 04:03:39terry.reedysetrecipients: + terry.reedy, roger.serwy, Ramchandra Apte
2011-12-24 04:03:39terry.reedysetmessageid: <1324699419.42.0.00270424460145.issue13657@psf.upfronthosting.co.za>
2011-12-24 04:03:38terry.reedylinkissue13657 messages
2011-12-24 04:03:38terry.reedycreate