[Zope3-dev] [DRAFT] Uniform resource identifiers (cpsskins)

2006-03-27 Thread Jean-Marc Orliaguet
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

Re: [Zope3-dev] Why z.a.appsetup.bootstrap function do not return the actual object

2006-03-27 Thread Florian Lindner
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

[Zope3-dev] Re: Deprecate conditionally

2006-03-27 Thread Philipp von Weitershausen
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

[Zope3-dev] Deprecate conditionally

2006-03-27 Thread Florian Lindner
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 ___