Edward O added the comment: The code works when using encoding='bytes'. Thanks Tim for the suggestion.
So this is not a bug, but is there any sense in having encoding='ASCII' by default in pickle ? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22005> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com