comparison hgdemandimport/__init__.py @ 32616:6df193b5c437

py3: implement __bytes__() on most of our exception classes We store bytes in exc.args, which should be translated to a byte string without encode/decode dance. IOError subclasses are unchanged for now. We'll need to decide how our IOErrors should be caught.
author Yuya Nishihara <yuya@tcha.org>
date Thu, 01 Jun 2017 22:43:24 +0900
parents 859496bb6db3
children 8fb5212652ec
comparison
equal deleted inserted replaced
32615:c9318beb7c1a 32616:6df193b5c437