Assignment to __bases__ of an interface does not clear "get" cache

Bug #185974 reported by Jacob Holm
2
Affects Status Importance Assigned to Milestone
zope.interface
Fix Released
Medium
Tres Seaver

Bug Description

Specification.get() uses a cache. This cache should be cleared in Specification.changed(), but isn't. I'll post a patch.

Revision history for this message
Jacob Holm (jacobholm) wrote :
Tres Seaver (tseaver)
Changed in zope.interface:
assignee: nobody → Tres Seaver (tseaver)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Tres Seaver (tseaver) wrote :

Thanks very much for the patch, including tests!

Committed on the zope.interface trunk for the 3.6.0 release:

  http://svn.zope.org/zope.interface/trunk/?rev=110828&view=rev

Changed in zope.interface:
status: In Progress → Fix Committed
Revision history for this message
Tres Seaver (tseaver) wrote :

Fix released yesterday with zope.interface 3.6.0:

  http://pypi.python.org/pypi/zope.interface/3.6.0

Changed in zope.interface:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.