[Docstring-checkins] CVS: dps/spec dps-notes.txt,1.19,1.20
Status: Pre-Alpha
Brought to you by:
goodger
From: David G. <go...@us...> - 2002-01-28 02:18:20
|
Update of /cvsroot/docstring/dps/spec In directory usw-pr-cvs1:/tmp/cvs-serv10929/dps/spec Modified Files: dps-notes.txt Log Message: updated Index: dps-notes.txt =================================================================== RCS file: /cvsroot/docstring/dps/spec/dps-notes.txt,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** dps-notes.txt 2002/01/26 00:02:16 1.19 --- dps-notes.txt 2002/01/28 02:18:17 1.20 *************** *** 67,70 **** --- 67,76 ---- - Apply the `coding conventions`_ as given below. + - Reconsider the need to keep a list of duplicates in + ``nodes.document.explicit_targets``. Rather, just keep the last + instance, and "clear" it and any new ones if necessary. Perhaps just + a {'name': None} mapping is enough to indicate that the target is + invalid? + Coding Conventions *************** *** 406,415 **** ! nodes.py ======== ! Add ``Nodes.walkabout()``, ``Visitor.walkabout()``, ``Visitor.leave_*()``, and ``GenericVisitor.default_leave()`` methods ! to catch elements on the way out? Here's ``Nodes.walkabout()``:: def walkabout(self, visitor, ancestry=()): --- 412,421 ---- ! Visitors ======== ! To nodes.py, add ``Node.walkabout()``, ``Visitor.walkabout()``, ``Visitor.leave_*()``, and ``GenericVisitor.default_leave()`` methods ! to catch elements on the way out? Here's ``Node.walkabout()``:: def walkabout(self, visitor, ancestry=()): |