Re: Unclear behaviour of formencode.Schema with UnicodeString items

2011-02-08 Thread Ian Wilson
Hi, I think this behavior happens because mixed is used here https://bitbucket.org/ianb/formencode/src/d95237b33f3c/formencode/api.py#cl-403. If you don't want that to happen ever then I think you need to cast params to a regular dictionary, with something like dict(request.params.items()). This w

Pyramid status update / sprints.

2011-02-08 Thread Chris McDonough
Hi folks, It's been a little over a week or so since the Pyramid 1.0 release, and I'm pleased to report that takeup has been brisk. The release has seen more than 1,100 downloads, and the IRC channels (#pylons and #pyramid) have each grown by about 20%-25% since then. Mark Ramm and myself provid

Unclear behaviour of formencode.Schema with UnicodeString items

2011-02-08 Thread Maxim Avanov
Here's an example. # = from formencode import Schema, Invalid from formencode.validators import UnicodeString, Int from webob import Request class StrictSchema(Schema): allow_extra_fields = False class IntegerTestSchema(StrictSchema): testfield = Int(not_empty=True)