Support for Python 3.4's NameConstant in AST
Python 3.4 adds a new NameConstant AST node type, representing a None, False or True literal. This change adds support for the new node type. Fixes #168
Added link to Django integration
Issue 158: Remove 'helpful' error message in repeat construct
…uptools Excise distribute.
…ir cache key in a general way.
Fix #154 by sorting the builtin names and adding them to the digest along with a few other values, making the unit tests pass repeatedly when caching and random seeds are both on.
…tin arguments to the initialize function must be sorted to ensure they remain in the same order across invocations. It is also necessary to add the sorted builtin names to the module's digest, along with a few other values that affect the compiled code such as 'strict' and 'trim_attribute_space'. The unit tests now pass repeatedly when CHAMELEON_CACHE is in the environment and PYTHONHASHSEED is random.
Catch up with master
RepeatDict raises KeyError on getattr for missing attrs (which breaks zope.interface on PyPy)
… missing attributes but an AttributeError.
This allows Chameleon to install package data even when neither git metadata nor pre-generated egg-info is available.
Fixed documentation issue where a markup expression was not actually wrapped in ``Markup``. This fixes issue #150.
…is fixes issue #148.
keep token location information in exception rendering
This was getting lost because safe_native converts the token to a string. The result is indecipherable ParseErrors. Like this: File "/Users/jinty/py/py27/lib/python2.7/site-packages/chameleon/parser.py", line 234, in visit_end_tag raise ParseError("Unexpected end tag.", token) chameleon.exc.ParseError: Unexpected end tag. - String: "</div>" - Filename: /some/path/template.pt
fix up e0869aa to support implicitly translating text containing newlines