[pypy-dev] Adding support for PEP526: variable annotations

Armin Rigo armin.rigo at gmail.com
Thu Jun 7 18:22:35 EDT 2018


Hi Tin,

On 7 June 2018 at 18:38, Tin Tvrtković <tinchester at gmail.com> wrote:
> it'd be great if we could get variable annotations in PyPy even before PyPy
> 3.6 comes out. There's predecent with f-strings. I'm asking because it's a
> major chore to strip out variable annotations while trying out PyPy,
> (mostly) everything else can be worked around with imports etc.

Look at tools that do the stripping automatically.  Maybe
https://pypi.org/project/strip-hints/ with the option
--only-assigns-and-defs ?


A bientôt,

Armin.


More information about the pypy-dev mailing list