Message7324

Author Arfrever
Recipients Arfrever
Date 2012-07-17.02:26:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342492006.43.0.506213014136.issue1946@psf.upfronthosting.co.za>
In-reply-to
Content
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
2012-07-17 02:26:47Arfreversetrecipients: + Arfrever
2012-07-17 02:26:46Arfreversetmessageid: <1342492006.43.0.506213014136.issue1946@psf.upfronthosting.co.za>
2012-07-17 02:26:45Arfreverlinkissue1946 messages
2012-07-17 02:26:44Arfrevercreate