Logged In: YES
user_id=31435
Hmm! The temp99.py download link doesn't work for me.
Here's the content in case it doesn't work for others either:
"""
import cPickle as pickle
from pickle import dumps
class SimpleItem:
def __reduce__(self):
return (self.__class__, None, {})
class Proxy(object):
__class__ = property(lambda self: self.__target.__class__)
def __init__(self, target):
self.__target = target
def __getstate__(self):
raise RuntimeError("No don't pickle me! Aaarrgghh!")
p = Proxy(SimpleItem())
dumps(p)
""" |