Mercurial > hg
view pyproject.toml @ 49901:8f9fbc665928 stable
convert: change socket mode from b'r+' to 'rwb' in cvs.py (issue6789)
'r+' mode used to open sockets for read/write operations, but '+' is not
supported in Python 3. We're using bytes with these sockets everywhere, so the
mode should have 'b'. But the mode argument has to be str, not bytes.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 13 Jan 2023 00:56:37 +0400 |
parents | 58fe6d127a01 |
children | d4b275587847 |
line wrap: on
line source
[build-system] requires = ["setuptools", "wheel"] [tool.black] line-length = 80 exclude = ''' build/ | wheelhouse/ | dist/ | packages/ | \.hg/ | \.mypy_cache/ | \.venv/ | mercurial/thirdparty/ ''' skip-string-normalization = true quiet = true