##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
safehasattr: pass attribute name as string instead of bytes This is a step toward replacing `util.safehasattr` usage with plain `hasattr`. The builtin function behave poorly in Python2 but this was fixed in Python3. These change are done one by one as they tend to have a small odd to trigger puzzling breackage.

File last commit:

r37144:4bd73a95 default
r51507:ecaf0008 default
Show More
__init__.py
3 lines | 224 B | text/x-python | PythonLexer
from .decoder import load, loads, CBORDecoder, CBORDecodeError # noqa
from .encoder import dump, dumps, CBOREncoder, CBOREncodeError, shareable_encoder # noqa
from .types import CBORTag, CBORSimpleValue, undefined # noqa