]> granicus.if.org Git - python/commitdiff
Add a comment about some refactoring. (There's probably more that should be done...
authorNeal Norwitz <nnorwitz@gmail.com>
Tue, 5 Sep 2006 03:58:26 +0000 (03:58 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Tue, 5 Sep 2006 03:58:26 +0000 (03:58 +0000)
Python/ast.c

index 4d0b991c2cf34b4b9271e57862afefbb81dff1cd..d2a9bd130df51562c63902d5d5b69ab6645358e1 100644 (file)
 
 #include <assert.h>
 
-/* XXX TO DO
-   - re-indent this file (should be done)
-   - internal error checking (freeing memory, etc.)
-   - syntax errors
-*/
-
 /* Data structure used internally */
 struct compiling {
     char *c_encoding; /* source encoding */
@@ -889,6 +883,11 @@ ast_for_ifexpr(struct compiling *c, const node *n)
                  c->c_arena);
 }
 
+/* XXX(nnorwitz): the listcomp and genexpr code should be refactored
+   so there is only a single version.  Possibly for loops can also re-use
+   the code.
+*/
+
 /* Count the number of 'for' loop in a list comprehension.
 
    Helper for ast_for_listcomp().