[Python-3000] Heaptypes (original) (raw)
Guido van Rossum guido at python.org
Tue Jul 17 16:25:30 CEST 2007
- Previous message: [Python-3000] Heaptypes
- Next message: [Python-3000] Heaptypes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks! Can you add test_pickle to the wiki page? (http://wiki.python.org/moin/Py3kStrUniTests)
On 7/16/07, "Martin v. Löwis" <martin at v.loewis.de> wrote:
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 testpickle now complains that bytes objects are not hashable. Regards, Martin
-- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-3000] Heaptypes
- Next message: [Python-3000] Heaptypes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]