[Repoze-dev] Patch adding Regex and Email validators to colander

2010-04-04 Thread Steve Howe
Hello, As talked with Chris McDonough at #freenode, here is the patch for adding Regex and Email validators to Colander. He has already implemented the Function validator as discussed. Thanks! -- Steve Howe howest...@googlemail.com Index: __init__.py ==

Re: [Repoze-dev] Colander issue

2010-04-04 Thread Chris McDonough
This also got worked out on IRC; it turned out the problem that was suspected and reported did not exist. On 4/4/10 8:10 AM, Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > (forgot to CC the list). > > > Steve Howe wrote: > >> I stepped upon Colander a few days ago in PyP

Re: [Repoze-dev] Handling webob.exc.HTTPException in router.

2010-04-04 Thread Chris McDonough
We worked this out on IRC. Conclusion: the patch is just about right. We decided to make the following tweaks: - Allow route-specific exception views. - Don't use ZCML to register the default exception views (instead, do that in Configurator.setup_registry). - No new ZCML directives of confi

Re: [Repoze-dev] repoze.who auth_tkt tokens

2010-04-04 Thread Chris McDonough
I'm going to claim ignorance here. I don't use tokens, and to be honest, if I had it to do all over again, I wouldn't expose them in the r.who API at all. auth_tkt has severe featureitis: tokens vs. user_data, and other distinctions that nobody really needs or understands at all. That said, gi

Re: [Repoze-dev] Colander issue

2010-04-04 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (forgot to CC the list). Steve Howe wrote: > I stepped upon Colander a few days ago in PyPI, and I like it's concept and > functionality. I have developed something very similar for internal use in > my company, not as polished however. > > But I th