[Checkins] [zopefoundation/zope.container] 497cf3: Fix #21: Normalize the keys given to OrderedContai...

GitHub noreply at github.com
Wed Aug 2 20:17:31 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.container
  Commit: 497cf3381e9800996a7ea15eab3a44b3e422e1a9
      https://github.com/zopefoundation/zope.container/commit/497cf3381e9800996a7ea15eab3a44b3e422e1a9
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-08-02 (Wed, 02 Aug 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/container/contained.py
    M src/zope/container/ordered.py
    M src/zope/container/tests/test_ordered.py

  Log Message:
  -----------
  Fix #21: Normalize the keys given to OrderedContainer.updateOrder

Also sort the existing list in place to avoid garbage and preserve the
actual key objects, and avoid sorting it if we don't need to.


  Commit: 36c4a926d1111e7d4e340adbb1816c10033edccc
      https://github.com/zopefoundation/zope.container/commit/36c4a926d1111e7d4e340adbb1816c10033edccc
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-08-02 (Wed, 02 Aug 2017)

  Changed paths:
    M src/zope/container/ordered.py
    M src/zope/container/tests/test_ordered.py

  Log Message:
  -----------
  Drop the sort in favor of an assign.


  Commit: 98b1deb111e4c0942c9d5901a12f4d4152f1b36f
      https://github.com/zopefoundation/zope.container/commit/98b1deb111e4c0942c9d5901a12f4d4152f1b36f
  Author: Jason Madden <jason+github at nextthought.com>
  Date:   2017-08-02 (Wed, 02 Aug 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/container/contained.py
    M src/zope/container/ordered.py
    M src/zope/container/tests/test_ordered.py

  Log Message:
  -----------
  Merge pull request #22 from zopefoundation/issue21

Fix #21: Normalize the keys given to OrderedContainer.updateOrder


Compare: https://github.com/zopefoundation/zope.container/compare/571c4dcbbc30...98b1deb111e4


More information about the checkins mailing list