[Checkins] [zopefoundation/BTrees] ecccd6: Rename _compat.cmp to _compat.compare to avoid con...

GitHub noreply at github.com
Wed Jan 11 17:18:29 CET 2017


  Branch: refs/heads/allow_None
  Home:   https://github.com/zopefoundation/BTrees
  Commit: ecccd60f042947becc236e4e17e6d0fef42bc487
      https://github.com/zopefoundation/BTrees/commit/ecccd60f042947becc236e4e17e6d0fef42bc487
  Author: Jim Fulton <jim at zope.com>
  Date:   2017-01-11 (Wed, 11 Jan 2017)

  Changed paths:
    M BTrees/_base.py
    M BTrees/_compat.py
    M BTrees/check.py

  Log Message:
  -----------
  Rename _compat.cmp to _compat.compare to avoid confusion with Python2 cmp

Also removed s stupid non-optimization in compare


  Commit: 0d2498df720c9eb6328f3cb1d2aea8af9b7e0ab2
      https://github.com/zopefoundation/BTrees/commit/0d2498df720c9eb6328f3cb1d2aea8af9b7e0ab2
  Author: Jim Fulton <jim at zope.com>
  Date:   2017-01-11 (Wed, 11 Jan 2017)

  Changed paths:
    M BTrees/_base.py

  Log Message:
  -----------
  simplify comparison

Cuz the complicated version was wrong, in addition to being complicated :)


Compare: https://github.com/zopefoundation/BTrees/compare/269dcdab1d15...0d2498df720c


More information about the checkins mailing list