Module ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Dict Str Str keyword NameLoad Assert CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Dict Str Str keyword NameLoad keyword NameLoad Assert CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Dict Str Str keyword NameLoad keyword Str Assert CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Dict Str Str keyword NameLoad Assert CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Dict Str Str keyword NameLoad keyword Str decorator_list FunctionDef arguments args defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Dict Str Str keyword NameLoad keyword Str Assert CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Dict Str Str keyword Dict Str Str Str Str keyword NameLoad keyword Str keyword NameLoad Assert CompareEq NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad
N/A __future__ absolute_import formencode htmlfill test_defaults_legacy N/A N/A N/A N/A N/A html 
<input type="text" name="foo" value="bar" />
<input type="text" name="foo" value="biz" />
<input type="text" name="foo" value="bash" />
 N/A expected_html 
<input type="text" name="foo" value="bang" />
<input type="text" name="foo" value="bang" />
<input type="text" name="foo" value="bang" />
 N/A rendered_html N/A N/A htmlfill render html defaults N/A foo bang force_defaults True N/A N/A expected_html rendered_html N/A test_defaults_attr_ignore N/A N/A N/A N/A N/A html 
<input type="text" name="foo" value="bar" data-formencode-ignore="1" />
<input type="text" name="foo" value="" />
<input type="text" name="foo" value="bash" data-formencode-ignore="1" />
<input type="text" name="foo" value="bash" data-formencode-ignore="" />
<input type="text" name="foo" value="bash" data-formencode-ignore />
 N/A expected_html 
<input type="text" name="foo" value="bar" data-formencode-ignore="1" />
<input type="text" name="foo" value="bang" />
<input type="text" name="foo" value="bash" data-formencode-ignore="1" />
<input type="text" name="foo" value="bash" data-formencode-ignore="" />
<input type="text" name="foo" value="bash" data-formencode-ignore />
 N/A rendered_html N/A N/A htmlfill render html defaults N/A foo bang force_defaults True data_formencode_ignore True N/A N/A expected_html rendered_html N/A test_defaults_attr_form N/A N/A N/A N/A N/A html 
<input type="text" name="foo" value="bar" data-formencode-form="a" />
<input type="text" name="foo" value="" data-formencode-form="b" />
<input type="text" name="foo" value="bash" data-formencode-form="c" />
 N/A expected_html 
<input type="text" name="foo" value="bar" data-formencode-form="a" />
<input type="text" name="foo" value="bang" data-formencode-form="b" />
<input type="text" name="foo" value="bash" data-formencode-form="c" />
 N/A rendered_html N/A N/A htmlfill render html defaults N/A foo bang force_defaults True data_formencode_form b N/A N/A expected_html rendered_html N/A test_error_legacy N/A N/A N/A N/A N/A html 
<input type="text" name="foo" value="bar" />
<input type="text" name="foo" value="biz" />
<input type="text" name="foo" value="bash" />
 N/A expected_html 
<!-- for: foo -->
<span class="error-message">bang</span><br />
<input type="text" name="foo" value="" class="error" />
<input type="text" name="foo" value="" class="error" />
<input type="text" name="foo" value="" class="error" />
 N/A rendered_html N/A N/A htmlfill render html errors N/A foo bang prefix_error True N/A N/A expected_html rendered_html N/A test_error_attr_ignore N/A N/A N/A N/A N/A html 
<input type="text" name="foo" value="bar" data-formencode-form="a" />
<input type="text" name="foo" value="biz" data-formencode-form="b" />
<input type="text" name="foo" value="bash" data-formencode-form="c" />
 N/A expected_html 
<input type="text" name="foo" value="bar" data-formencode-form="a" />
<!-- for: foo -->
<span class="error-message">bang</span><br />
<input type="text" name="foo" value="" data-formencode-form="b" class="error" />
<input type="text" name="foo" value="bash" data-formencode-form="c" />
 N/A rendered_html N/A N/A htmlfill render html errors N/A foo bang force_defaults True data_formencode_form b N/A test_error_attr_form N/A N/A N/A N/A N/A html 
<input type="text" name="foo" value="bar" data-formencode-form="a" />
<input type="text" name="foo" value="" data-formencode-form="b" />
<input type="text" name="foo" value="bash" data-formencode-form="c" />
 N/A expected_html 
<input type="text" name="foo" value="bar" data-formencode-form="a" />
<!-- for: foo -->
<span class="error-message">bang</span><br />
<input type="text" name="foo" value="" data-formencode-form="b" class="error" />
<input type="text" name="foo" value="bash" data-formencode-form="c" />
 N/A rendered_html N/A N/A htmlfill render html errors N/A foo bang force_defaults True data_formencode_form b N/A N/A expected_html rendered_html N/A test_error_attr_form_alt N/A N/A N/A N/A N/A note that formencode doesn't keep an indent on the replacement
        mixes concepts
        note a few things:
            1. we expect a leading "<!-- for: apple -->" block, because we are ignoring that tag
            1. we expect the leading "<!-- for: apple -->" block to not have an initial newline (
)
     N/A html 
<form data-formencode-form="a">
    <input type="text" name="bar" value="foo" data-formencode-form="a" />
    <input type="text" name="foo" value="bar" data-formencode-form="a" />
</form>
<form data-formencode-form="b">
    <input type="text" name="bar" value="foo" data-formencode-form="b" />
    <input type="text" name="foo" value="" data-formencode-form="b" />
</form>
<form data-formencode-form="c">
    <input type="text" name="bar" value="foo" data-formencode-form="c" />
    <input type="text" name="foo" value="bash" data-formencode-form="c" />
    <input type="text" name="apple" value="pear" data-formencode-form="c" data-formencode-ignore="1" />
</form>
 N/A expected_html <!-- for: apple -->
<span class="error-message">orange</span><br />

<form data-formencode-form="a">
    <input type="text" name="bar" value="foo" data-formencode-form="a" />
    <input type="text" name="foo" value="bar" data-formencode-form="a" />
</form>
<form data-formencode-form="b">
    <input type="text" name="bar" value="foo" data-formencode-form="b" />
    <input type="text" name="foo" value="" data-formencode-form="b" />
</form>
<form data-formencode-form="c">
    <input type="text" name="bar" value="bang" data-formencode-form="c" />
    <!-- for: foo -->
<span class="error-message">bang</span><br />
<input type="text" name="foo" value="" data-formencode-form="c" class="error" />
    <input type="text" name="apple" value="pear" data-formencode-form="c" data-formencode-ignore="1" />
</form>
 N/A rendered_html N/A N/A htmlfill render html defaults N/A bar bang errors N/A foo apple bang orange force_defaults True data_formencode_form c data_formencode_ignore True N/A N/A expected_html rendered_html N/A N/A N/A __name__ __main__ N/A N/A N/A test_defaults_legacy N/A N/A test_defaults_attr_ignore N/A N/A test_defaults_attr_form N/A N/A test_error_legacy N/A N/A test_error_attr_ignore N/A N/A test_error_attr_form N/A N/A test_error_attr_form_alt