malthe/chameleon — pull request #115 by alvinyue (2012-05-22 20:47:16+00:00)
Title: Compiler.py to pass econtext to tranlator()

This is a change to fix Pyramid's issue in translator() as it only gets text string but no "context". It would call get_current_request() to get the 'request' which is not green thread safe. This patch will provide the translate a context to pass to translator().