encoding.py 334 B

1234567
  1. # -*- coding: utf-8 -*-
  2. """**DEPRECATED**: This module has moved to :mod:`kombu.utils.encoding`."""
  3. from __future__ import absolute_import, unicode_literals
  4. from kombu.utils.encoding import ( # noqa
  5. default_encode, default_encoding, bytes_t, bytes_to_str, str_t,
  6. str_to_bytes, ensure_bytes, from_utf8, safe_str, safe_repr,
  7. )