[Python-Dev] Python in Unicode context (original) (raw)
Holger Krekel pyth at devel.trillke.net
Thu Aug 5 13:29:28 CEST 2004
- Previous message: [Python-Dev] Python in Unicode context
- Next message: Exceptional inheritance patterns (was Re: [Python-Dev] Python in Unicode context)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum wrote:
(It will also break code that creates a class used as an exception that doesn't derive from Exception, but those should be shot. :-)
Then i guess that searching down into a recursive structure and just raising an "i found it" result object up doesn't count as a use case in your book, right? It can avoid boilerplate code like return-if-not-None checks and I have used it for e.g. finding patterns in an AST-Tree.
cheers,
Holger
- Previous message: [Python-Dev] Python in Unicode context
- Next message: Exceptional inheritance patterns (was Re: [Python-Dev] Python in Unicode context)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]