Thanks Oscar. That is quite elegant. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130703/0947cd26/attachment.html>