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

GitHub noreply at github.com
Wed Aug 2 12:59:27 CEST 2017


  Branch: refs/heads/issue21
  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.




More information about the checkins mailing list