Author christian.heimes
Recipients Dmitrey, christian.heimes, gvanrossum, mlvanbie
Date 2008-01-31.14:18:22
SpamBayes Score 0.0553236
Marked as misclassified No
Message-id <1201789118.34.0.645107078866.issue1515@psf.upfronthosting.co.za>
In-reply-to
Content
I've read your blog. You don't have to modify the Python core:

import copy
import types

def _deepcopy_method(x, memo):
    return type(x)(x.im_func, deepcopy(x.im_self, memo), x.im_class)
copy._deepcopy_dispatch[types.MethodType] = _deepcopy_method

I still wonder why you have to use deepcopy in your app.
History
Date User Action Args
2008-01-31 14:18:38christian.heimessetspambayes_score: 0.0553236 -> 0.0553236
recipients: + christian.heimes, gvanrossum, mlvanbie, Dmitrey
2008-01-31 14:18:38christian.heimessetspambayes_score: 0.0553236 -> 0.0553236
messageid: <1201789118.34.0.645107078866.issue1515@psf.upfronthosting.co.za>
2008-01-31 14:18:22christian.heimeslinkissue1515 messages
2008-01-31 14:18:22christian.heimescreate