Re: move to end, in Python 3.2 Really?

2011-02-28 Thread Gregory Ewing
Raymond Hettinger wrote: The existing list.pop() API is similar (though it takes an index value instead of a boolean): mylist.pop() # default case: pop from last mylist.pop(0) # other case:pop from first pop() is somewhat different, because

Re: move to end, in Python 3.2 Really?

2011-01-19 Thread Grant Edwards
On 2011-01-19, geremy condra debat...@gmail.com wrote: On Tue, Jan 18, 2011 at 3:54 PM, rantingrick rantingr...@gmail.com wrote: And were the hell is Steve Holden? Why has he not weighed in on these (or any) discussions. He (Steve Holden) is second in command to the entire community. Yet we

Re: move to end, in Python 3.2 Really?

2011-01-19 Thread rantingrick
On Jan 19, 9:18 am, Grant Edwards inva...@invalid.invalid wrote: And an unmoderated Usenet newsgroup (which has even less of a chain of command than a mailing list). Moderated status has nothing to do with it. The fact is that the elite no longer feel it necessary to care about the troubles of

Re: move to end, in Python 3.2 Really?

2011-01-19 Thread André
On Wednesday, January 19, 2011 7:21:53 PM UTC-4, rantingrick wrote: On Jan 19, 9:18 am, Grant Edwards inva...@invalid.invalid wrote: And an unmoderated Usenet newsgroup (which has even less of a chain of command than a mailing list). Moderated status has nothing to do with it. The fact

Re: move to end, in Python 3.2 Really?

2011-01-19 Thread rantingrick
On Jan 19, 5:26 pm, André andre.robe...@gmail.com wrote: Perhaps it is because they are either busy programming and/or busy organizing Pycon 2011. Some people do a lot, some people talk/write a lot. It is hard to find the time to do both ... Well perhaps. I am not suggesting that these people

Re: move to end, in Python 3.2 Really?

2011-01-19 Thread geremy condra
On Wed, Jan 19, 2011 at 3:42 PM, rantingrick rantingr...@gmail.com wrote: Look, i am no perfect person and i do not expect that Steve is either. However attempting to say that somehow my work --engaging the community through lively debate in an attempt to re-energize the Python spirit GvR

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread Antoine Pitrou
On Mon, 17 Jan 2011 21:20:48 -0800 (PST) Raymond Hettinger pyt...@rcn.com wrote: On Jan 17, 6:51 pm, nn prueba...@latinmail.com wrote: ...But the api on this baffles me a bit: d = OrderedDict.fromkeys('abcde') d.move_to_end('b', last=False) ''.join(d.keys) 'bacde' I

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread rantingrick
On Jan 18, 6:46 am, Antoine Pitrou solip...@pitrou.net wrote: Design considerations? Where were they discussed? They were never discussed with the bulk of this community and that is part of what i want to change. We have a very small group of folks making all the decisions and that is fine.

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread MRAB
On 18/01/2011 16:27, rantingrick wrote: On Jan 18, 6:46 am, Antoine Pitrousolip...@pitrou.net wrote: Design considerations? Where were they discussed? They were never discussed with the bulk of this community and that is part of what i want to change. We have a very small group of folks

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread rantingrick
On Jan 18, 10:54 am, MRAB pyt...@mrabarnett.plus.com wrote: Decisions are made after open discussion (although we're not sure about move to end :-)). You shouldn't complain about not being consulted if you don't take the time to join in... Well don't get wrong i want to join in --not that i

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread Antoine Pitrou
On Tue, 18 Jan 2011 09:10:48 -0800 (PST) rantingrick rantingr...@gmail.com wrote: Well don't get wrong i want to join in --not that i have all the solutions-- Take a look at http://docs.python.org/devguide/#contributing -- http://mail.python.org/mailman/listinfo/python-list

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread rantingrick
On Jan 18, 11:56 am, Antoine Pitrou solip...@pitrou.net wrote: On Tue, 18 Jan 2011 09:10:48 -0800 (PST) rantingrick rantingr...@gmail.com wrote: Well don't get wrong i want to join in --not that i have all the solutions-- Take a look athttp://docs.python.org/devguide/#contributing

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread nn
On Jan 18, 12:20 am, Raymond Hettinger pyt...@rcn.com wrote: On Jan 17, 6:51 pm, nn prueba...@latinmail.com wrote: ...But the api on this baffles me a bit: d = OrderedDict.fromkeys('abcde') d.move_to_end('b', last=False) ''.join(d.keys) 'bacde' I understand that end could

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread Emile van Sebille
On 1/18/2011 9:10 AM rantingrick said... On Jan 18, 10:54 am, MRABpyt...@mrabarnett.plus.com wrote: Decisions are made after open discussion (although we're not sure about move to end :-)). You shouldn't complain about not being consulted if you don't take the time to join in... Well don't

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread Brian Curtin
On Tue, Jan 18, 2011 at 12:33, rantingrick rantingr...@gmail.com wrote: On Jan 18, 11:56 am, Antoine Pitrou solip...@pitrou.net wrote: On Tue, 18 Jan 2011 09:10:48 -0800 (PST) rantingrick rantingr...@gmail.com wrote: Well don't get wrong i want to join in --not that i have all the

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread Antoine Pitrou
On Tue, 18 Jan 2011 10:33:45 -0800 (PST) rantingrick rantingr...@gmail.com wrote: On Jan 18, 11:56 am, Antoine Pitrou solip...@pitrou.net wrote: On Tue, 18 Jan 2011 09:10:48 -0800 (PST) rantingrick rantingr...@gmail.com wrote: Well don't get wrong i want to join in --not that i have

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread rantingrick
On Jan 18, 12:55 pm, Emile van Sebille em...@fenx.com wrote: On 1/18/2011 9:10 AM rantingrick said... On Jan 18, 10:54 am, MRABpyt...@mrabarnett.plus.com  wrote: Decisions are made after open discussion (although we're not sure about move to end :-)). You shouldn't complain about

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread Brian Curtin
On Tue, Jan 18, 2011 at 13:22, rantingrick rantingr...@gmail.com wrote: Thanks for offering a suggestion it was very welcome however i need to emphasize that what i am proposing is sort of community discussion suggestion box. Like a Python Suggestions group or something. Where any and all

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread MRAB
On 18/01/2011 19:22, rantingrick wrote: On Jan 18, 12:55 pm, Emile van Sebilleem...@fenx.com wrote: On 1/18/2011 9:10 AM rantingrick said... On Jan 18, 10:54 am, MRABpyt...@mrabarnett.plus.comwrote: Decisions are made after open discussion (although we're not sure about move to end

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread Terry Reedy
On 1/18/2011 11:27 AM, rantingrick wrote: On Jan 18, 6:46 am, Antoine Pitrousolip...@pitrou.net wrote: Design considerations? Where were they discussed? I far as I know, nowhere until that post in this thread. They were never discussed with the bulk of this community and that is part of

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread Grant Edwards
On 2011-01-18, MRAB pyt...@mrabarnett.plus.com wrote: On 18/01/2011 19:22, rantingrick wrote: Thanks for offering a suggestion it was very welcome however i need to emphasize that what i am proposing is sort of community discussion suggestion box. Like a Python Suggestions group or something.

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread rantingrick
On Jan 18, 3:05 pm, MRAB pyt...@mrabarnett.plus.com wrote: The Python community are volunteers. Nothing gets done until someone volunteers to do it. The suggestion box is your idea. Why don't you set it up and report back? Agreed, i would gladly accept you nominating me as the Suggestion Box

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread rantingrick
On Jan 18, 3:07 pm, Terry Reedy tjre...@udel.edu wrote: On 1/18/2011 11:27 AM, rantingrick wrote: When proposed features are listed on the tracker, as I think this one should have been, anyone who registers can comment. Real names are strongly preferred (and required for elevated tracker and

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread Terry Reedy
On 1/18/2011 6:22 PM, rantingrick wrote: This was a strong statement and it was meant to be strong. However, it was falso. We cannot even discuss the tracker until we fix this abomination called c.l.py. I have nothing directly to do with c.l.p and care nothing for it. I read the

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread Ethan Furman
Grant Edwards wrote: On 2011-01-18, MRAB pyt...@mrabarnett.plus.com wrote: On 18/01/2011 19:22, rantingrick wrote: ... The Python community are volunteers. Nothing gets done until someone volunteers to do it. The suggestion box is your idea. Why don't you set it up and report back? He

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread rantingrick
And were the hell is Steve Holden? Why has he not weighed in on these (or any) discussions. He (Steve Holden) is second in command to the entire community. Yet we have yet to hear a peep from this fella. What gives Steve? And if Steve is too busy, who is next in the chain of command? Who is

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread rantingrick
On Jan 18, 5:44 pm, Terry Reedy tjre...@udel.edu wrote: I have nothing directly to do with c.l.p and care nothing for it. I read the gmane.comp.python.general mirror of python-list, which filters out some of the worse of the input from c.l.p. I mostly focus on getting real work done on the

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread geremy condra
On Tue, Jan 18, 2011 at 3:54 PM, rantingrick rantingr...@gmail.com wrote: And were the hell is Steve Holden? Why has he not weighed in on these (or any) discussions. He (Steve Holden) is second in command to the entire community. Yet we have yet to hear a peep from this fella. What gives

move to end, in Python 3.2 Really?

2011-01-17 Thread nn
I somehow missed this before. I like most of the additions from Raymond Hettinger. But the api on this baffles me a bit: d = OrderedDict.fromkeys('abcde') d.move_to_end('b', last=False) ''.join(d.keys) 'bacde' I understand that end could potentially mean either end, but would move_to_end

Re: move to end, in Python 3.2 Really?

2011-01-17 Thread rantingrick
On Jan 17, 8:51 pm, nn prueba...@latinmail.com wrote: I somehow missed this before. I like most of the additions from Raymond Hettinger. But the api on this baffles me a bit: If we are not careful with all these additions we could end up with a language like ruby which has wasteful methods to

Re: move to end, in Python 3.2 Really?

2011-01-17 Thread Carl Banks
On Jan 17, 6:51 pm, nn prueba...@latinmail.com wrote: I somehow missed this before. I like most of the additions from Raymond Hettinger. But the api on this baffles me a bit: d = OrderedDict.fromkeys('abcde') d.move_to_end('b', last=False) ''.join(d.keys) 'bacde' I understand that end

Re: move to end, in Python 3.2 Really?

2011-01-17 Thread Raymond Hettinger
On Jan 17, 6:51 pm, nn prueba...@latinmail.com wrote: ...But the api on this baffles me a bit: d = OrderedDict.fromkeys('abcde') d.move_to_end('b', last=False) ''.join(d.keys) 'bacde' I understand that end could potentially mean either end, but would move_to_end and move_to_beginning