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 mlvanbie
Recipients mlvanbie
Date 2007-11-29.00:40:59
SpamBayes Score 0.07681935
Marked as misclassified No
Message-id <1196296860.13.0.0113919656838.issue1515@psf.upfronthosting.co.za>
In-reply-to
Content
Currently, using deepcopy on instance methods causes an exception to be
thrown.  This can be fixed by adding one line to copy.py:

d[types.MethodType] = _deepcopy_atomic

This will not make duplicate copies of mutable values referenced within
the instance method (such as its associated instance), but it will be
the same as the handling of other function types (which have the same
problem).
History
Date User Action Args
2007-11-29 00:41:00mlvanbiesetspambayes_score: 0.0768194 -> 0.07681935
recipients: + mlvanbie
2007-11-29 00:41:00mlvanbiesetspambayes_score: 0.0768194 -> 0.0768194
messageid: <1196296860.13.0.0113919656838.issue1515@psf.upfronthosting.co.za>
2007-11-29 00:41:00mlvanbielinkissue1515 messages
2007-11-29 00:40:59mlvanbiecreate