> The `pycompat.bytestr()` was there for py3 compatibility, Not really for the "value" variable which may be unprintable object, but I think it's okay to assume defaultvalues are None/bool/int/float/bytes type.