Petr Viktorin added the comment: Ah, indeed. I need to create a new bytes object here after all. Here is a fix, with a test.
Thank you Stefan! ---------- Added file: http://bugs.python.org/file39546/fix-short-names.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24268> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com