[issue4327] Patch: simplify complex constant assignment statements
Jeremy Hylton
report at bugs.python.org
Mon Nov 24 17:53:39 CET 2008
Jeremy Hylton <jeremy at alum.mit.edu> 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 <report at bugs.python.org>
<http://bugs.python.org/issue4327>
_______________________________________
More information about the Python-bugs-list
mailing list