[Python-Dev] Exceptions must? be old-style classes? (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Sun Jan 16 10:28:51 CET 2005
- Previous message: [Python-Dev] Exceptions *must*? be old-style classes?
- Next message: [Python-Dev] Exceptions *must*? be old-style classes?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Phillip J. Eby wrote:
Couldn't we require new-style exceptions to inherit from Exception? Since there are no new-style exceptions that work now, this can't break existing code.
This would require to make Exception a new-style class, right? This, in itself, could break existing code.
Regards, Martin
- Previous message: [Python-Dev] Exceptions *must*? be old-style classes?
- Next message: [Python-Dev] Exceptions *must*? be old-style classes?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]