From fcbd7bfe4e777d39cb56a851fc3bbf61e97d536e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 9 Feb 2011 18:25:06 -0500 Subject: - Integers and longs passed as ``elements`` to ``pyramid.url.resource_url`` or ``pyramid.request.Request.resource_url`` e.g. ``resource_url(context, request, 1, 2)`` (``1`` and ``2`` are the ``elements``) will now be converted implicitly to strings in the result. Previously passing integers or longs as elements would cause a TypeError. Closes #124 --- CHANGES.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 34e8cd7b6..8ee0b0bd0 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -14,6 +14,15 @@ Bug Fixes given as examples now work. See also https://github.com/Pylons/pyramid/issues/#issue/123. +Features +-------- + +- Integers and longs passed as ``elements`` to ``pyramid.url.resource_url`` + or ``pyramid.request.Request.resource_url`` e.g. ``resource_url(context, + request, 1, 2)`` (``1`` and ``2`` are the ``elements``) will now be + converted implicitly to strings in the result. Previously passing integers + or longs as elements would cause a TypeError. + 1.0 (2011-01-30) ================ -- cgit v1.2.3