This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xiang.zhang
Recipients memeplex, xiang.zhang
Date 2016-05-24.03:10:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464059423.84.0.91627931558.issue27098@psf.upfronthosting.co.za>
In-reply-to
Content
I cannot reproduce this. Pickling memoryview objects works well on my OS.

Python 3.5.1+ (default, Mar 30 2016, 22:46:26) 
[GCC 5.3.1 20160330] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pickle
>>> mv = memoryview(b'123')
>>> mv.__reduce__()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.5/copyreg.py", line 65, in _reduce_ex
    raise TypeError("can't pickle %s objects" % base.__name__)
TypeError: can't pickle memoryview objects
>>> pickle.dumps(mv)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: can't pickle memoryview objects
History
Date User Action Args
2016-05-24 03:10:23xiang.zhangsetrecipients: + xiang.zhang, memeplex
2016-05-24 03:10:23xiang.zhangsetmessageid: <1464059423.84.0.91627931558.issue27098@psf.upfronthosting.co.za>
2016-05-24 03:10:23xiang.zhanglinkissue27098 messages
2016-05-24 03:10:23xiang.zhangcreate