[IronPython] pickle broken?
Stuart Midgley
sdm900 at gmail.com
Fri Mar 2 05:55:20 CET 2007
Looks like pickling doesn't work fully in IP1.1b1
Stu.
>>> import sys
>>> sys.path.append("/opt/local/Library/Frameworks/Python.framework/
Libraries/python2.4")
>>> import re, pickle
>>> pickle.dumps(re.compile('.*'))
Traceback (most recent call last):
File pickle, line unknown, in dumps
File pickle, line unknown, in dump
File pickle, line unknown, in save
File pickle, line unknown, in save_reduce
File pickle, line unknown, in save_reduce
File pickle, line unknown, in save
File pickle, line unknown, in save_tuple
File pickle, line unknown, in save
File pickle, line unknown, in save_global
pickle.PicklingError: Can't pickle <type 'RE_Pattern'>: it's not
found as re.RE_Pattern
--
Dr Stuart Midgley
sdm900 at gmail.com
More information about the Ironpython-users
mailing list