Mercurial > hg
diff .hgsigs @ 47864:ad2c37075f46 stable
zeroconf: fix an issue concatenating bytes and str
`bytes(length)` doesn't do what we want, so use `str`.
There appear to be a ton more issues in this extension, including:
- globals()[b'_GLOBAL_DONE'] using bytes as the key
- `__author__` and similar using bytes
- `BadDomainName` is feeding bytes to the Exception constructor
- DNSRecord.toString() has the wrong signature (should be str, not bytes)
Differential Revision: https://phab.mercurial-scm.org/D11303
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Wed, 18 Aug 2021 14:58:42 -0400 |
parents | 254833bde23b |
children | 7538453ec322 |