desbma added the comment: Thanks for sharing this code, I like the factory idea. I'll have a look at creating a custom Action class too. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue25061> _______________________________________