13 Jan
2021
13 Jan
'21
12:11 a.m.
On 13/01/21 3:31 pm, Larry Hastings wrote:
Let's say we put those behind a from __future__ import. Now we're gonna write library code that examines annotations. A user passes in a class and asks us to examine its annotations. The old semantics might be active on it, or the new ones. How do we know which set of semantics we need to use?
This implies that __future__ is the wrong mechanism to use. It's only appropriate when the changes it triggers are confined to the module that uses it, which is not the case here. -- Greg