Mercurial > hg
comparison doc/check-seclevel.py @ 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 | c102b704edb5 |
children | 6000f5b25c9b 45e71954612c |
comparison
equal
deleted
inserted
replaced
47863:8d297f3563be | 47864:ad2c37075f46 |
---|