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

前端 未结 7 1145
我寻月下人不归
我寻月下人不归 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:58

    To sum up what was answered in the comments:

    Yes, Python can pickle byte objects bigger than 4GB. The observed error is caused by a bug in the implementation (see Issue24658).

提交回复
热议问题