This file is indexed.

/usr/lib/python2.7/dist-packages/chameleon/tests/inputs/026-repeat-variable.pt.py is in python-chameleon 2.16-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
# -*- coding: utf-8 -*-
pass
from chameleon.utils import Placeholder as _Placeholder
from chameleon.py26 import lookup_attr as _lookup_attr
import sys as _sys
pass
_static_38933456 = {}
_static_39103952 = {u'class': u"repeat['i'].even+repeat['i'].odd", }
_static_38935056 = {}
_static_39102992 = {}
_static_38908624 = {u'xmlns': u'http://www.w3.org/1999/xhtml', }
_static_39102672 = {}
_static_37140880 = {}
_static_38936208 = {}
_static_38934416 = {}
_static_37140112 = {u'name': u'${i}-${repeat.i.index}', u'class': u"repeat['i'].even()+repeat['i'].odd()", }
_static_38935312 = {}
_marker_default = _Placeholder()
import re
import functools
_marker = object()
g_re_amp = re.compile('&(?!([A-Za-z]+|#[0-9]+);)')
g_re_needs_escape = re.compile('[&<>\\"\\\']').search
re_whitespace = functools.partial(re.compile('\\s+').sub, ' ')

def render(stream, econtext, rcontext):
    append = stream.append
    getitem = econtext.__getitem__
    get = econtext.get
    _i18n_domain = None
    re_amp = g_re_amp
    re_needs_escape = g_re_needs_escape
    decode = getitem('decode')
    convert = getitem('convert')
    translate = getitem('translate')
    _backup_attrs_38631760 = get('attrs', _marker)

    # <Static value=<_ast.Dict object at 0x251b2d0> name=None at 251b610> -> _value
    _value = _static_38908624
    econtext['attrs'] = _value

    # <div ... (1:0)
    # --------------------------------------------------------
    append(u'<div')
    _attr_xmlns = u'http://www.w3.org/1999/xhtml'
    if (_attr_xmlns is not None):
        append((u' xmlns="%s"' % _attr_xmlns))
    append(u'>')
    _content_139955154988272 = u'\n  '
    if (_content_139955154988272 is not None):
        append(_content_139955154988272)
    _backup_attrs_39790784 = get('attrs', _marker)

    # <Static value=<_ast.Dict object at 0x236b990> name=None at 236b890> -> _value
    _value = _static_37140880
    econtext['attrs'] = _value

    # <ul ... (3:2)
    # --------------------------------------------------------
    append(u'<ul>')
    _content_139955154988272 = u'\n    '
    if (_content_139955154988272 is not None):
        append(_content_139955154988272)
    _backup_i_35883472 = get('i', _marker)

    # <Expression u'range(3)' (4:112)> -> _iterator
    try:
        _iterator = get('range', range)(3)
    except:
        rcontext.setdefault('__error__', []).append((u'range(3)', 4, 112, '<string>', _sys.exc_info()[1], ))
        raise

    (_iterator, __index_39101072, ) = getitem('repeat')(u'i', _iterator)
    econtext['i'] = None
    for _item in _iterator:
        econtext['i'] = _item
        _backup_attrs_35757664 = get('attrs', _marker)

        # <Static value=<_ast.Dict object at 0x236b690> name=None at 236b490> -> _value
        _value = _static_37140112
        econtext['attrs'] = _value

        # <li ... (4:4)
        # --------------------------------------------------------
        append(u'<li')
        _backup_default_35754928 = get('default', _marker)
        _value = u'${i}-${repeat.i.index}'
        econtext['default'] = _value

        # <Interpolation value=u'${i}-${repeat.i.index}' escape=True at 236b2d0> -> _attr_name

        # <Expression u'i' (4:76)> -> _attr_name
        try:
            _attr_name = getitem('i')
        except:
            rcontext.setdefault('__error__', []).append((u'i', 4, 76, '<string>', _sys.exc_info()[1], ))
            raise


        # <Expression u'repeat.i.index' (4:81)> -> _attr_name_181
        try:
            _attr_name_181 = _lookup_attr(getitem('repeat'), 'i').index
        except:
            rcontext.setdefault('__error__', []).append((u'repeat.i.index', 4, 81, '<string>', _sys.exc_info()[1], ))
            raise

        _attr_name = ('%s%s%s' % ((_attr_name if (_attr_name is not None) else ''), (u'-' if (u'-' is not None) else ''), (_attr_name_181 if (_attr_name_181 is not None) else ''), ))
        if (_attr_name is None):
            pass
        else:
            if (_attr_name is False):
                _attr_name = None
            else:
                _tt = type(_attr_name)
                if ((_tt is int) or (_tt is float) or (_tt is long)):
                    _attr_name = unicode(_attr_name)
                else:
                    try:
                        if (_tt is str):
                            _attr_name = decode(_attr_name)
                        else:
                            if (_tt is not unicode):
                                try:
                                    _attr_name = _attr_name.__html__
                                except:
                                    _attr_name = convert(_attr_name)
                                else:
                                    raise RuntimeError
                    except RuntimeError:
                        _attr_name = _attr_name()
                    else:
                        if ((_attr_name is not None) and (re_needs_escape(_attr_name) is not None)):
                            if ('&' in _attr_name):
                                if (';' in _attr_name):
                                    _attr_name = re_amp.sub('&amp;', _attr_name)
                                else:
                                    _attr_name = _attr_name.replace('&', '&amp;')
                            if ('<' in _attr_name):
                                _attr_name = _attr_name.replace('<', '&lt;')
                            if ('>' in _attr_name):
                                _attr_name = _attr_name.replace('>', '&gt;')
                            if (u'"' in _attr_name):
                                _attr_name = _attr_name.replace(u'"', '&#34;')
        if (_attr_name is not None):
            append((u' name="%s"' % _attr_name))
        if (_backup_default_35754928 is _marker):
            del econtext['default']
        else:
            econtext['default'] = _backup_default_35754928
        _backup_default_35754064 = get('default', _marker)
        _value = None
        econtext['default'] = _value

        # <Expression u"repeat['i'].even()+repeat['i'].odd()" (4:30)> -> _attr_class
        try:
            _attr_class = (getitem('repeat')['i'].even() + getitem('repeat')['i'].odd())
        except:
            rcontext.setdefault('__error__', []).append((u"repeat['i'].even()+repeat['i'].odd()", 4, 30, '<string>', _sys.exc_info()[1], ))
            raise

        if (_attr_class is None):
            pass
        else:
            if (_attr_class is False):
                _attr_class = None
            else:
                _tt = type(_attr_class)
                if ((_tt is int) or (_tt is float) or (_tt is long)):
                    _attr_class = unicode(_attr_class)
                else:
                    try:
                        if (_tt is str):
                            _attr_class = decode(_attr_class)
                        else:
                            if (_tt is not unicode):
                                try:
                                    _attr_class = _attr_class.__html__
                                except:
                                    _attr_class = convert(_attr_class)
                                else:
                                    raise RuntimeError
                    except RuntimeError:
                        _attr_class = _attr_class()
                    else:
                        if ((_attr_class is not None) and (re_needs_escape(_attr_class) is not None)):
                            if ('&' in _attr_class):
                                if (';' in _attr_class):
                                    _attr_class = re_amp.sub('&amp;', _attr_class)
                                else:
                                    _attr_class = _attr_class.replace('&', '&amp;')
                            if ('<' in _attr_class):
                                _attr_class = _attr_class.replace('<', '&lt;')
                            if ('>' in _attr_class):
                                _attr_class = _attr_class.replace('>', '&gt;')
                            if ('"' in _attr_class):
                                _attr_class = _attr_class.replace('"', '&#34;')
        if (_attr_class is not None):
            append((u' class="%s"' % _attr_class))
        if (_backup_default_35754064 is _marker):
            del econtext['default']
        else:
            econtext['default'] = _backup_default_35754064
        append(u'>')
        _backup_default_35756584 = get('default', _marker)

        # <Marker name='default' at 254aed0> -> _value
        _value = _marker_default
        econtext['default'] = _value

        # <Expression u'i' (4:141)> -> _cache_39102928
        try:
            _cache_39102928 = getitem('i')
        except:
            rcontext.setdefault('__error__', []).append((u'i', 4, 141, '<string>', _sys.exc_info()[1], ))
            raise


        # <Identity expression=<Expression u'i' (4:141)> value=<Marker name='default' at 254ab90> at 254aa50> -> _condition
        _expression = _cache_39102928

        # <Marker name='default' at 254ab90> -> _value
        _value = _marker_default
        _condition = (_expression is _value)
        if _condition:
            _backup_attrs_35754712 = get('attrs', _marker)

            # <Static value=<_ast.Dict object at 0x254a8d0> name=None at 254a110> -> _value
            _value = _static_39102672
            econtext['attrs'] = _value

            # <span ... (4:122)
            # --------------------------------------------------------
            append(u'<span />')
            if (_backup_attrs_35754712 is _marker):
                del econtext['attrs']
            else:
                econtext['attrs'] = _backup_attrs_35754712
        else:
            _content = _cache_39102928
            if (_content is None):
                pass
            else:
                if (_content is False):
                    _content = None
                else:
                    _tt = type(_content)
                    if ((_tt is int) or (_tt is float) or (_tt is long)):
                        _content = unicode(_content)
                    else:
                        try:
                            if (_tt is str):
                                _content = decode(_content)
                            else:
                                if (_tt is not unicode):
                                    try:
                                        _content = _content.__html__
                                    except:
                                        _content = convert(_content)
                                    else:
                                        raise RuntimeError
                        except RuntimeError:
                            _content = _content()
                        else:
                            if ((_content is not None) and (re_needs_escape(_content) is not None)):
                                if ('&' in _content):
                                    if (';' in _content):
                                        _content = re_amp.sub('&amp;', _content)
                                    else:
                                        _content = _content.replace('&', '&amp;')
                                if ('<' in _content):
                                    _content = _content.replace('<', '&lt;')
                                if ('>' in _content):
                                    _content = _content.replace('>', '&gt;')
                                if ('\x00' in _content):
                                    _content = _content.replace('\x00', '&#34;')
            if (_content is not None):
                append(_content)
        if (_backup_default_35756584 is _marker):
            del econtext['default']
        else:
            econtext['default'] = _backup_default_35756584
        append(u'</li>')
        if (_backup_attrs_35757664 is _marker):
            del econtext['attrs']
        else:
            econtext['attrs'] = _backup_attrs_35757664
        __index_39101072 -= 1
        if (__index_39101072 > 0):
            append('\n    ')
    if (_backup_i_35883472 is _marker):
        del econtext['i']
    else:
        econtext['i'] = _backup_i_35883472
    _content_139955154988272 = u'\n  '
    if (_content_139955154988272 is not None):
        append(_content_139955154988272)
    append(u'</ul>')
    if (_backup_attrs_39790784 is _marker):
        del econtext['attrs']
    else:
        econtext['attrs'] = _backup_attrs_39790784
    _content_139955154988272 = u'\n  '
    if (_content_139955154988272 is not None):
        append(_content_139955154988272)
    _backup_attrs_35754496 = get('attrs', _marker)

    # <Static value=<_ast.Dict object at 0x254aa10> name=None at 254ac90> -> _value
    _value = _static_39102992
    econtext['attrs'] = _value

    # <ul ... (6:2)
    # --------------------------------------------------------
    append(u'<ul>')
    _content_139955154988272 = u'\n    '
    if (_content_139955154988272 is not None):
        append(_content_139955154988272)
    _backup_i_40028112 = get('i', _marker)

    # <Expression u'range(3)' (8:22)> -> _iterator
    try:
        _iterator = get('range', range)(3)
    except:
        rcontext.setdefault('__error__', []).append((u'range(3)', 8, 22, '<string>', _sys.exc_info()[1], ))
        raise

    (_iterator, __index_38403088, ) = getitem('repeat')(u'i', _iterator)
    econtext['i'] = None
    for _item in _iterator:
        econtext['i'] = _item
        _backup_attrs_35756368 = get('attrs', _marker)

        # <Static value=<_ast.Dict object at 0x254add0> name=None at 254aad0> -> _value
        _value = _static_39103952
        econtext['attrs'] = _value

        # <li ... (7:4)
        # --------------------------------------------------------
        append(u'<li')
        _backup_default_35757088 = get('default', _marker)
        _value = None
        econtext['default'] = _value

        # <Expression u"repeat['i'].even+repeat['i'].odd" (7:30)> -> _attr_class
        try:
            _attr_class = (getitem('repeat')['i'].even + getitem('repeat')['i'].odd)
        except:
            rcontext.setdefault('__error__', []).append((u"repeat['i'].even+repeat['i'].odd", 7, 30, '<string>', _sys.exc_info()[1], ))
            raise

        if (_attr_class is None):
            pass
        else:
            if (_attr_class is False):
                _attr_class = None
            else:
                _tt = type(_attr_class)
                if ((_tt is int) or (_tt is float) or (_tt is long)):
                    _attr_class = unicode(_attr_class)
                else:
                    try:
                        if (_tt is str):
                            _attr_class = decode(_attr_class)
                        else:
                            if (_tt is not unicode):
                                try:
                                    _attr_class = _attr_class.__html__
                                except:
                                    _attr_class = convert(_attr_class)
                                else:
                                    raise RuntimeError
                    except RuntimeError:
                        _attr_class = _attr_class()
                    else:
                        if ((_attr_class is not None) and (re_needs_escape(_attr_class) is not None)):
                            if ('&' in _attr_class):
                                if (';' in _attr_class):
                                    _attr_class = re_amp.sub('&amp;', _attr_class)
                                else:
                                    _attr_class = _attr_class.replace('&', '&amp;')
                            if ('<' in _attr_class):
                                _attr_class = _attr_class.replace('<', '&lt;')
                            if ('>' in _attr_class):
                                _attr_class = _attr_class.replace('>', '&gt;')
                            if ('"' in _attr_class):
                                _attr_class = _attr_class.replace('"', '&#34;')
        if (_attr_class is not None):
            append((u' class="%s"' % _attr_class))
        if (_backup_default_35757088 is _marker):
            del econtext['default']
        else:
            econtext['default'] = _backup_default_35757088
        append(u'>')
        _backup_default_36681632 = get('default', _marker)

        # <Marker name='default' at 2521fd0> -> _value
        _value = _marker_default
        econtext['default'] = _value

        # <Expression u'i' (8:51)> -> _cache_38935952
        try:
            _cache_38935952 = getitem('i')
        except:
            rcontext.setdefault('__error__', []).append((u'i', 8, 51, '<string>', _sys.exc_info()[1], ))
            raise


        # <Identity expression=<Expression u'i' (8:51)> value=<Marker name='default' at 2521950> at 2521d10> -> _condition
        _expression = _cache_38935952

        # <Marker name='default' at 2521950> -> _value
        _value = _marker_default
        _condition = (_expression is _value)
        if _condition:
            _backup_attrs_36679832 = get('attrs', _marker)

            # <Static value=<_ast.Dict object at 0x2521e90> name=None at 249f050> -> _value
            _value = _static_38936208
            econtext['attrs'] = _value

            # <span ... (8:32)
            # --------------------------------------------------------
            append(u'<span />')
            if (_backup_attrs_36679832 is _marker):
                del econtext['attrs']
            else:
                econtext['attrs'] = _backup_attrs_36679832
        else:
            _content = _cache_38935952
            if (_content is None):
                pass
            else:
                if (_content is False):
                    _content = None
                else:
                    _tt = type(_content)
                    if ((_tt is int) or (_tt is float) or (_tt is long)):
                        _content = unicode(_content)
                    else:
                        try:
                            if (_tt is str):
                                _content = decode(_content)
                            else:
                                if (_tt is not unicode):
                                    try:
                                        _content = _content.__html__
                                    except:
                                        _content = convert(_content)
                                    else:
                                        raise RuntimeError
                        except RuntimeError:
                            _content = _content()
                        else:
                            if ((_content is not None) and (re_needs_escape(_content) is not None)):
                                if ('&' in _content):
                                    if (';' in _content):
                                        _content = re_amp.sub('&amp;', _content)
                                    else:
                                        _content = _content.replace('&', '&amp;')
                                if ('<' in _content):
                                    _content = _content.replace('<', '&lt;')
                                if ('>' in _content):
                                    _content = _content.replace('>', '&gt;')
                                if ('\x00' in _content):
                                    _content = _content.replace('\x00', '&#34;')
            if (_content is not None):
                append(_content)
        if (_backup_default_36681632 is _marker):
            del econtext['default']
        else:
            econtext['default'] = _backup_default_36681632
        append(u'</li>')
        if (_backup_attrs_35756368 is _marker):
            del econtext['attrs']
        else:
            econtext['attrs'] = _backup_attrs_35756368
        __index_38403088 -= 1
        if (__index_38403088 > 0):
            append('\n    ')
    if (_backup_i_40028112 is _marker):
        del econtext['i']
    else:
        econtext['i'] = _backup_i_40028112
    _content_139955154988272 = u'\n  '
    if (_content_139955154988272 is not None):
        append(_content_139955154988272)
    append(u'</ul>')
    if (_backup_attrs_35754496 is _marker):
        del econtext['attrs']
    else:
        econtext['attrs'] = _backup_attrs_35754496
    _content_139955154988272 = u'\n  '
    if (_content_139955154988272 is not None):
        append(_content_139955154988272)
    _backup_attrs_36680552 = get('attrs', _marker)

    # <Static value=<_ast.Dict object at 0x2521b10> name=None at 2521f90> -> _value
    _value = _static_38935312
    econtext['attrs'] = _value

    # <ul ... (10:2)
    # --------------------------------------------------------
    append(u'<ul>')
    _content_139955154988272 = u'\n    '
    if (_content_139955154988272 is not None):
        append(_content_139955154988272)
    _backup_i_35203664 = get('i', _marker)

    # <Expression u'range(3)' (11:22)> -> _iterator
    try:
        _iterator = get('range', range)(3)
    except:
        rcontext.setdefault('__error__', []).append((u'range(3)', 11, 22, '<string>', _sys.exc_info()[1], ))
        raise

    (_iterator, __index_38934352, ) = getitem('repeat')(u'i', _iterator)
    econtext['i'] = None
    for _item in _iterator:
        econtext['i'] = _item
        _backup_attrs_36746592 = get('attrs', _marker)

        # <Static value=<_ast.Dict object at 0x2521a10> name=None at 2521550> -> _value
        _value = _static_38935056
        econtext['attrs'] = _value

        # <li ... (11:4)
        # --------------------------------------------------------
        append(u'<li>')

        # <Expression u"repeat['i'].even" (11:53)> -> _condition
        try:
            _condition = getitem('repeat')['i'].even
        except:
            rcontext.setdefault('__error__', []).append((u"repeat['i'].even", 11, 53, '<string>', _sys.exc_info()[1], ))
            raise

        if _condition:
            _backup_default_39092096 = get('default', _marker)

            # <Marker name='default' at 2521150> -> _value
            _value = _marker_default
            econtext['default'] = _value

            # <Expression u"repeat['i'].even" (11:84)> -> _cache_38932752
            try:
                _cache_38932752 = getitem('repeat')['i'].even
            except:
                rcontext.setdefault('__error__', []).append((u"repeat['i'].even", 11, 84, '<string>', _sys.exc_info()[1], ))
                raise


            # <Identity expression=<Expression u"repeat['i'].even" (11:84)> value=<Marker name='default' at 2521390> at 25214d0> -> _condition
            _expression = _cache_38932752

            # <Marker name='default' at 2521390> -> _value
            _value = _marker_default
            _condition = (_expression is _value)
            if _condition:
                _backup_attrs_39088424 = get('attrs', _marker)

                # <Static value=<_ast.Dict object at 0x2521790> name=None at 25217d0> -> _value
                _value = _static_38934416
                econtext['attrs'] = _value

                # <span ... (11:32)
                # --------------------------------------------------------
                append(u'<span />')
                if (_backup_attrs_39088424 is _marker):
                    del econtext['attrs']
                else:
                    econtext['attrs'] = _backup_attrs_39088424
            else:
                _content = _cache_38932752
                if (_content is None):
                    pass
                else:
                    if (_content is False):
                        _content = None
                    else:
                        _tt = type(_content)
                        if ((_tt is int) or (_tt is float) or (_tt is long)):
                            _content = unicode(_content)
                        else:
                            try:
                                if (_tt is str):
                                    _content = decode(_content)
                                else:
                                    if (_tt is not unicode):
                                        try:
                                            _content = _content.__html__
                                        except:
                                            _content = convert(_content)
                                        else:
                                            raise RuntimeError
                            except RuntimeError:
                                _content = _content()
                            else:
                                if ((_content is not None) and (re_needs_escape(_content) is not None)):
                                    if ('&' in _content):
                                        if (';' in _content):
                                            _content = re_amp.sub('&amp;', _content)
                                        else:
                                            _content = _content.replace('&', '&amp;')
                                    if ('<' in _content):
                                        _content = _content.replace('<', '&lt;')
                                    if ('>' in _content):
                                        _content = _content.replace('>', '&gt;')
                                    if ('\x00' in _content):
                                        _content = _content.replace('\x00', '&#34;')
                if (_content is not None):
                    append(_content)
            if (_backup_default_39092096 is _marker):
                del econtext['default']
            else:
                econtext['default'] = _backup_default_39092096

        # <Expression u"repeat['i'].odd" (11:125)> -> _condition
        try:
            _condition = getitem('repeat')['i'].odd
        except:
            rcontext.setdefault('__error__', []).append((u"repeat['i'].odd", 11, 125, '<string>', _sys.exc_info()[1], ))
            raise

        if _condition:
            _backup_default_39089000 = get('default', _marker)

            # <Marker name='default' at 262c590> -> _value
            _value = _marker_default
            econtext['default'] = _value

            # <Expression u"repeat['i'].odd" (11:155)> -> _cache_38936400
            try:
                _cache_38936400 = getitem('repeat')['i'].odd
            except:
                rcontext.setdefault('__error__', []).append((u"repeat['i'].odd", 11, 155, '<string>', _sys.exc_info()[1], ))
                raise


            # <Identity expression=<Expression u"repeat['i'].odd" (11:155)> value=<Marker name='default' at 262c0d0> at 262c850> -> _condition
            _expression = _cache_38936400

            # <Marker name='default' at 262c0d0> -> _value
            _value = _marker_default
            _condition = (_expression is _value)
            if _condition:
                _backup_attrs_39091592 = get('attrs', _marker)

                # <Static value=<_ast.Dict object at 0x25213d0> name=None at 2521050> -> _value
                _value = _static_38933456
                econtext['attrs'] = _value

                # <span ... (11:104)
                # --------------------------------------------------------
                append(u'<span />')
                if (_backup_attrs_39091592 is _marker):
                    del econtext['attrs']
                else:
                    econtext['attrs'] = _backup_attrs_39091592
            else:
                _content = _cache_38936400
                if (_content is None):
                    pass
                else:
                    if (_content is False):
                        _content = None
                    else:
                        _tt = type(_content)
                        if ((_tt is int) or (_tt is float) or (_tt is long)):
                            _content = unicode(_content)
                        else:
                            try:
                                if (_tt is str):
                                    _content = decode(_content)
                                else:
                                    if (_tt is not unicode):
                                        try:
                                            _content = _content.__html__
                                        except:
                                            _content = convert(_content)
                                        else:
                                            raise RuntimeError
                            except RuntimeError:
                                _content = _content()
                            else:
                                if ((_content is not None) and (re_needs_escape(_content) is not None)):
                                    if ('&' in _content):
                                        if (';' in _content):
                                            _content = re_amp.sub('&amp;', _content)
                                        else:
                                            _content = _content.replace('&', '&amp;')
                                    if ('<' in _content):
                                        _content = _content.replace('<', '&lt;')
                                    if ('>' in _content):
                                        _content = _content.replace('>', '&gt;')
                                    if ('\x00' in _content):
                                        _content = _content.replace('\x00', '&#34;')
                if (_content is not None):
                    append(_content)
            if (_backup_default_39089000 is _marker):
                del econtext['default']
            else:
                econtext['default'] = _backup_default_39089000
        append(u'</li>')
        if (_backup_attrs_36746592 is _marker):
            del econtext['attrs']
        else:
            econtext['attrs'] = _backup_attrs_36746592
        __index_38934352 -= 1
        if (__index_38934352 > 0):
            append('\n    ')
    if (_backup_i_35203664 is _marker):
        del econtext['i']
    else:
        econtext['i'] = _backup_i_35203664
    _content_139955154988272 = u'\n  '
    if (_content_139955154988272 is not None):
        append(_content_139955154988272)
    append(u'</ul>')
    if (_backup_attrs_36680552 is _marker):
        del econtext['attrs']
    else:
        econtext['attrs'] = _backup_attrs_36680552
    _content_139955154988272 = u'\n'
    if (_content_139955154988272 is not None):
        append(_content_139955154988272)
    append(u'</div>')
    if (_backup_attrs_38631760 is _marker):
        del econtext['attrs']
    else:
        econtext['attrs'] = _backup_attrs_38631760
    _content_139955154988272 = u'\n'
    if (_content_139955154988272 is not None):
        append(_content_139955154988272)
pass