Re: [Python-Dev] PEP 469: Restoring the iterkeys/values/items() methods

2014-04-21 Thread Terry Reedy
On 4/21/2014 1:39 AM, Nick Coghlan wrote: OK, I've now updated the PEP to better described the *problem* (rather than skipping ahead to proposing a specific solution - exactly what I was asking people *not* to do at the language summit!), Looks great. I think the analysis should be part of a

Re: [Python-Dev] PEP 469: Restoring the iterkeys/values/items() methods

2014-04-21 Thread Armin Rigo
Hi Nick, On 21 April 2014 07:39, Nick Coghlan ncogh...@gmail.com wrote: Notably, I recommend that hybrid code avoid calling mapping iteration methods directly, and instead rely on builtin functions where possible, and some additional helper functions for cases that would be a simple

Re: [Python-Dev] PEP 469: Restoring the iterkeys/values/items() methods

2014-04-21 Thread Ethan Furman
On 04/20/2014 10:39 PM, Nick Coghlan wrote: Lists as mutable snapshots -- [...] The semantic equivalent of these operations in Python 3 are ``list(d.keys())``, ``list(d.values())`` and ``list(d.iteritems())``. Last item should be ``list(d.items())``. Iterator

Re: [Python-Dev] PEP 469: Restoring the iterkeys/values/items() methods

2014-04-21 Thread Kristján Valur Jónsson
-Original Message- From: Python-Dev [mailto:python-dev- bounces+kristjan=ccpgames@python.org] On Behalf Of Steven D'Aprano If this is a cunning plan to make Nick's suggestion sound better by suggesting an even worse alternative, it's working :-) You got me. However, I also

Re: [Python-Dev] PEP 469: Restoring the iterkeys/values/items() methods

2014-04-21 Thread Luca Sbardella
Hi Guys, please don't do it! We don't need this legacy really. On 21 April 2014 08:41, Armin Rigo ar...@tunes.org wrote: Hi Nick, On 21 April 2014 07:39, Nick Coghlan ncogh...@gmail.com wrote: Notably, I recommend that hybrid code avoid calling mapping iteration methods directly, and

Re: [Python-Dev] PEP 469: Restoring the iterkeys/values/items() methods

2014-04-21 Thread Kristján Valur Jónsson
-Original Message- From: Python-Dev [mailto:python-dev- bounces+kristjan=ccpgames@python.org] On Behalf Of Armin Rigo Sent: 21. apríl 2014 07:42 To: Nick Coghlan Cc: Python-Dev Subject: Re: [Python-Dev] PEP 469: Restoring the iterkeys/values/items() methods How about

[Python-Dev] Open Source Organizational Culture

2014-04-21 Thread Marius Storm-Olsen
Hi, I would like to request your participation in a survey on Open Source Organizational Culture, which will provide valuable insight into how Open Source projects are run, how their participants act, how they might change going forward, and how particular Open Source projects compare with

Re: [Python-Dev] Open Source Organizational Culture

2014-04-21 Thread Marius Storm-Olsen
On 4/21/2014 9:31 PM, Marius Storm-Olsen wrote: Hi, I would like to request your participation in a survey on Open Source Organizational Culture, which will provide valuable insight into how Open Source projects are run, how their participants act, how they might change going forward,