Michael Foord added the comment: Seems like a perfectly reasonable request. I've no particular preference on an api for this though. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue19746> _______________________________________