changeset: 105036:555f0ca31587 branch: 3.5 parent: 105033:0da2e381ad71 user: Guido van Rossum date: Thu Nov 10 08:29:18 2016 -0800 files: Lib/typing.py description: Issue #28649: fix second issue with _ForwardRef (#328) diff -r 0da2e381ad71 -r 555f0ca31587 Lib/typing.py --- a/Lib/typing.py Thu Nov 10 08:24:06 2016 -0800 +++ b/Lib/typing.py Thu Nov 10 08:29:18 2016 -0800 @@ -218,7 +218,7 @@ self.__forward_value__ = None def _eval_type(self, globalns, localns): - if not self.__forward_evaluated__: + if not self.__forward_evaluated__ or localns is not globalns: if globalns is None and localns is None: globalns = localns = {} elif globalns is None: