equal
deleted
inserted
replaced
7 |
7 |
8 # zope.interface imposes a run-time cost due to module import overhead and |
8 # zope.interface imposes a run-time cost due to module import overhead and |
9 # bookkeeping for declaring interfaces. So, we use stubs for various |
9 # bookkeeping for declaring interfaces. So, we use stubs for various |
10 # zope.interface primitives unless instructed otherwise. |
10 # zope.interface primitives unless instructed otherwise. |
11 |
11 |
12 from __future__ import absolute_import |
|
13 |
12 |
14 from .. import encoding |
13 from .. import encoding |
15 |
14 |
16 if encoding.environ.get(b'HGREALINTERFACES'): |
15 if encoding.environ.get(b'HGREALINTERFACES'): |
17 from ..thirdparty.zope import interface as zi |
16 from ..thirdparty.zope import interface as zi |