woo yoo added the comment: Make a slight change to my code, which becomes `b'%#07x' % 34`, the weird situation appears. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue29000> _______________________________________