Attached is a patch to paste.registry.StackedObjectProxy that: proxies __nonzero__allows empty and False objects to be used as default values, including None
The constructor behavior is changed slightly- if default= is provided, the value will be used as the default, including default=None. If default= is omitted, there will be no default and TypeError is raised as usual for an empty stack.
-Jason
paste.registry.nonzero.patch
Description: Binary data
_______________________________________________ Paste-users mailing list [email protected] http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users
