Xiang Zhang added the comment: v2 uses _PyBytesWriter so we can use on stack buffer for short string.
---------- Added file: http://bugs.python.org/file45243/utf7_encoder_v2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28531> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com