[Checkins] [zopefoundation/zope.interface] 9de723: Fix #85 by implementing __reduce__ to omit _v_ att...

GitHub noreply at github.com
Wed Jun 14 14:39:39 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.interface
  Commit: 9de7239b28a9817ad43c04e438743a22d964545e
      https://github.com/zopefoundation/zope.interface/commit/9de7239b28a9817ad43c04e438743a22d964545e
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-06-14 (Wed, 14 Jun 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/interface/registry.py
    M src/zope/interface/tests/test_registry.py

  Log Message:
  -----------
  Fix #85 by implementing __reduce__ to omit _v_ attributes.

This is an alternative to #86 and was suggested by @mgedmin in #85.

There are tests to be sure this works for subclasses like Pyramid's
Registry that extend dict too.

This doesn't change the pickle format, we were storing the output of
object.__reduce__ previously.


  Commit: bf0565350d8973f8ba260d0824678248d053de11
      https://github.com/zopefoundation/zope.interface/commit/bf0565350d8973f8ba260d0824678248d053de11
  Author: Jason Madden <jason+github at nextthought.com>
  Date:   2017-06-14 (Wed, 14 Jun 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/interface/registry.py
    M src/zope/interface/tests/test_registry.py

  Log Message:
  -----------
  Merge pull request #92 from zopefoundation/issue85-take2-reduce

Fix #85 by implementing __reduce__ to omit _v_ attributes.


Compare: https://github.com/zopefoundation/zope.interface/compare/1f00dcfa8e7f...bf0565350d89


More information about the checkins mailing list