[ python-Bugs-1114776 ] copy.py bug

SourceForge.net noreply at sourceforge.net
Thu Feb 3 04:26:30 CET 2005


Bugs item #1114776, was opened at 2005-02-03 01:43
Message generated for change (Comment added) made by anthonybaxter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1114776&group_id=5470

Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 9
Submitted By: Vincenzo Di Somma (disommav)
Assigned to: Anthony Baxter (anthonybaxter)
Summary: copy.py bug

Initial Comment:
upgrading from python 2.3.4 to 2.3.5rc1 I got this
error on a module that was working correctly


  File "../Field.py", line 203, in copy
    properties = deepcopy(cdict)
  File "/usr/lib/python2.3/copy.py", line 191, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python2.3/copy.py", line 285, in
_deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/lib/python2.3/copy.py", line 200, in deepcopy
    copier = _getspecial(cls, "__deepcopy__")
  File "/usr/lib/python2.3/copy.py", line 66, in
_getspecial
    for basecls in cls.__mro__:
AttributeError: __mro__


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

>Comment By: Anthony Baxter (anthonybaxter)
Date: 2005-02-03 14:26

Message:
Logged In: YES 
user_id=29957

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=293338
has a fuller stack trace.


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

Comment By: Michael Hudson (mwh)
Date: 2005-02-03 06:35

Message:
Logged In: YES 
user_id=6656

Eek, that sounds pretty bad!  Can you attach the code/cook up a smaller 
test case?

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

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


More information about the Python-bugs-list mailing list