> Not sure what the "right" answer is, but I wanted to stick my oar in to > say that I think that Decimal has not been in the field long enough or > widely-enough used that we should feel that the API has been set in > stone. If there's agreement that a mistake was made, let's fix it!
There is not agreement. I prefer the current behavior and think changing it would introduce more problems than it would solve. Further, the API currently provides both context aware and context free construction -- all the tools needed are already there. Let's leave this alone and simply document the best practices (using unary plus after a precision change and constructing using create_decimal whenever context is important to construction). Raymond _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com