Re: DecoratorTools will not run with python -OO
"P.J. Eby" <pje-Wh6+Hckhi6HFNGf7iClzIwC/[email protected]> Mon, 07 Dec 2009 13:58:00 -0500
| Newsgroups | gmane.comp.python.peak |
|---|---|
| Message-ID | <[email protected]> |
At 12:38 PM 12/7/2009 -0600, Jorge Vargas wrote: >Hello, > >Today someone reported the following "bug" with DecoratorTools. In the >ticket http://trac.turbogears.org/ticket/2426 I confirmed current >trunk has the problem. It's a very naive bug as the code is simply >trying to update a variable that doesn't exists due to the -OO >parameter. I just want to bring that up to your attention to see if >this is worth fixing or not. It is not fixable in current versions - DecoratorTools will not work correctly without doc strings... and anything that uses DecoratorTools' function templating feature will have the same problem.