Issue1946

classification
Title: cPickle.Pickler objects should have memo attribute
Type: Severity: normal
Components: Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Arfrever, fwierzbicki
Priority: normal Keywords:

Created on 2012-07-17.02:26:45 by Arfrever, last changed 2013-02-27.18:26:03 by fwierzbicki.

Messages
msg7324 (view) Author: Arfrever Frehtes Taifersar Arahesis (Arfrever) Date: 2012-07-17.02:26:44
memo attribute of cPickle.Pickler objects is used by some third-party code. Jython could expose this attribute for compatibility with CPython.

$ python2.7 -c 'import cPickle, StringIO; print(cPickle.Pickler(StringIO.StringIO()).memo)'
{}
$ jython2.7 -c 'import cPickle, StringIO; print(cPickle.Pickler(StringIO.StringIO()).memo)'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: 'org.python.modules.cPickle$Pickler' object has no attribute 'memo'
History
Date User Action Args
2013-02-27 18:26:03fwierzbickisetpriority: normal
2012-08-03 16:38:23fwierzbickisetnosy: + fwierzbicki
2012-07-17 02:26:46Arfrevercreate