Mercurial > p > roundup > code
comparison roundup/cgi/TAL/TALGenerator.py @ 7692:8fb42f41ef10 issue2550923_computed_property
merge in default branch to see if ti clears a travis-ci build error on 2.7 python; default branch builds fine
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 11 Sep 2023 00:10:29 -0400 |
| parents | 978285986b2c |
| children |
comparison
equal
deleted
inserted
replaced
| 7528:14a8e11f3a87 | 7692:8fb42f41ef10 |
|---|---|
| 14 """ | 14 """ |
| 15 Code generator for TALInterpreter intermediate code. | 15 Code generator for TALInterpreter intermediate code. |
| 16 """ | 16 """ |
| 17 | 17 |
| 18 import re | 18 import re |
| 19 import cgi | |
| 20 | 19 |
| 21 from . import TALDefs | 20 from . import TALDefs |
| 22 | 21 |
| 23 from .TALDefs import NAME_RE, TAL_VERSION | 22 from .TALDefs import NAME_RE, TAL_VERSION |
| 24 from .TALDefs import I18NError, METALError, TALError | 23 from .TALDefs import I18NError, METALError, TALError |
| 25 from .TALDefs import parseSubstitution | 24 from .TALDefs import parseSubstitution |
| 26 from .TranslationContext import TranslationContext, DEFAULT_DOMAIN | 25 from .TranslationContext import TranslationContext, DEFAULT_DOMAIN |
| 27 | 26 |
| 27 from roundup.anypy.cgi_ import cgi | |
| 28 from roundup.anypy.html import html_escape | 28 from roundup.anypy.html import html_escape |
| 29 | 29 |
| 30 I18N_REPLACE = 1 | 30 I18N_REPLACE = 1 |
| 31 I18N_CONTENT = 2 | 31 I18N_CONTENT = 2 |
| 32 I18N_EXPRESSION = 3 | 32 I18N_EXPRESSION = 3 |
