cdecimal in Tryton 4

36 views
Skip to first unread message

Axel Braun

unread,
Jun 10, 2016, 4:35:40 AM6/10/16
to tryton-dev
Hi,
during build of Tryton 4 I came along cdecimal as requirement.
cdecimal will stay in version 2.3, only libmpdec library will be developed further (currently in version 2.4.2)

libmpdec is the basis for the decimal module in Python-3.3.

Why do we have the separate requirement for cdecimal then?
Thanks
Axel

Korbinian Preisler

unread,
Jun 10, 2016, 6:00:42 AM6/10/16
to tryto...@googlegroups.com
Hi,

cdecimal has been integrated into Python 3.3 as you can see here:
https://pypi.python.org/pypi/cdecimal/2.3

So cdecimal should be only a dependency for python 2.7 packages.
--
You received this message because you are subscribed to the Google Groups "tryton-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/tryton-dev/9613d1cc-fa5e-4ad6-99ab-ec25b97a5380%40googlegroups.com.

Cédric Krier

unread,
Jun 10, 2016, 6:05:02 AM6/10/16
to tryton-dev
On 2016-06-10 01:35, Axel Braun wrote:
> Hi,
> during build of Tryton 4 I came along cdecimal as requirement.

It is not a requirement but just an option.

> cdecimal will stay in version 2.3, only libmpdec library will be developed
> further (currently in version 2.4.2)
>
> libmpdec is the basis for the decimal module in Python-3.3.
>
> Why do we have the separate requirement for cdecimal then?

For sure, people using Python >3.3 doesn't need this option as the
decimal module of the standard lib is faster.

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
Reply all
Reply to author
Forward
0 new messages