[Patches] [ python-Patches-707900 ] bug fix 702858: deepcopying reflexive objects

SourceForge.net noreply@sourceforge.net
Fri, 13 Jun 2003 12:27:12 -0700


Patches item #707900, was opened at 2003-03-21 23:08
Message generated for change (Comment added) made by gvanrossum
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=707900&group_id=5470

Category: Library (Lib)
Group: Python 2.3
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Steven Taschuk (staschuk)
Assigned to: Guido van Rossum (gvanrossum)
Summary: bug fix 702858: deepcopying reflexive objects

Initial Comment:
A fix for bug 702858, which concerns the inability of
copy.deepcopy to correctly process reflexive
new-style class instances, that is, instances referring
to themselves.

The fix is one line; the other 51 lines in the patch
are altered and enhanced altered tests in
test_copy.py for this kind of thing.

----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2003-06-13 15:27

Message:
Logged In: YES 
user_id=6380

Looks fine to me; classic instances already did the same
thing. Thanks, Steven!


----------------------------------------------------------------------

Comment By: Tim Peters (tim_one)
Date: 2003-05-25 11:28

Message:
Logged In: YES 
user_id=31435

Assigned to Guido because he knows more about this and 
I'm out of time for the next two days.

----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2003-05-25 10:42

Message:
Logged In: YES 
user_id=33168

This patch works on 2.3.  I'm not sure if this is fixing a
bug or a feature.  The change seems reasonable, but I don't
know enough about copy to know if there are any negative
consequences.  I can check in if someone else agrees.  Tim?
 Guido?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=707900&group_id=5470