[Checkins] [zopefoundation/zope.pagetemplate] ec3e21: Add PyPy support.

GitHub noreply at github.com
Tue Jun 2 19:16:50 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.pagetemplate
  Commit: ec3e21fe1df341a077c986eb2d3856224842db45
      https://github.com/zopefoundation/zope.pagetemplate/commit/ec3e21fe1df341a077c986eb2d3856224842db45
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-29 (Fri, 29 May 2015)

  Changed paths:
    M .travis.yml
    M CHANGES.rst
    M setup.py
    M src/zope/pagetemplate/engine.py
    M src/zope/pagetemplate/tests/test_engine.py
    M tox.ini

  Log Message:
  -----------
  Add PyPy support.

PyPy doesn't support assigning to __builtins__, even in eval(), so
this means that zope.untrusted.builtins is not helpful, even though it
can be installed. Therefore, HAVE_UNTRUSTED must always be False under
PyPy, just like under Python 3.

Minor doctest renormalization to deal with the changed class name of the proxy.

A pure-Python proxy can't lie about its type, so use __class__ in one doctest.


  Commit: 591c1334d864c223c43d29cfd02deb643ba53b29
      https://github.com/zopefoundation/zope.pagetemplate/commit/591c1334d864c223c43d29cfd02deb643ba53b29
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2015-05-31 (Sun, 31 May 2015)

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

  Log Message:
  -----------
  Roll back use of __class__; neither C nor Python proxy can directly lie to 'type'. This turns out to be a bug in the zope.security.proxy.removeSecurityProxy function under pure-Python, so the build won't be green until zopefoundation/zope.security#11 or something like it is released.


  Commit: 083c2d54773fb7c32156aff15771fc4e0247ca9d
      https://github.com/zopefoundation/zope.pagetemplate/commit/083c2d54773fb7c32156aff15771fc4e0247ca9d
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2015-06-02 (Tue, 02 Jun 2015)

  Changed paths:
    M .travis.yml
    M CHANGES.rst
    M setup.py
    M src/zope/pagetemplate/engine.py
    M src/zope/pagetemplate/tests/test_engine.py
    M tox.ini

  Log Message:
  -----------
  Merge pull request #4 from NextThought/pypy-support

Add PyPy support.


Compare: https://github.com/zopefoundation/zope.pagetemplate/compare/762a931cf5cc...083c2d54773f


More information about the checkins mailing list