/usr/lib/python3/dist-packages/celery/utils/encoding.py is in python3-celery 4.1.0-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | # -*- coding: utf-8 -*-
"""**DEPRECATED**: This module has moved to :mod:`kombu.utils.encoding`."""
from __future__ import absolute_import, unicode_literals
from kombu.utils.encoding import ( # noqa
default_encode, default_encoding, bytes_t, bytes_to_str, str_t,
str_to_bytes, ensure_bytes, from_utf8, safe_str, safe_repr,
)
|