cubicweb/__init__.py
changeset 12508 a8c1ea390400
parent 12355 c703dc95c82e
child 12543 71aa20cb43f2
--- a/cubicweb/__init__.py	Thu Mar 14 14:45:35 2019 +0100
+++ b/cubicweb/__init__.py	Thu Mar 14 12:08:37 2019 +0100
@@ -30,9 +30,7 @@
 import zlib
 
 from six import PY2, binary_type, text_type
-from six.moves import builtins
 
-from logilab.common.deprecation import deprecated
 from logilab.common.logging_ext import set_log_methods
 from yams.constraints import BASE_CONVERTERS, BASE_CHECKERS
 from yams.schema import role_name as rname
@@ -68,14 +66,6 @@
 # '_' is available to mark internationalized string but should not be used to
 # do the actual translation
 _ = text_type
-if not hasattr(builtins, '_'):
-    builtins._ = deprecated("[3.22] Use 'from cubicweb import _'")(_)
-
-
-# convert eid to the right type, raise ValueError if it's not a valid eid
-@deprecated('[3.17] typed_eid() was removed. replace it with int() when needed.')
-def typed_eid(eid):
-    return int(eid)
 
 
 class Binary(BytesIO):