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 georg.brandl
Recipients georg.brandl, lonetwin
Date 2014-01-23.10:43:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390473825.12.0.819542797307.issue20359@psf.upfronthosting.co.za>
In-reply-to
Content
I think you're using the escapes correctly: you must only escape nonprinting characters. Try

>>> sys.ps1 = '\x01\033[32m\x02>>> \x01\033[0m\x02'
History
Date User Action Args
2014-01-23 10:43:45georg.brandlsetrecipients: + georg.brandl, lonetwin
2014-01-23 10:43:45georg.brandlsetmessageid: <1390473825.12.0.819542797307.issue20359@psf.upfronthosting.co.za>
2014-01-23 10:43:45georg.brandllinkissue20359 messages
2014-01-23 10:43:44georg.brandlcreate