[Checkins] [zopefoundation/zope.intid] 12d653: Raise subclasses of KeyError (#5)

GitHub noreply at github.com
Tue Dec 6 13:06:41 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.intid
  Commit: 12d653e583471c050d51367f28e49b30e3930936
      https://github.com/zopefoundation/zope.intid/commit/12d653e583471c050d51367f28e49b30e3930936
  Author: Jason Madden <jason+github at nextthought.com>
  Date:   2016-12-06 (Tue, 06 Dec 2016)

  Changed paths:
    A .coveragerc
    M .travis.yml
    M CHANGES.rst
    A setup.cfg
    M src/zope/intid/__init__.py
    M src/zope/intid/interfaces.py
    M src/zope/intid/tests.py
    M tox.ini

  Log Message:
  -----------
  Raise subclasses of KeyError (#5)

* fix testing under py3.3 (could not find 'intid' in 'zope') and simplify

Bring in the .travis.yml changes from #3 and also do the same for tox.ini.

* Raise more informative KeyError subclasses.

* Make sure POSKeyError propagates.

Note that ``queryId`` now propagates this error; previously it was
hidden. This now matches the behaviour of ``queryObject`` which always
propagated.

Test this. I have 100% test coverage locally. Some minor refactoring of
the subscribers facilitates this (and reduces the nesting depth).

Also add a setup.cfg to indicate that we generate universal wheels.

* Use latest pypy3 on travis because of pip.




More information about the checkins mailing list