diff options
author | Miro HronĨok <miro@hroncok.cz> | 2020-01-06 00:37:39 +0100 |
---|---|---|
committer | Aarni Koskela <akx@iki.fi> | 2020-01-06 14:58:33 +0200 |
commit | 4fa749b918810b52a63b312d82e4003e24db0406 (patch) | |
tree | 7ab0814cf23d6bf26f27af3d93f4512dc5637e37 /docs | |
parent | d45b2d300b1e2ef261c243ab7d094045d61fcd8e (diff) | |
download | babel-4fa749b918810b52a63b312d82e4003e24db0406.tar.gz |
Replace usage of parser.suite with ast.parse
Replaced usage of the long-superseded "parser.suite" module in the
mako.util package for parsing the python magic encoding comment with the
"ast.parse" function introduced many years ago in Python 2.5, as
"parser.suite" is emitting deprecation warnings in Python 3.9.
Fixes https://github.com/sqlalchemy/mako/issues/310
See also https://github.com/sqlalchemy/mako/commit/2dae7d2c3da73653e6de329dc15c55056a0b9ab6
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions