##// END OF EJS Templates
config: reject str sections and keys on Python 3...
config: reject str sections and keys on Python 3 Otherwise we could end up with a dict having both the str and bytes versions of a particular config item. This may cause some tests to regress. I haven't checked. But it is better behavior to fail fast. We could just as easily change this to normalize the values. But I like catching all non-compliant call sites first. Differential Revision: https://phab.mercurial-scm.org/D5649

File last commit:

r37231:3bc609bc default
r41347:4ad002b2 default
Show More
__init__.py
10 lines | 141 B | text/x-python | PythonLexer
from .cbor2 import (
CBORDecodeError,
CBORDecoder,
CBOREncodeError,
CBOREncoder,
dump,
dumps,
load,
loads,
)