HomePhabricator

check-py3-compat: provide filename to ast.parse()

Authored by indygreg.

Description

check-py3-compat: provide filename to ast.parse()

This ensures any warning/error messages print a valid filename instead of
potentially '<unknown>'.

Differential Revision: https://phab.mercurial-scm.org/D5844

Details

Committed
indygregFeb 4 2019, 5:25 PM
Differential Revision
D5844: check-py3-compat: provide filename to ast.parse()
Parents
rHGeb14ab7db33e: doc: escape backslash
Branches
Unknown
Tags
Unknown