[Python-Dev] str(Exception) changed, is that intended? (original) (raw)
Barry Warsaw barry at python.org
Tue Mar 7 22:56:11 CET 2006
- Previous message: [Python-Dev] str(Exception) changed, is that intended?
- Next message: [Python-Dev] str(Exception) changed, is that intended?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 2006-03-07 at 13:35 -0800, Guido van Rossum wrote:
IMO it shouldn't be fixed. Classic classes define their str to print the module name and class name with a dot in between; new-style classes use the same format as their repr. Making exceptions new-style classes is going to break a number of things; that's just inevitable.
What else do you expect to break? Should we at least try to describe expected breakage in PEP 352?
-Barry
-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 309 bytes Desc: This is a digitally signed message part Url : http://mail.python.org/pipermail/python-dev/attachments/20060307/a3b91d14/attachment.pgp
- Previous message: [Python-Dev] str(Exception) changed, is that intended?
- Next message: [Python-Dev] str(Exception) changed, is that intended?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]