[issue15596] pickle: Faster serialization of Unicode strings

STINNER Victor report at bugs.python.org
Thu Aug 9 00:41:33 CEST 2012


STINNER Victor added the comment:

Oh, I forgot to explain that I initially wrote the patch to fix the following failure on our "bigmem" buildbot.

http://buildbot.python.org/all/builders/AMD64%20Ubuntu%20LTS%20bigmem%203.x/builds/165/steps/test/logs/stdio

======================================================================
ERROR: test_huge_str_32b (test.test_pickle.InMemoryPickleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/python-bigmem/3.x.langa-bigmem/build/Lib/test/support.py", line 1281, in wrapper
    return f(self, maxsize)
  File "/opt/python-bigmem/3.x.langa-bigmem/build/Lib/test/pickletester.py", line 1267, in test_huge_str_32b
    pickled = self.dumps(data, protocol=proto)
  File "/opt/python-bigmem/3.x.langa-bigmem/build/Lib/test/test_pickle.py", line 49, in dumps
    return pickle.dumps(arg, protocol)
MemoryError

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15596>
_______________________________________


More information about the Python-bugs-list mailing list