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.

classification
Title: bug fix 702858: deepcopying reflexive objects
Type: Stage:
Components: Library (Lib) Versions: Python 2.2
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: gvanrossum, jlgijsbers, nnorwitz, staschuk, tim.peters
Priority: normal Keywords: patch

Created on 2003-03-22 04:08 by staschuk, last changed 2022-04-10 16:07 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
deepcopy-reflexive-object.patch staschuk, 2003-03-22 04:10
Messages (7)
msg43106 - (view) Author: Steven Taschuk (staschuk) Date: 2003-03-22 04:08
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.
msg43107 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2003-05-25 14:42
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?
msg43108 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2003-05-25 15:28
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.
msg43109 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2003-06-13 19:27
Logged In: YES 
user_id=6380

Looks fine to me; classic instances already did the same
thing. Thanks, Steven!
msg43110 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2003-06-13 19:29
Logged In: YES 
user_id=6380

Reopened - Neal, would you mind backporting this to 2.2?
msg43111 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2003-06-30 03:27
Logged In: YES 
user_id=33168

I'm working on this (slowly).  It wasn't a simple backport.
msg43112 - (view) Author: Johannes Gijsbers (jlgijsbers) * (Python triager) Date: 2005-01-09 17:09
Logged In: YES 
user_id=469548

Closing this, as no 2.2 bugfix release if forthcoming anymore.
History
Date User Action Args
2022-04-10 16:07:50adminsetgithub: 38198
2003-03-22 04:08:59staschukcreate