[issue29652] Fix evaluation order of keys/values in dict comprehensions

2017-02-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: I think the current behavior is correct and desirable (as you say, it follows the order that would take place in an assignment, making it easy to roll-up existing for-loop code into a dict comprehension or to unroll and existing comprehension). Also, I thin

[issue29652] Fix evaluation order of keys/values in dict comprehensions

2017-02-27 Thread Evangelos Kounis
Changes by Evangelos Kounis : -- nosy: +EvKounis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue29110] [patch] Fix file object leak in `aifc.open` when given invalid AIFF file.

2017-02-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: test.support.swap_attr() provides the functionality similar to mock. check_no_resource_warning() can be backported to 2.7. But if there are problems with testing in 2.7 you can backport without tests. -- ___ Pytho

<    1   2