Python 3 - Can pickle handle byte objects larger than 4GB?

前端 未结 7 1157
我寻月下人不归
我寻月下人不归 2020-12-01 03:54

Based on this comment and the referenced documentation, Pickle 4.0+ from Python 3.4+ should be able to pickle byte objects larger than 4 GB.

However, using python 3

7条回答
  •  天命终不由人
    2020-12-01 04:37

    Had the same issue and fixed it by upgrading to Python 3.6.8.

    This seems to be the PR that did it: https://github.com/python/cpython/pull/9937

提交回复
热议问题