-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4835603
commit c9dcca1
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,6 +62,7 @@ | |
- edgarrmondragon (Edgar Ramírez-Mondragón) Address Python 3.12+ deprecation warnings | ||
- cedk (Cédric Krier) <[email protected]> Allow running tests with Werror | ||
- decorator-factory <[email protected]> More security fixes | ||
- lkruitwagen (Lucas Kruitwagen) Adding support for dict comprehensions | ||
------------------------------------- | ||
Basic Usage: | ||
|
@@ -700,7 +701,6 @@ def _eval_set(self, node): | |
return set(self._eval(x) for x in node.elts) | ||
|
||
def _eval_comprehension(self, node): | ||
|
||
if isinstance(node, ast.DictComp): | ||
to_return = {} | ||
else: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters