Re: [Python-Dev] Hg: inter-branch workflow

2011-03-28 Thread Ben Finney
Neil Schemenauer n...@python.ca writes: Regarding collapsing multiple comments (and rewriting history in general), I feel there are two main schools of thought. One school considers the development history of a change important and that it should be preserved: every step and misstep of

Re: [Python-Dev] [Python-checkins] cpython: Add optional *func* argument to itertools.accumulate().

2011-03-28 Thread Daniel Stutzbach
On Sun, Mar 27, 2011 at 10:53 PM, Nick Coghlan ncogh...@gmail.com wrote: On Mon, Mar 28, 2011 at 2:11 PM, Daniel Stutzbach stutzb...@google.com wrote: Is there a good use-case for the func argument? The examples that Raymond gives in the docs (cumulative multiplication, running min/max,

Re: [Python-Dev] [Python-checkins] cpython: Add optional *func* argument to itertools.accumulate().

2011-03-28 Thread Raymond Hettinger
On Mar 28, 2011, at 12:38 AM, Daniel Stutzbach wrote: On Sun, Mar 27, 2011 at 10:53 PM, Nick Coghlan ncogh...@gmail.com wrote: On Mon, Mar 28, 2011 at 2:11 PM, Daniel Stutzbach stutzb...@google.com wrote: Is there a good use-case for the func argument? The examples that Raymond gives

Re: [Python-Dev] Hg: inter-branch workflow

2011-03-28 Thread Paul Moore
On 27 March 2011 20:15, Neil Schemenauer n...@python.ca wrote: Guido van Rossum gu...@python.org wrote: What is rebase? Why does everyone want it and hate it at the same time? [...] The other school, which I am a member of, considers a logical development sequence more important than actual

Re: [Python-Dev] Hg: inter-branch workflow

2011-03-28 Thread Nick Coghlan
On Mon, Mar 28, 2011 at 8:13 PM, Paul Moore p.f.mo...@gmail.com wrote: For people in the clean history school, I'd recommend looking at mq for your personal use. But it's definitely an advanced feature of Mercurial, so it may be better to understand core Mercurial (and at least temporarily

Re: [Python-Dev] Hg: inter-branch workflow

2011-03-28 Thread Paul Moore
On 28 March 2011 11:35, Nick Coghlan ncogh...@gmail.com wrote: On Mon, Mar 28, 2011 at 8:13 PM, Paul Moore p.f.mo...@gmail.com wrote: For people in the clean history school, I'd recommend looking at mq for your personal use. But it's definitely an advanced feature of Mercurial, so it may be

Re: [Python-Dev] Hg: inter-branch workflow

2011-03-28 Thread Michael Foord
On 28/03/2011 11:35, Nick Coghlan wrote: On Mon, Mar 28, 2011 at 8:13 PM, Paul Moorep.f.mo...@gmail.com wrote: For people in the clean history school, I'd recommend looking at mq for your personal use. But it's definitely an advanced feature of Mercurial, so it may be better to understand core

Re: [Python-Dev] Hg: inter-branch workflow

2011-03-28 Thread Nick Coghlan
On Mon, Mar 28, 2011 at 10:48 PM, Michael Foord fuzzy...@voidspace.org.uk wrote: On 28/03/2011 11:35, Nick Coghlan wrote: Mercurial makes merging easy enough that I'm happy with the way that approach is working so far. For any non-trivial work I think this is the best approach. You still get

Re: [Python-Dev] improvement to declaring abstract properties

2011-03-28 Thread Darren Dale
On Sat, Mar 19, 2011 at 3:06 PM, Darren Dale dsdal...@gmail.com wrote: I suggested at python-ideas a way that the declaration of abstract properties could be improved to support the decorator syntax: http://mail.python.org/pipermail/python-ideas/2011-March/009411.html . A relatively small

Re: [Python-Dev] Python 2.7 on Irix 6.5.22 fails ctypes callback test

2011-03-28 Thread Antoine Pitrou
On Sun, 27 Mar 2011 19:07:08 -0400 (EDT) David E. Cross cro...@cs.rpi.edu wrote: Trying to compile and install Python 2.7 on irix 6.5.22 IP22 (N32 ABI model), Using gcc-4.5.1 and binutils 2.20.1. Everything goes well (I applied th patches listed at:

Re: [Python-Dev] Hg: inter-branch workflow

2011-03-28 Thread Barry Warsaw
On Mar 27, 2011, at 01:39 PM, Neil Schemenauer wrote: Barry Warsaw ba...@python.org wrote: I'm asking because I don't know hg and git well enough to answer the question. In my own use of Bazaar over the last 4+ years, I've almost never rebased or even been asked to. Maybe it depends on what

Re: [Python-Dev] [Python-checkins] cpython: Add optional *func* argument to itertools.accumulate().

2011-03-28 Thread Georg Brandl
On 28.03.2011 09:49, Raymond Hettinger wrote: On Mar 28, 2011, at 12:38 AM, Daniel Stutzbach wrote: On Sun, Mar 27, 2011 at 10:53 PM, Nick Coghlan ncogh...@gmail.com mailto:ncogh...@gmail.com wrote: On Mon, Mar 28, 2011 at 2:11 PM, Daniel Stutzbach stutzb...@google.com

[Python-Dev] Issue Tracker

2011-03-28 Thread Ethan Furman
Greetings! I'm not sure where the best place is to ask this question, so I'll start here -- feel free to redirect me if necessary. I would like to have some software to keep track of bugs, to-do's, ideas, etc., etc. -- you know, an issue tracker! Naturally I thought of the one we use to

Re: [Python-Dev] Issue Tracker

2011-03-28 Thread Brian Curtin
On Mon, Mar 28, 2011 at 15:05, Ethan Furman et...@stoneleaf.us wrote: Greetings! I'm not sure where the best place is to ask this question, so I'll start here -- feel free to redirect me if necessary. I would like to have some software to keep track of bugs, to-do's, ideas, etc., etc. --

Re: [Python-Dev] Issue Tracker

2011-03-28 Thread Antoine Pitrou
On Mon, 28 Mar 2011 15:14:20 -0500 Brian Curtin brian.cur...@gmail.com wrote: On Mon, Mar 28, 2011 at 15:05, Ethan Furman et...@stoneleaf.us wrote: Greetings! I'm not sure where the best place is to ask this question, so I'll start here -- feel free to redirect me if necessary. I

Re: [Python-Dev] Issue Tracker

2011-03-28 Thread Ethan Furman
Brian Curtin wrote: On Mon, Mar 28, 2011 at 15:05, Ethan Furman et...@stoneleaf.us mailto:et...@stoneleaf.us wrote: Greetings! I'm not sure where the best place is to ask this question, so I'll start here -- feel free to redirect me if necessary. I would like to have some

Re: [Python-Dev] Issue Tracker

2011-03-28 Thread Ethan Furman
Antoine Pitrou wrote: On Mon, 28 Mar 2011 15:14:20 -0500 Brian Curtin brian.cur...@gmail.com wrote: On Mon, Mar 28, 2011 at 15:05, Ethan Furman et...@stoneleaf.us wrote: I would like to have some software to keep track of bugs, to-do's, ideas, etc., etc. -- you know, an issue tracker!

Re: [Python-Dev] Hg: inter-branch workflow

2011-03-28 Thread Terry Reedy
On 3/28/2011 6:13 AM, Paul Moore wrote: This philosophy is essentially what the mq extension to Mercurial tries to capture. In mq, you maintain a series of patches on top of your repository, amending, refining and rebasing them as you wish until they are ready to commit, at which time you take

Re: [Python-Dev] Hg: inter-branch workflow

2011-03-28 Thread Paul Moore
On 28 March 2011 22:29, Terry Reedy tjre...@udel.edu wrote: From what you write, it seems that mq is actually an unordered patch set, not a queue (in the FIFO) sense. (Or do you have to commit and remove in FIFO order?) Why the confusing mislabel, if indeed I understood correctly? It's a queue

Re: [Python-Dev] [Python-checkins] cpython: Add optional *func* argument to itertools.accumulate().

2011-03-28 Thread Daniel Stutzbach
On Mon, Mar 28, 2011 at 12:49 AM, Raymond Hettinger raymond.hettin...@gmail.com wrote: Do a google code search for R's builtin functions cumsum, cumprod, cummin, and cummax. Look at mumpy's accumulate ufunc which works with many operators. APL and K also have an accumulate tool which takes

Re: [Python-Dev] Hg: inter-branch workflow

2011-03-28 Thread Ben Finney
Michael Foord fuzzy...@voidspace.org.uk writes: On 28/03/2011 11:35, Nick Coghlan wrote: I'm seeing if I can get the best of both worlds by having a public sandbox repo where I work on things (which has the full messy history of development on its feature branches), and then just drop

Re: [Python-Dev] Issue Tracker

2011-03-28 Thread R. David Murray
On Mon, 28 Mar 2011 22:31:12 +0200, Antoine Pitrou solip...@pitrou.net wrote: On Mon, 28 Mar 2011 15:14:20 -0500 Brian Curtin brian.cur...@gmail.com wrote: On Mon, Mar 28, 2011 at 15:05, Ethan Furman et...@stoneleaf.us wrote: I would like to have some software to keep track of bugs,