[Python-3000] Low-hanging fruit: change interpreter prompt?
Giovanni Bajo
rasky at develer.com
Thu Nov 30 10:16:18 CET 2006
Aahz wrote:
>> it's a minor issue, but I was wondering if the interpreter prompt could be
>> changed in Py3K. The current prompt is ">>>" which happens to match the
>> standard character used for quotes in e-mails. As a result, intepreter
>> sessions might look funky when copy & pasted inside mails.
>
> While I feel your pain, I loathe the idea of updating all my doctests...
doctest could easily be updated in the Py3k so to support also the old prompt
syntax to ease the transition (either by default, or with
doctest.testmod(old_syntax=True)).
Anyway, you could search & replace and... uhm... run the tests to see if you
missed something :)
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
More information about the Python-3000
mailing list