[web2py] Re: Problem with IS_URL

2010-05-13 Thread weheh
> My point with the book is that the information is already there, but > scattered and hard to find. +1

[web2py] Re: Problem with IS_URL

2010-05-13 Thread mdipierro
Then epydoc is very useful... useful to find problems with the docstrings! On May 13, 3:52 pm, Jonathan Lundell wrote: > On May 13, 2010, at 1:47 PM, mdipierro wrote: > > > True but there is always epydoc > > >http://web2py.com/examples/static/epydoc/ > >http://web2py.com/examples/static/epydoc/w

Re: [web2py] Re: Problem with IS_URL

2010-05-13 Thread Jonathan Lundell
On May 13, 2010, at 1:47 PM, mdipierro wrote: > True but there is always epydoc > > http://web2py.com/examples/static/epydoc/ > http://web2py.com/examples/static/epydoc/web2py.gluon.validators-module.html I've always found the source easier to read than epydoc. And the summaries leave a lot to

[web2py] Re: Problem with IS_URL

2010-05-13 Thread mdipierro
True but there is always epydoc http://web2py.com/examples/static/epydoc/ http://web2py.com/examples/static/epydoc/web2py.gluon.validators-module.html On May 13, 3:22 pm, Jonathan Lundell wrote: > On May 13, 2010, at 1:01 PM, weheh wrote: > > > @mdp: thanks for the clarification. I like having 1

Re: [web2py] Re: Problem with IS_URL

2010-05-13 Thread Jonathan Lundell
On May 13, 2010, at 1:01 PM, weheh wrote: > @mdp: thanks for the clarification. I like having 1 way of doing > things, which is why I dumped perl years ago. Perhaps IS_NULL_OR > should be officially deprecated? Is there a place for that? It'd be nice to be able to look that up. Maybe an appendix

[web2py] Re: Problem with IS_URL

2010-05-13 Thread weheh
@mdp: thanks for the clarification. I like having 1 way of doing things, which is why I dumped perl years ago. Perhaps IS_NULL_OR should be officially deprecated?

[web2py] Re: Problem with IS_URL

2010-05-12 Thread mdipierro
They and synonymous but IS_EMPTY_OR is the newer syntax, more coherent. On May 12, 11:05 pm, weheh wrote: > OK, I'm seeing IS_EMPTY_OR in the online doc. Sorry, I've been away > from my desk for a few weeks. Is IS_NULL_OR deprecated? (Or does it > depend on what the meaning of IS is? ;^) > > On M

[web2py] Re: Problem with IS_URL

2010-05-12 Thread weheh
OK, I'm seeing IS_EMPTY_OR in the online doc. Sorry, I've been away from my desk for a few weeks. Is IS_NULL_OR deprecated? (Or does it depend on what the meaning of IS is? ;^) On May 13, 12:00 am, weheh wrote: > Jonathan: Is this something new? Isn't this the way to do it? > > IS_NULL_OR(IS_URL(

[web2py] Re: Problem with IS_URL

2010-05-12 Thread weheh
Jonathan: Is this something new? Isn't this the way to do it? IS_NULL_OR(IS_URL())