[Python-checkins] r54766 - sandbox/trunk/2to3/HACKING sandbox/trunk/2to3/README
collin.winter
python-checkins at python.org
Thu Apr 12 04:50:48 CEST 2007
Author: collin.winter
Date: Thu Apr 12 04:50:44 2007
New Revision: 54766
Modified:
sandbox/trunk/2to3/HACKING
sandbox/trunk/2to3/README
Log:
Add a TODO section to HACKING (and a pointer to it from README).
Modified: sandbox/trunk/2to3/HACKING
==============================================================================
--- sandbox/trunk/2to3/HACKING (original)
+++ sandbox/trunk/2to3/HACKING Thu Apr 12 04:50:44 2007
@@ -6,3 +6,26 @@
* If your fixer works by changing a node's children list or a leaf's
value, be sure to call the node/leaf's changed() method. This to
be sure refactor.py will recognize that the tree has changed.
+
+
+
+TODO
+
+ Simple:
+ #######
+
+ * Refactor common code out of fixes/fix_*.py into fixes.util (ongoing).
+
+
+ Complex:
+ ########
+
+ * Replace tuple usage in patterns and node.children with lists (95%
+ done). Simplify fixers accordingly (mostly done, I think).
+
+ * Come up with a scheme to hide the details of suite indentation (some
+ kind of custom pytree node for suites, probably). This will
+ automatically reindent all code with spaces, tied into a refactor.py
+ flag that allows you to specify the indent level.
+
+ * Remove the need to explicitly assign a node's parent attribute.
Modified: sandbox/trunk/2to3/README
==============================================================================
--- sandbox/trunk/2to3/README (original)
+++ sandbox/trunk/2to3/README Thu Apr 12 04:50:44 2007
@@ -150,6 +150,13 @@
it while at Google to suit the needs of this refactoring tool.
+Development
+===========
+
+The HACKING file has a list of TODOs -- some simple, some complex -- that
+would make good introductions for anyone new to 2to3.
+
+
Licensing
=========
More information about the Python-checkins
mailing list