vyperlang / vyper

Pythonic Smart Contract Language for the EVM
https://vyperlang.org
Other
4.91k stars 804 forks source link

refactor[lang]: remove translated fields for constant nodes #4287

Closed tserg closed 1 month ago

tserg commented 1 month ago

What I did

Remove deprecated properties for AST nodes when using python versions <3.8, which were translated to the new properties for python versions >=3.8.

How I did it

How to verify it

Commit message

This commit removes the `.s` field from the AST for string-like
constants. These were deprecated in the Python AST in 3.8; we no longer
need to translate them for our AST.

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->