[Python-Dev] GeneratorExit inheriting from Exception
Greg Ewing
greg.ewing at canterbury.ac.nz
Mon Mar 20 03:16:43 CET 2006
More information about the Python-Dev mailing list
Mon Mar 20 03:16:43 CET 2006
- Previous message: [Python-Dev] GeneratorExit inheriting from Exception
- Next message: [Python-Dev] GeneratorExit inheriting from Exception
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Just van Rossum wrote: > Greg Ewing wrote: > > > Also maybe start issuing warnings whenever you inherit > > directly from Exception. > > Ugh. I hate it when it's made (virtually) impossible to write code that > runs warnings-free on both Python X.Y and X.(Y+1). Yes, that could be a problem. Maybe there could be a __future__ import which says "I know about the new exception scheme, trust me when I inherit from Exception." Greg
- Previous message: [Python-Dev] GeneratorExit inheriting from Exception
- Next message: [Python-Dev] GeneratorExit inheriting from Exception
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list