Steve Dower added the comment: That's the best function to use. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue26536> _______________________________________