On Mon, Oct 19, 2009 at 9:58 PM, Tim Peters tim.pet...@gmail.com wrote:
Don't want to hijack this thread, but this is the kind of use case
justifying keeping the 3-argument pow in the decimal module. People
playing with number theory questions can learn a bag of tricks to
worm around that
Mark Dickinson wrote:
This high-precision inefficiency could easily be fixed by
using a dedicated 'decimal natural number' extension
type for the Decimal coefficient, stored internally in base
a suitable power of 10. I think this may be worth
considering seriously. I'm not proposing this as
On Oct 19, 2009, at 11:10 PM, Lisandro Dalcin wrote:
I'm getting this warning. It seems nothing is actually broken, but the
fix is pretty easy.
gcc -pthread -c -fno-strict-aliasing -g -Wall -Wstrict-prototypes -I.
-IInclude -I./Include -DPy_BUILD_CORE -o Objects/unicodeobject.o
On Tue, Oct 20, 2009 at 11:49 AM, Nick Coghlan ncogh...@gmail.com wrote:
Mark Dickinson wrote:
This high-precision inefficiency could easily be fixed by
using a dedicated 'decimal natural number' extension
type for the Decimal coefficient, stored internally in base
a suitable power of 10.
I'd like to turn over the organization of the VM and Python Language
Summits at PyCon 2010 to someone else, one or two people. (The same
person doesn't need to organize both of them.)
Why: in November PyCon will be three months away, so the guest list
needs to be finalized and the invitations
Hi,
as some of you know, recently I've released an arbitrary precision
C library for decimal arithmetic together with a Python module:
http://www.bytereef.org/libmpdec.html
http://www.bytereef.org/fastdec.html
Both the library and the module have been tested extensively. Fastdec
currently
Shouldn't this be on python-ideas?
S
On Oct 20, 2009, at 9:15 AM, Stefan Krah wrote:
Hi,
as some of you know, recently I've released an arbitrary precision
C library for decimal arithmetic together with a Python module:
http://www.bytereef.org/libmpdec.html
On Tue, 20 Oct 2009 at 09:27, sstein...@gmail.com wrote:
Shouldn't this be on python-ideas?
IMO this question is appropriate for python-dev, not python-ideas.
--David
___
Python-Dev mailing list
Python-Dev@python.org
sstein...@gmail.com sstein...@gmail.com wrote:
Shouldn't this be on python-ideas?
I found previous discussions about Decimal in C on python-dev, that's why
used this list.
Stefan Krah
___
Python-Dev mailing list
Python-Dev@python.org
On Oct 20, 2009, at 9:43 AM, Stefan Krah wrote:
sstein...@gmail.com sstein...@gmail.com wrote:
Shouldn't this be on python-ideas?
I found previous discussions about Decimal in C on python-dev,
that's why
used this list.
python-ideas:
This list is to contain discussion of speculative
[following up on distutils-sig]
Michael Foord wrote:
Many Windows users would be quite happy if the standard mechanism for
installing non-source distributions on Windows was via the wininst
binaries.
...and many users may not be ;-) I know I'd be extremely unhappy if that
were the case as I
Chris Withers wrote:
[following up on distutils-sig]
...FAIL, sorry for the noise.
Chris
--
Simplistix - Content Management, Batch Processing Python Consulting
- http://www.simplistix.co.uk
___
Python-Dev mailing list
On Tue, 20 Oct 2009 at 09:55, sstein...@gmail.com wrote:
On Oct 20, 2009, at 9:43 AM, Stefan Krah wrote:
sstein...@gmail.com sstein...@gmail.com wrote:
Shouldn't this be on python-ideas?
I found previous discussions about Decimal in C on python-dev, that's why
used this list.
python-ideas:
On Tue, Oct 20, 2009 at 11:49 AM, Nick Coghlan ncogh...@gmail.com wrote:
Mark Dickinson wrote:
This high-precision inefficiency could easily be fixed by
using a dedicated 'decimal natural number' extension
type for the Decimal coefficient, stored internally in base
a suitable power of 10.
On Tue, Oct 20, 2009 at 3:50 PM, Eric Smith e...@trueblade.com wrote:
The code was working a few months ago (with all Decimal tests
passing), but there have been some changes and bugfixes since
then. I might try to resurrect that code, dropping the _Decimal type and
just concentrating on
2009/10/20 Chris Withers ch...@simplistix.co.uk:
I wouldn't have a problem if integrating with the windows package manager
was an optional extra, but I think it's one of many types of package
management that need to be worried about, so might be easier to get the
others working and let anyone
On Tue, Oct 20, 2009 at 07:57, Mark Dickinson dicki...@gmail.com wrote:
On Tue, Oct 20, 2009 at 3:50 PM, Eric Smith e...@trueblade.com wrote:
The code was working a few months ago (with all Decimal tests
passing), but there have been some changes and bugfixes since
then. I might try to
2009/10/20 Stefan Krah stefan-use...@bytereef.org:
Hi,
as some of you know, recently I've released an arbitrary precision
C library for decimal arithmetic together with a Python module:
http://www.bytereef.org/libmpdec.html
http://www.bytereef.org/fastdec.html
Both the library and the
On 20 Oct 2009, at 04:35, Martin v. Löwis wrote:
The patch I developed for comment only adds const to the input
parameters and used casts to
allow output parameters to stay without the const.
What specific APIs are you talking about here?
Checking my patch I have two functions that need to
On Tue, Oct 20, 2009 at 4:03 PM, Barry Scott ba...@barrys-emacs.org wrote:
Checking my patch I have two functions that need to
have output params changed to const to avoid casting.
PyOS_strtoul- ptr
PyLong_FromString - pend
This is a no-win
On Tue, 20 Oct 2009 21:49:42 +0100, Paul Moore p.f.mo...@gmail.com wrote:
Can I repeat that in big letters? The key is a SINGLE DISTRIBUTION
FORMAT.
ok - but that pretty much exists..
If you can persuade everyone to accept a format which ignores clearly
stated user requirements, go for it.
On Tue, Oct 20, 2009 at 3:00 PM, Paul Moore p.f.mo...@gmail.com wrote:
2009/10/20 Stefan Krah stefan-use...@bytereef.org:
Hi,
as some of you know, recently I've released an arbitrary precision
C library for decimal arithmetic together with a Python module:
On Wed, Oct 21, 2009 at 5:49 AM, Paul Moore p.f.mo...@gmail.com wrote:
2009/10/20 Chris Withers ch...@simplistix.co.uk:
I wouldn't have a problem if integrating with the windows package manager
was an optional extra, but I think it's one of many types of package
management that need to be
On Tue, Oct 20, 2009 at 7:44 PM, David Cournapeau courn...@gmail.com wrote:
On Wed, Oct 21, 2009 at 5:49 AM, Paul Moore p.f.mo...@gmail.com wrote:
2009/10/20 Chris Withers ch...@simplistix.co.uk:
There are many (I believe) Windows users for whom bdist_wininst is
just what they want. For those
I suggest following POSIX's lead and omitted the const in these cases.
Thanks, that sounds reasonable.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
25 matches
Mail list logo