Jeremy Hylton <[EMAIL PROTECTED]> added the comment: It seems generally useful to have a helper function to replace a range of nodes in a sequence of statements with another sequence of nodes. A general API like that would allow you to insert or delete nodes as well as replacing one node with a set of nodes. It seems like that could be implemented pretty independently of this patch, and would then simplify it. I don't think it's a good idea to add the Seq type just to simplify the implementation.
---------- nosy: +jhylton _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4327> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com