translate() to pass context to translator() so translator() can get request data without using globals #9

wants to merge 1 commit into

1 participant


translate() has context=None in the method signature but it is not used. If it is passed to translator(), then translator would not need to do get_current_request() (not green thread safe) in Pyramid.

unknown passing context from translate() to translator() so translator does n…
…ot need to get request from "get_current_thread()" in Pyramid.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment