CHANGES.txt | ●●●●● patch | view | raw | blame | history | |
pyramid/path.py | ●●●●● patch | view | raw | blame | history |
CHANGES.txt
@@ -15,6 +15,9 @@ the ``pyramid.renderers.JSON`` renderer if there is no request object to derive a callback from. See https://github.com/Pylons/pyramid/pull/1562 - Prevent "parameters to load are deprecated" ``DeprecationWarning`` from setuptools>=11.3. See https://github.com/Pylons/pyramid/pull/1541 .. _changes_1.5.2: 1.5.2 (2014-11-09) pyramid/path.py
@@ -337,8 +337,13 @@ value = package.__name__ else: value = package.__name__ + value return pkg_resources.EntryPoint.parse( 'x=%s' % value).load(False) # Calling EntryPoint.load with an argument is deprecated. # See https://pythonhosted.org/setuptools/history.html#id8 ep = pkg_resources.EntryPoint.parse('x=%s' % value) if hasattr(ep, 'resolve'): return ep.resolve() # setuptools>=10.2 else: return ep.load(False) def _zope_dottedname_style(self, value, package): """ package.module.attr style """