[PEAK] DecoratorTools break when optimized.

Phillip J. Eby pje at telecommunity.com
Sun Apr 6 10:32:45 EDT 2008


At 08:34 AM 4/6/2008 +0300, Sergey Schetinin wrote:
>I mean that it would be nice to be able to use PEAK-Rules in an app
>that is distributed as an exe built with -OO. It doesn't seem too hard
>to break the dependency of DecoratorTools on docstrings. I thought
>that it would be possible by using decorator for the template
>functions that would copy the docstring to some other attibute, but
>you're right, it won't have anything to copy when compiled with -OO.
>So what I ask is to remove that dependency on docstrings, sure I can
>do that myself, but I'm not into maintaining forks. So I wonder if
>it's intended to be this way (incompatible with -OO) or will it be
>changed?

You haven't yet proposed a way that it *could* be changed.




More information about the PEAK mailing list