Page MenuHomePhabricator

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.