Skip to content

Cinje 1.1.0 Eiger (Feature Release)

Compare
Choose a tag to compare
@amcgregor amcgregor released this 03 May 03:49
· 43 commits to develop since this release
1.1.0
1d044f4
  • Enhanced Pypy support. Pypy does not require optimizations which potentially obfuscate the resulting code. So we don't do them.
  • Fixed incorrect #{} handling when it was the first non-whitepsace on a line. (#22)
  • Fixed buffer iteration edge case if the first template text in a function is deeper than the function scope. (#21)
  • Python 3-style function annotations can now be used to define function-wide "pragma" additions and removals, even on Python 2. (#8)
  • Pragma processing directives. Processing flags can be set and unset during the translation process using : pragma.
  • Unbuffered mode. Cinje can now operate in unbuffered mode. Each contiguous chunk is individually yielded. (#8)
  • Secret feature. Have a cinje template? Want to more easily peek behind the curtain? (Sssh, it's a completely unsupported feature that even syntax colors if pygments is installed.) python -m cinje source file.py