[Checkins] [zopefoundation/zope.pagetemplate] 0047f1: Allow short-circuit traversal for non-proxied dict...

GitHub noreply at github.com
Tue Jan 20 15:46:59 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.pagetemplate
  Commit: 0047f1d611d2377d908f89445ba5d4dfa72d86b0
      https://github.com/zopefoundation/zope.pagetemplate/commit/0047f1d611d2377d908f89445ba5d4dfa72d86b0
  Author: Colin Watson <cjwatson at canonical.com>
  Date:   2015-01-20 (Tue, 20 Jan 2015)

  Changed paths:
    M src/zope/pagetemplate/engine.py

  Log Message:
  -----------
  Allow short-circuit traversal for non-proxied dict subclasses

This change is based on
https://code.launchpad.net/~wallyworld/zope.pagetemplate/fix-isinstance/+merge/38499
by Ian Booth.

The original approach in that branch broke tests, because they rely on
subclassing dict with an implementer of ITraversable.  Rather than changing
this, it seems safer to only extend the dict special-case to non-proxied
subclasses.


  Commit: 550a40ea3f820fb6bcc6915bb08b4548ff614828
      https://github.com/zopefoundation/zope.pagetemplate/commit/550a40ea3f820fb6bcc6915bb08b4548ff614828
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2015-01-20 (Tue, 20 Jan 2015)

  Changed paths:
    M CHANGES.rst

  Log Message:
  -----------
  Changelog for PR #3.


Compare: https://github.com/zopefoundation/zope.pagetemplate/compare/25878709d9fe...550a40ea3f82


More information about the checkins mailing list