( )⚙ D7412 py3: use native string as fallback value for __file__ for consistency

This is an archive of the discontinued Mercurial Phabricator instance.

py3: use native string as fallback value for __file__ for consistency
ClosedPublic

Authored by martinvonz on Nov 14 2019, 5:17 PM.

Details

Summary

This is not a bugfix (pycommpat.fsencode(b'') is a no-op on py3), but
the b'' value was inconsistent and confusing.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage