Re: [Python-Dev] SIGCHECK() in longobject.c

2009-10-20 Thread Mark Dickinson
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

Re: [Python-Dev] SIGCHECK() in longobject.c

2009-10-20 Thread Nick Coghlan
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

Re: [Python-Dev] Python 2.6.4rc2

2009-10-20 Thread Barry Warsaw
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

Re: [Python-Dev] SIGCHECK() in longobject.c

2009-10-20 Thread Mark Dickinson
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.

[Python-Dev] Volunteer needed to organize summits

2009-10-20 Thread A.M. Kuchling
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

[Python-Dev] Interest in integrating C decimal module into Python?

2009-10-20 Thread Stefan Krah
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

Re: [Python-Dev] Interest in integrating C decimal module into Python?

2009-10-20 Thread sstein...@gmail.com
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

Re: [Python-Dev] Interest in integrating C decimal module into Python?

2009-10-20 Thread R. David Murray
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

Re: [Python-Dev] Interest in integrating C decimal module into Python?

2009-10-20 Thread Stefan Krah
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

Re: [Python-Dev] Interest in integrating C decimal module into Python?

2009-10-20 Thread sstein...@gmail.com
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

Re: [Python-Dev] Distutils and Distribute roadmap (and some words on Virtualenv, Pip)

2009-10-20 Thread Chris Withers
[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

Re: [Python-Dev] Distutils and Distribute roadmap (and some words on Virtualenv, Pip)

2009-10-20 Thread Chris Withers
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

Re: [Python-Dev] Interest in integrating C decimal module into Python?

2009-10-20 Thread R. David Murray
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:

Re: [Python-Dev] SIGCHECK() in longobject.c

2009-10-20 Thread Eric Smith
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.

Re: [Python-Dev] SIGCHECK() in longobject.c

2009-10-20 Thread Mark Dickinson
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

Re: [Python-Dev] Distutils and Distribute roadmap (and some words on Virtualenv, Pip)

2009-10-20 Thread Paul Moore
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

Re: [Python-Dev] SIGCHECK() in longobject.c

2009-10-20 Thread Brett Cannon
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

Re: [Python-Dev] Interest in integrating C decimal module into Python?

2009-10-20 Thread Paul Moore
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

Re: [Python-Dev] Add const to python API - issue 6952

2009-10-20 Thread Barry Scott
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

Re: [Python-Dev] Add const to python API - issue 6952

2009-10-20 Thread Daniel Stutzbach
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

Re: [Python-Dev] Distutils and Distribute roadmap (and some words on Virtualenv, Pip)

2009-10-20 Thread David Lyon
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.

Re: [Python-Dev] Interest in integrating C decimal module into Python?

2009-10-20 Thread Maciej Fijalkowski
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:

Re: [Python-Dev] Distutils and Distribute roadmap (and some words on Virtualenv, Pip)

2009-10-20 Thread David Cournapeau
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

Re: [Python-Dev] Distutils and Distribute roadmap (and some words on Virtualenv, Pip)

2009-10-20 Thread Steven Bethard
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

Re: [Python-Dev] Add const to python API - issue 6952

2009-10-20 Thread Martin v. Löwis
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: