[Python-3000] More wishful thinking

Guido van Rossum guido at python.org
Sun Apr 16 21:37:37 CEST 2006


On 4/16/06, Giovanni Bajo <rasky at develer.com> wrote:
> For all the Python programs which don't use multi-threading, having a global
> match object is a very important shortcut. It allows two main things: having
> multiple if/elif regexp chains which do not add an indent level each time, and
> have one less object around to care of.

Well, sorry, but this won't happen, so you can save your breath. If
you want the shortcut, write a module that implements that API
yourself. Should be about 3 lines of code.

--
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list