[issue12666] map semantic change not documented in What's New

2011-12-03 Thread Jason R. Coombs
Changes by Jason R. Coombs : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue12666] map semantic change not documented in What's New

2011-12-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3b505df38fd8 by Jason R. Coombs in branch '3.2': Issue #12666: Clarifying changes in map for Python 3 http://hg.python.org/cpython/rev/3b505df38fd8 New changeset 0e2812b16f5f by Jason R. Coombs in branch '3.2': Issue #12666: Added section about map

[issue12666] map semantic change not documented in What's New

2011-08-08 Thread Éric Araujo
Éric Araujo added the comment: The content of the patch is very helpful, but I question its location: I’m not sure people will find this nugget in the 3.2+ version of the What’s New in Python 3.0 document (sorry for not bringing that up sooner). Maybe you could update Doc/library/functions.r

[issue12666] map semantic change not documented in What's New

2011-08-06 Thread Jason R. Coombs
Jason R. Coombs added the comment: I'm attaching the diff at https://bitbucket.org/jaraco/cpython-issue12666/changeset/bc362109eed8 -- keywords: +patch Added file: http://bugs.python.org/file22848/cpython-issue12666-bc362109eed8.diff ___ Python tra

[issue12666] map semantic change not documented in What's New

2011-08-06 Thread Éric Araujo
Éric Araujo added the comment: I have reported the bugs to the metatracker. In the meantime, could you manually upload a diff? -- ___ Python tracker ___ __

[issue12666] map semantic change not documented in What's New

2011-08-05 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue12666] map semantic change not documented in What's New

2011-08-05 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list ma

[issue12666] map semantic change not documented in What's New

2011-08-05 Thread Jason R. Coombs
Jason R. Coombs added the comment: I'm not sure how the bugtracker patch mechanism works, but the patch it produced included a lot of changes that I didn't make (changesets already committed to the master repo). -- keywords: -patch ___ Python trac

[issue12666] map semantic change not documented in What's New

2011-08-05 Thread Jason R. Coombs
Jason R. Coombs added the comment: I don't know how that repo got to be private; I created it just like every other public repo I have, and I thought I was only allowed one private repo (this was my second). In any case, I updated the setting, and now it appears to be accessible via the bug t

[issue12666] map semantic change not documented in What's New

2011-08-05 Thread Jason R. Coombs
Changes by Jason R. Coombs : -- keywords: +patch Added file: http://bugs.python.org/file22839/bc362109eed8.diff ___ Python tracker ___ ___

[issue12666] map semantic change not documented in What's New

2011-08-05 Thread Éric Araujo
Éric Araujo added the comment: Can you provide a public URI? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12666] map semantic change not documented in What's New

2011-08-05 Thread Éric Araujo
Éric Araujo added the comment: (HTTPS repos are not supported) -- hgrepos: +51 nosy: +eric.araujo ___ Python tracker ___ ___ Python-b

[issue12666] map semantic change not documented in What's New

2011-08-01 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've created a patch to address (1) and (2). Is there any value in also including this in the 2to3 fixer? I can see that it's a simple translation, but adds complexity to the converted code. I'd be content to go with just a documentation patch. I'll defer to

[issue12666] map semantic change not documented in What's New

2011-07-31 Thread Jason R. Coombs
Jason R. Coombs added the comment: I believe the correct solution to (2) is to use itertools.zip_longest. So to port to Python 3, the example would use: print(list(map(to_tuple, itertools.zip_longest([1,2,3], [4,5,6,7] -- ___ Python tracker

[issue12666] map semantic change not documented in What's New

2011-07-31 Thread Jason R. Coombs
New submission from Jason R. Coombs : In `whatsnew/3.0.html`, there is little said about the map builtin: map() and filter() return iterators. If you really need a list, a quick fix is e.g. list(map(...)), but a better fix is often to use a list comprehension (especially when the original code