Hi!
I've began formalizing some ideas about how to identify application
resources:
http://svn.z3lab.org/trac/z3lab/file/cpsskins/branches/jmo-perspectives/io/README.txt
I post to zope3-dev too in case someone has some ideas about it. A lot
of the points described are pertinent to zope3.
T
Hello,
I've changed the code how you described. All tests pass, but some code used in
startup of Zope and some tests generate deprecation warnings.
Would you like to review the code before I check in? I can try to clean up the
code and the tests causing the deprecation warnings the next days and
Florian Lindner wrote:
> Hello,
> I want show a deprecation warning only if a argument of a function is set to
> False.
>
> def foo(arg1, arg2, arg3 = False):
>
> if not arg3:
> arg3 = deprecation.deprecated(arg3, "arg3=False is deprecated.")
>
> But that does not show anything. How
Hello,
I want show a deprecation warning only if a argument of a function is set to
False.
def foo(arg1, arg2, arg3 = False):
if not arg3:
arg3 = deprecation.deprecated(arg3, "arg3=False is deprecated.")
But that does not show anything. How do it correctly?
Thanks,
Florian
___