[Checkins] [zopefoundation/zope.interface] 81f50c: Raise ValueError if non-text name passed to adapte...
GitHub
noreply at github.com
Thu May 4 11:50:46 CEST 2017
Branch: refs/heads/75-prevent-non-text-name-errors
Home: https://github.com/zopefoundation/zope.interface
Commit: 81f50ca16007d0eb6beb7a51b5bf32b6f1cb410a
https://github.com/zopefoundation/zope.interface/commit/81f50ca16007d0eb6beb7a51b5bf32b6f1cb410a
Author: Tres Seaver <tseaver at palladion.com>
Date: 2017-05-04 (Thu, 04 May 2017)
Changed paths:
M CHANGES.rst
M src/zope/interface/_zope_interface_coptimizations.c
M src/zope/interface/adapter.py
M src/zope/interface/interfaces.py
M src/zope/interface/tests/test_adapter.py
Log Message:
-----------
Raise ValueError if non-text name passed to adapter registry methods.
Prevents corruption of lookup cache.
Alternative to fix proposed in #75.
More information about the checkins
mailing list