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 christian.heimes
Recipients Dmitrey, christian.heimes, gvanrossum, mlvanbie
Date 2008-01-31.14:18:22
SpamBayes Score 0.05532363
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.05532363
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