Eric V. Smith added the comment: That's awesome, thanks! Definitely simpler than where I was going.
I'm not in front of my dev machine right now, so I can't run it. But if it works, it works. I suggest adding the test cases to test_unparse.py's UnparseTestCase. That way, any problems with this are caught earlier. The comment there says "Tests for specific bugs found in earlier versions of unparse", which this qualifies for! ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25180> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com