summaryrefslogtreecommitdiff
path: root/docs/whatsnew-1.3.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-02-17 18:29:10 -0500
committerChris McDonough <chrism@plope.com>2012-02-17 18:29:10 -0500
commit305d23f9e9dd095f4fdface116a2155bd86a453c (patch)
treeb8fc997119a2b470db290c8270241e8991eb797e /docs/whatsnew-1.3.rst
parent0a6a26ca36f6aff7d03b438eef57f6b8d17123e9 (diff)
downloadpyramid-305d23f9e9dd095f4fdface116a2155bd86a453c.tar.gz
pyramid-305d23f9e9dd095f4fdface116a2155bd86a453c.tar.bz2
pyramid-305d23f9e9dd095f4fdface116a2155bd86a453c.zip
docs fixes
Diffstat (limited to 'docs/whatsnew-1.3.rst')
-rw-r--r--docs/whatsnew-1.3.rst20
1 files changed, 11 insertions, 9 deletions
diff --git a/docs/whatsnew-1.3.rst b/docs/whatsnew-1.3.rst
index 674b16e11..acb884d49 100644
--- a/docs/whatsnew-1.3.rst
+++ b/docs/whatsnew-1.3.rst
@@ -364,9 +364,10 @@ Backwards Incompatibilities
and upgrade Pyramid itself "in-place"; it may simply break instead
(particularly if you use ZCML's ``includeOverrides`` directive).
-- String values passed to ``route_url`` or ``route_path`` that are meant to
- replace "remainder" matches will now be URL-quoted except for embedded
- slashes. For example::
+- String values passed to :meth:`Pyramid.request.Request.route_url` or
+ :meth:`Pyramid.request.Request.route_path` that are meant to replace
+ "remainder" matches will now be URL-quoted except for embedded slashes. For
+ example::
config.add_route('remain', '/foo*remainder')
request.route_path('remain', remainder='abc / def')
@@ -385,8 +386,8 @@ Backwards Incompatibilities
``route_path`` or ``route_url`` to do this now.
- If you pass a bytestring that contains non-ASCII characters to
- ``add_route`` as a pattern, it will now fail at startup time. Use Unicode
- instead.
+ :meth:`pyramid.config.Configurator.add_route` as a pattern, it will now
+ fail at startup time. Use Unicode instead.
- The ``path_info`` route and view predicates now match against
``request.upath_info`` (Unicode) rather than ``request.path_info``
@@ -403,10 +404,11 @@ Backwards Incompatibilities
:meth:`pyramid.request.Request.resource_url` URL generation for resources
found via custom traversers since Pyramid 1.0.
- The interface still exists and registering such an adapter still works, but
- this interface will be removed from the software after a few major Pyramid
- releases. You should replace it with an equivalent
- :class:`pyramid.interfaces.IResourceURL` adapter, registered using the new
+ The interface still exists and registering an adapter using it as
+ documented in older versions still works, but this interface will be
+ removed from the software after a few major Pyramid releases. You should
+ replace it with an equivalent :class:`pyramid.interfaces.IResourceURL`
+ adapter, registered using the new
:meth:`pyramid.config.Configurator.add_resource_url_adapter` API. A
deprecation warning is now emitted when a
``pyramid.interfaces.IContextURL`` adapter is found when