diff options
| -rw-r--r-- | CHANGES.rst | 6 | ||||
| -rw-r--r-- | src/pyramid/interfaces.py | 18 |
2 files changed, 6 insertions, 18 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index d28d6ca56..16e06d532 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -18,6 +18,12 @@ Backward Incompatibilities cookiecutter. See https://github.com/Pylons/pyramid/pull/3406 +- Removed ``pyramid.interfaces.ITemplateRenderer``. This interface was + deprecated since Pyramid 1.5 and was an interface + used by libraries like ``pyramid_mako`` and ``pyramid_chameleon`` but + provided no functionality within Pyramid itself. + See https://github.com/Pylons/pyramid/pull/3409 + Documentation Changes --------------------- diff --git a/src/pyramid/interfaces.py b/src/pyramid/interfaces.py index e2e211b67..37cbc11ab 100644 --- a/src/pyramid/interfaces.py +++ b/src/pyramid/interfaces.py @@ -1,5 +1,3 @@ -from zope.deprecation import deprecated - from zope.interface import Attribute, Interface from pyramid.compat import PY2 @@ -476,22 +474,6 @@ class IRenderer(Interface): view).""" -class ITemplateRenderer(IRenderer): - def implementation(): - """ Return the object that the underlying templating system - uses to render the template; it is typically a callable that - accepts arbitrary keyword arguments and returns a string or - unicode object """ - - -deprecated( - 'ITemplateRenderer', - 'As of Pyramid 1.5 the, "pyramid.interfaces.ITemplateRenderer" interface ' - 'is scheduled to be removed. It was used by the Mako and Chameleon ' - 'renderers which have been split into their own packages.', -) - - class IViewMapper(Interface): def __call__(self, object): """ Provided with an arbitrary object (a function, class, or |
