<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div></div><div>I think I've stumbled across a bug when using schemas to validate input. Please see the app.py attached.</div><div><br></div><div>Please have a look at the following tests when using choices in the app.py:</div><div>1) a Simple Schema.Choice with static results -- all OK</div><div>2) a Simple Schema.Choice using sources -- all OK</div><div>3) a Schema.List which contains objects of the type used in in (1) -- all OK</div><div>4) a Schema.List which contains objects of the type used in (2) -- this cannot work</div><div><br></div><div>and you get the following error:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-style-span" style="font-family: Helvetica, sans-serif; ">Module&nbsp;</span><span class="Apple-style-span" style="font-family: Helvetica, sans-serif; "><span class="module" title="/Users/adamsummers1/.buildout/eggs/zope.schema-3.7.1-py2.6.egg/zope/schema/_field.py">zope.schema._field</span></span><span class="Apple-style-span" style="font-family: Helvetica, sans-serif; ">:</span><span class="Apple-style-span" style="font-family: Helvetica, sans-serif; "><b>325</b></span><span class="Apple-style-span" style="font-family: Helvetica, sans-serif; ">&nbsp;in&nbsp;</span><span class="Apple-style-span" style="font-family: Helvetica, sans-serif; "><code>_validate</code></span><span class="Apple-style-span" style="font-family: Helvetica, sans-serif; ">&nbsp;</span><span class="Apple-style-span" style="font-family: Helvetica, sans-serif; "><a href="http://bai.local:8081/x/addFour#" class="switch_source" tbid="48887488" style="color: rgb(0, 153, 0); text-decoration: none; ">&nbsp; &nbsp;&nbsp;</a></span></div></body></html>