On 4 May 2016 at 13:44,  <tritium-l...@sdamon.com> wrote:
>>
>> (Is cdecimal substantially different from the _decimal added in 3.5?)
>>
> AFAICT, they are unrelated codebases that do about the same thing with the 
> same amount of performance, with the main exception that _decimal in 3.5 does 
> not require one to change their import (or to compile the package themselves.)

cdecimal and the standard library's _decimal module are built around
the same decimal arithmetic library (libmpdec), and Stefan is the
maintainer for all of them. Similar to other standard library modules
with a PyPI counterpart, end users can choose between using the
standard library version (and avoiding the external dependency) and
using the independently updated version (and gaining increased
consistency across Python versions, including availability on 2.7).

More info on that can be found in the Python 3.3 What's New doc:
https://docs.python.org/3/whatsnew/3.3.html#new-decimal

Regards,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to