[Python-ideas] "try with" syntactic sugar

Daniel Stutzbach daniel at stutzbachenterprises.com
Thu Feb 26 19:55:09 CET 2009

Hi Bruce,

I bow to your superior regular expression knowledge.  :)  However, your
version counts the number of "try"s that are followed by "with".  Mine
counts the number of "with"s that are preceded by "try" (which I think the
more relevant metric?).  Any chance you could alter your script?

Daniel Stutzbach, Ph.D.
President, Stutzbach Enterprises, LLC <http://stutzbachenterprises.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20090226/b9f8bd92/attachment.html>

More information about the Python-ideas mailing list