ENH: Adds support for  of a thunk
BUG: LazyContext messes up the f_lineno after it is used