Message52044
(Continuing to talk to myself)
It's funny, I mentioned doctest already, thinking just that 'Ellipsis' would now print as '...' and the difference would cause incompatibilities; i.e. the same problem you get any time a __repr__ changes. But there's a worse problem, which is that '...' looks almost exactly like sys.PS2, so a doctest like this will mistake the output for a continuation line and fail:
"""
>>> Ellipsis
...
"""
**********************************************************************
File "./doctesterr.py", line 6, in __main__
Failed example:
Ellipsis
Expected nothing
Got:
...
**********************************************************************
In light of which grossness this trivial patch is probably not worth it. |
|
Date |
User |
Action |
Args |
2007-08-23 15:56:58 | admin | link | issue1673355 messages |
2007-08-23 15:56:58 | admin | create | |
|