view mercurial/thirdparty/cbor/__init__.py @ 50821:28c0fcff24e5 stable

rhg: fix the bug where sparse config is interpreted as relglob instead of glob relglob apparently (in contrast with relpath) matches everywhere in the tree, whereas glob only matches at the root. The python version interprets these patterns as "glob" (see "normalize(include, b'glob', ...)" in match.py)
author Arseniy Alekseyev <aalekseyev@janestreet.com>
date Thu, 10 Aug 2023 19:00:19 +0100
parents 3bc609bcfe77
children
line wrap: on
line source

from .cbor2 import (
    CBORDecodeError,
    CBORDecoder,
    CBOREncodeError,
    CBOREncoder,
    dump,
    dumps,
    load,
    loads,
)