HomePhabricator

py3: force bytestr conversion of "reason" in scmutil.callcatch()

Authored by dlax.

Description

py3: force bytestr conversion of "reason" in scmutil.callcatch()

For instance, reason may be an InvalidURL as shown in added test.

Details

Committed
dlaxDec 18 2019, 2:17 PM
Parents
rHGb06cf2809ec3: rust-cpython: do not convert warning pattern to utf-8 bytes
Branches
Unknown
Tags
Unknown