Re: [Python-Dev] [Python-checkins] cpython: In-line the append operations inside deque_inplace_repeat().

2015-09-14 Thread Brett Cannon
On Mon, 14 Sep 2015 at 15:37 Raymond Hettinger wrote: > > > On Sep 14, 2015, at 12:49 PM, Brett Cannon wrote: > > > > Would it be worth adding a comment that the block of code is an inlined > copy of deque_append()? > > Or maybe even turn the append() function into a macro so you minimize > code

Re: [Python-Dev] [Python-checkins] cpython: In-line the append operations inside deque_inplace_repeat().

2015-09-14 Thread Raymond Hettinger
> On Sep 14, 2015, at 12:49 PM, Brett Cannon wrote: > > Would it be worth adding a comment that the block of code is an inlined copy > of deque_append()? > Or maybe even turn the append() function into a macro so you minimize code > duplication? I don't think either would be helpful. The poi

Re: [Python-Dev] [Numpy-discussion] The process I intend to follow for any proposed changes to NumPy

2015-09-14 Thread Chris Barker
Travis, I'm sure you appreciate that this might all look a bit scary, given the recent discussion about numpy governance. But it's an open-source project, and I, at least, fully understand that going through a big process is NOT the way to get a new idea tried out and implemented. So I think thin

Re: [Python-Dev] [Python-checkins] cpython: In-line the append operations inside deque_inplace_repeat().

2015-09-14 Thread Brett Cannon
Would it be worth adding a comment that the block of code is an inlined copy of deque_append()? Or maybe even turn the append() function into a macro so you minimize code duplication? On Sat, 12 Sep 2015 at 08:00 raymond.hettinger wrote: > https://hg.python.org/cpython/rev/cb96ffe6ff10 > changes

Re: [Python-Dev] What happens of the Python 3.4 branch?

2015-09-14 Thread Larry Hastings
On 09/14/2015 11:37 AM, Mark Lawrence wrote: Sorry but Sunday October 13th doesn't suit me, how about Sunday October 11th or Sunday October 18th? Fair enough. Sunday October 11th, 2015. On second thought it's probably best to not wait until 2019, //arry/

Re: [Python-Dev] What happens of the Python 3.4 branch?

2015-09-14 Thread Mark Lawrence
On 14/09/2015 10:49, Larry Hastings wrote: On 09/14/2015 09:29 AM, Victor Stinner wrote: Python 3.5.0 was released. What happens to the 3.4 branch in Mercurial? Does it still accept bugfixes, or is it only for security fixes now? Nothing has been announced or decided. As release manager I s

Re: [Python-Dev] What happens of the Python 3.4 branch?

2015-09-14 Thread Larry Hastings
On 09/14/2015 09:29 AM, Victor Stinner wrote: Python 3.5.0 was released. What happens to the 3.4 branch in Mercurial? Does it still accept bugfixes, or is it only for security fixes now? Nothing has been announced or decided. As release manager I suppose I get some say. Here, I'll propose

[Python-Dev] What happens of the Python 3.4 branch?

2015-09-14 Thread Victor Stinner
Hi, Python 3.5.0 was released. What happens to the 3.4 branch in Mercurial? Does it still accept bugfixes, or is it only for security fixes now? Victor ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] semantics of subclassing things from itertools

2015-09-14 Thread Serhiy Storchaka
On 10.09.15 15:50, Maciej Fijalkowski wrote: On Thu, Sep 10, 2015 at 10:26 AM, Serhiy Storchaka wrote: There is another reason why itertools iterators can't be implemented as simple generator functions. All iterators are pickleable in 3.x. maybe the documentation should reflect that? (note th

[Python-Dev] Hash computation enhancement for {buffer, string, unicode}object

2015-09-14 Thread Patrascu, Alecsandru
Hi All, This is Alecsandru from Server Scripting Languages Optimization team at Intel Corporation. I would like to submit a patch that improves the performance of the hash computation code on stringobject, bufferobject and unicodeobject. As can be seen from the attached sample performance resu