Michael Foord <michael at voidspace.org.uk> added the comment: Can you suggest an API for doing this? ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue37669> _______________________________________