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

This is an archive of the discontinued Mercurial Phabricator instance.

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

Authored by indygreg on Feb 4 2019, 5:47 PM.

Details

Summary

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

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Feb 4 2019, 5:47 PM
This revision was automatically updated to reflect the committed changes.