mercurial/defaultrc/__init__.py
author Manuel Jacob <me@manueljacob.de>
Tue, 06 Aug 2024 17:53:59 +0200
branchstable
changeset 51792 472699b5ddb3
parent 43871 1390bb81163e
permissions -rw-r--r--
cffi: pass bytes instead of str to ffi.new("char[]", …) The type annotations seem to imply that the passed values are always already bytes, but they aren’t necessarily. Before Python 3.11, the documentation stated that bytes can be used to annotate arguments whose type is actually any of bytes, bytearray, or memoryview.