Raymond Hettinger <raymond.hettin...@gmail.com> wrote:
> I would like to ask for a little restraint and for there to 
> be individual cost/benefit evaluations for each case.

+1

> For external constants, some thought needs to be given to:
> * is the current API working just fine (i.e. decimal's ROUND_DOWN)

For compatibility with the Python version, I recently changed the rounding
constants of the C version to strings. This was at the request of a user
who wanted to exchange (Decimal, ROUNDING) pickles between the versions.

I think the strings are working fine and personally I have no plans to
change the type again.


The episode shows that pickling backwards compatibility is one thing
to consider, but I'm probably stating the obvious here. :)


Stefan Krah



_______________________________________________
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

Reply via email to