Re: [Python-Dev] PEP 393 close to pronouncement

2011-09-26 Thread Martin v. Löwis
>> "GDB Debugging Hooks" It's not done yet. > I can do these if need be, but IIRC you (Victor) said on #python-dev > that you were already working on them. I already changed it for an earlier version of the PEP. It still needs to sort out the various compact representations. I could do them as wel

Re: [Python-Dev] range objects in 3.x

2011-09-26 Thread Greg Ewing
Guido van Rossum wrote: Or, maybe what I'm trying to say is, if the user has start/end/count but the API wants start/step/count, after computing step = (end-start) / count, the value of start + count*step might not quite equal to end; whereas if the user has start/step/count but the API wants sta

Re: [Python-Dev] range objects in 3.x

2011-09-26 Thread Guido van Rossum
On Mon, Sep 26, 2011 at 6:25 PM, Steven D'Aprano wrote: > While continuity of API might be a good thing, we shouldn't accept a poor > API just for the sake of continuity. I have some criticisms of the linspace > API. [...] > * I'm not sure that start/end/count is a better API than start/step/coun

Re: [Python-Dev] range objects in 3.x

2011-09-26 Thread Steven D'Aprano
Fernando Perez wrote: On Sat, 24 Sep 2011 08:13:11 -0700, Guido van Rossum wrote: I expect that to implement a version worthy of the stdlib math module, i.e. that computes values that are correct within 0.5ULP under all circumstances (e.g. lots of steps, or an end point close to the end of the

Re: [Python-Dev] PEP 393 close to pronouncement

2011-09-26 Thread David Malcolm
On Tue, 2011-09-27 at 00:19 +0200, Victor Stinner wrote: > Hi, > > Le lundi 26 septembre 2011 23:00:06, Guido van Rossum a écrit : > > So, if you have the time, please review PEP 393 and/or play with the > > code (the repo is linked from the PEP's References section now). > > PEP > === > "GDB D

Re: [Python-Dev] PEP 393 close to pronouncement

2011-09-26 Thread Victor Stinner
Hi, Le lundi 26 septembre 2011 23:00:06, Guido van Rossum a écrit : > So, if you have the time, please review PEP 393 and/or play with the > code (the repo is linked from the PEP's References section now). I played with the code. The full test suite pass on Linux, FreeBSD and Windows. On Windows

Re: [Python-Dev] range objects in 3.x

2011-09-26 Thread Fernando Perez
On Sat, 24 Sep 2011 08:13:11 -0700, Guido van Rossum wrote: > I expect that to implement a version worthy of the stdlib math module, > i.e. that computes values that are correct within 0.5ULP under all > circumstances (e.g. lots of steps, or an end point close to the end of > the floating point ra

[Python-Dev] PEP 393 close to pronouncement

2011-09-26 Thread Guido van Rossum
Martin has asked me to pronounce on PEP 393, after he's updated it in response to various feedback (including mine :-). I'm currently looking very favorable on it, but I thought I'd give folks here one more chance to bring up showstoppers. So, if you have the time, please review PEP 393 and/or pla

Re: [Python-Dev] [Python-checkins] cpython: Issue #12981: rewrite multiprocessing_{sendfd, recvfd} in Python.

2011-09-26 Thread Nick Coghlan
2011/9/26 Charles-François Natali : > I'm not sure I understand what you mean. You actually understood what I meant, I was just wrong because I misread the conditional. Nothing to see here, please move along :) Cheers, Nick. -- Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia ___