Permalink
Commits on Jan 5, 2012
  1. prep for 1.3a4

    mcdonc committed Jan 5, 2012
  2. coverage

    mcdonc committed Jan 5, 2012
  3. fix test on py3

    mcdonc committed Jan 5, 2012
  4. whatsnew

    mcdonc committed Jan 5, 2012
  5. coverage

    mcdonc committed Jan 5, 2012
  6. garden

    mcdonc committed Jan 5, 2012
  7. fix test failures on python 3

    mcdonc committed Jan 5, 2012
  8. - Using a dynamic segment named ``traverse`` in a route pattern like …

    mcdonc committed Jan 5, 2012
    …this::
    
        config.add_route('trav_route', 'traversal/{traverse:.*}')
    
      Would cause a ``UnicodeDecodeError`` when the route was matched and the
      matched portion of the URL contained any high-order characters.  See also
      #385 .
  9. garden

    mcdonc committed Jan 5, 2012
  10. - String values passed to ``route_url`` or ``route_path`` that are me…

    mcdonc committed Jan 5, 2012
    …ant 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')
         # -> '/foo/abc%20/%20def'
    
      Previously string values passed as remainder replacements were tacked on
      untouched, without any URL-quoting.  But this doesn't really work logically
      if the value passed is Unicode (raw unicode cannot be placed in a URL or in
      a path) and it is inconsistent with the rest of the URL generation
      machinery if the value is a string (it won't be quoted unless by the
      caller).
    
      Some folks will have been relying on the older behavior to tack on query
      string elements and anchor portions of the URL; sorry, you'll need to
      change your code to use the ``_query`` and/or ``_anchor`` arguments to
      ``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.
Commits on Jan 4, 2012
  1. merge from master

    mcdonc committed Jan 4, 2012
  2. Merge pull request #389 from bbinet/remove_python25_dependencies

    mmerickel committed Jan 4, 2012
    remove dependencies related to python 2.5 in alchemy scaffold
  3. Merge pull request #390 from larose/master

    mmerickel committed Jan 4, 2012
    Removed repetition of the word "the" in the Wiki Tutorial.
  4. remove dependencies related to python 2.5 in alchemy scaffold

    bbinet committed Jan 4, 2012
    now that Pyramid requires python >= 2.6, these 2.5 dependencies are useless
  5. untested work

    mcdonc committed Jan 4, 2012
Commits on Jan 3, 2012
  1. - The documentation of ``pyramid.events.subscriber`` indicated that u…

    mcdonc committed Jan 3, 2012
    …sing it
    
      as a decorator with no arguments like this::
    
        @subscriber()
        def somefunc(event):
            pass
    
      Would register ``somefunc`` to receive all events sent via the registry,
      but this was untrue.  Instead, it would receive no events at all.  This has
      now been fixed and the code matches the documentation.  See also
      #386
    
    Closes #386
Commits on Dec 31, 2011
  1. fixed typo in contributors

    blaflamme committed Dec 31, 2011
  2. garden

    mcdonc committed Dec 31, 2011
Commits on Dec 30, 2011