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

Antoine Pitrou solipsis at pitrou.net
Sat Apr 19 16:47:10 CEST 2014


On Sat, 19 Apr 2014 10:44:36 -0400
Nick Coghlan <ncoghlan at gmail.com> wrote:
> 
> I should be more explicit that the other reason they don't really help is
> because most potential single source code dates back further than 2.7, so
> it's the iterator based APIs that are needed to avoid code churn when
> migrating to single source.

Why don't you just suggest adding convenience functions to six (or
another porting library)?

Regards

Antoine.




More information about the Python-Dev mailing list