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 <rep...@bugs.python.org> <http://bugs.python.org/issue15596> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com