[issue23714] Set comprehension + eval doesn't work inside function definition

2015-03-19 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. Your example is of a set comprehension. Set and dictionary comprehensions were Python 3.1 features backported to Python 2.7 for compatibility and thus had no existing Python 2 compatibility concerns. If you try a similar example using list

[issue23714] Set comprehension + eval doesn't work inside function definition

2015-03-19 Thread Ned Deily
Changes by Ned Deily : -- Removed message: http://bugs.python.org/msg238562 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue23714] Set comprehension + eval doesn't work inside function definition

2015-03-19 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. Your example is of a set comprehension. Set and dictionary comprehensions were Python 3.2 features backported to Python 2.7 for compatibility and thus had no existing Python 2 compatibility concerns. If you try a similar example using list