[Python-Dev] Change in repr of Decimal in 2.6
kmtracey at gmail.com
Sat Jul 19 06:18:38 CEST 2008
On Fri, Jul 18, 2008 at 11:55 PM, Guido van Rossum <guido at python.org> wrote:
> This is an example of the problem with doctest -- it's easy to
> overspecify the tests. I don't think that whether the repr() of a
> Decimal uses single or double quotes should be considered a spec cast
> in stone by doctests.
OK, but I'm just thinking of all the places in tests we have stuff like:
We should really be doing something else to guard against a potential future
change in repr of whatever it is?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev