Alex Gaynor added the comment: Thanks Nick. I'll get a patch up for str (bytes) only this afternoon. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue21306> _______________________________________