Guido van Rossum schrieb: > That sounds like a good idea to try. It may break some more tests but > those are all indications of places that incorrectly still require > str8. > >> I wonder whether the "s" specifier in CallFunction, BuildValue etc >> should create Unicode objects, rather than str8 objects.
Done. I fixed a number of test cases that broke because of that. In particular, bytes.__reduce__ could not easily return str8 objects as its marshalling state anymore (and shouldn't do so, anyway). So I made bytes a builtin type of pickle, using the S code. As a consequence, a number of other types had to get fixed. So in total, it adds one new failure: something in test_pickle now complains that bytes objects are not hashable. Regards, Martin _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
