- use inlined getargspec
- The "output encoding" now defaults to "ascii", whereas previously it was set to None. This has the effect of FastEncodingBuffer being used internally by default when render() is called, instead of cStringIO or StringIO, which are slower, but allow bytestrings with unknown encoding to pass right through. It is of course not recommended to use bytestrings of unknown encoding. Usage of the "disable_unicode" mode also requires that output_encoding be set to None.
Showing
- CHANGES 18 additions, 0 deletionsCHANGES
- mako/__init__.py 1 addition, 1 deletionmako/__init__.py
- mako/filters.py 1 addition, 2 deletionsmako/filters.py
- mako/lookup.py 1 addition, 1 deletionmako/lookup.py
- mako/runtime.py 2 additions, 2 deletionsmako/runtime.py
- mako/template.py 5 additions, 2 deletionsmako/template.py
- mako/util.py 24 additions, 0 deletionsmako/util.py
- test/test_filters.py 2 additions, 1 deletiontest/test_filters.py
- test/test_template.py 27 additions, 6 deletionstest/test_template.py
Loading
Please register or sign in to comment