[issue3043] Recursion bug in deepcopy

2008-06-05 Thread Tyler Laing
Tyler Laing <[EMAIL PROTECTED]> added the comment: Same problem, even with new-style classes. Here, I'll show the function I use to generate the graph as well. class Vertex(object): def __init__(self, type): self.type = type se

[issue3043] Recursion bug in deepcopy

2008-06-05 Thread Tyler Laing
Tyler Laing <[EMAIL PROTECTED]> added the comment: Whoops, sorry, correction, when there are 100 vertexes and 500 edges. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3043] Recursion bug in deepcopy

2008-06-05 Thread Tyler Laing
New submission from Tyler Laing <[EMAIL PROTECTED]>: With the following code: class Vertex: def __init__(self, type): self.type = type self.color=-1 self.edges=[] class Edge: def __init__(self,