[Urwid] redesigning the tree API
ian at excess.org
Tue Oct 9 19:38:36 EDT 2012
On Tue, Oct 9, 2012 at 6:29 PM, Ian Ward <ian at excess.org> wrote:
> It might be reasonable to maintain TreeWalker backwards compatibility
> by checking if a TreeNode is passed to the TreeWalker. Would it be
> terrible to rename the current class to LegacyTreeWalker and have one
> of those returned from TreeWalker.__new__ in the "I was passed a
> TreeNode" case? Seems like a nicer idea than mixing the old and new
> code together in the same class.
I take this back. Let's just call the new thing BaseTreeWalker instead.
More information about the Urwid