Evoque Changelog

New in version 0.4

January 20th, 2009
  • Evoque (package/unittests) now runs on all of python 2.4, 2.5, 2.6 and 3.0, simultaneously from the same identical code base.
  • The decodeh module (encoding guessing algorithm, now even more important in py3 when opening text files) becomes py3-aware by...
  • making read_from_file() always opens a file in binary mode
  • handling bytes as the non-unicode str case in py3
  • Tighter lockdown of the in-process sandbox (thanks to Daniel Diniz for feedback and additional testing) by...
  • fail for all expressions that include lookups for attributes starting with any of: "__", "func_", "f_", "im_", "tb_", "gi_", "throw"
  • added "object" to the disallowed list of builtins
  • Changed behaviour of the Domain init parameter slurpy_directives=True, that now behaves in the following way: for each directive, strip all leading/trailing whitespace on the same line plus (on left) the initial newline -- if and only if the end of the line being slurped is made up of only whitespace.
  • Added whitespace test case.
  • Updated to qpy 1.7.
  • In the unit tests, replaced hash(s) as a shorthand way to compare strings with explicit strings.
  • Corrected problem with yield and try/finally that was breaking Template.test() under python 2.4.
  • In restricted mode, when initializing the globals namespace under python 2.4, the issubclass check is done against Exception as opposed to BaseException (that is not available in 2.4).

New in version 0.4 (January 20th, 2009)

  • Evoque (package/unittests) now runs on all of python 2.4, 2.5, 2.6 and 3.0, simultaneously from the same identical code base.
  • The decodeh module (encoding guessing algorithm, now even more important in py3 when opening text files) becomes py3-aware by:
  • making read_from_file() always opens a file in binary mode
  • handling bytes as the non-unicode str case in py3
  • Tighter lockdown of the in-process sandbox (thanks to Daniel Diniz for feedback and additional testing) by:
  • fail for all expressions that include lookups for attributes starting with any of: "__", "func_", "f_", "im_", "tb_", "gi_", "throw"
  • added "object" to the disallowed list of builtins
  • Changed behaviour of the Domain init parameter slurpy_directives=True, that now behaves in the following way: for each directive, strip all leading/trailing whitespace on the same line plus (on left) the initial newline -- if and only if the end of the line being slurped is made up of only whitespace.
  • Added whitespace test case.
  • Updated to qpy 1.7.
  • In the unit tests, replaced hash(s) as a shorthand way to compare strings with explicit strings.
  • Corrected problem with yield and try/finally that was breaking Template.test() under python 2.4.
  • In restricted mode, when initializing the globals namespace under python 2.4, the issubclass check is done against Exception as opposed to BaseException (that is not available in 2.4).