Re: printing list, is this a bug?
oh okay. thanks. -- http://mail.python.org/mailman/listinfo/python-list
printing list, is this a bug?
Is the different behavior between __repr__ and __str__ intentional when it comes to printing lists? Basically I want to print out a list with elements of my own class, but when I overwrite __str__, __str__ doesn't get called but if I overwrite __repr__, __repr__ will get called. Is this a bug? F