[Checkins] [zopefoundation/zope.sendmail] f69b9d: python3 fix: make sort key a string

GitHub noreply at github.com
Fri Feb 24 15:53:12 CET 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.sendmail
  Commit: f69b9d6469357367ae29af8847a8585646c31f1c
      https://github.com/zopefoundation/zope.sendmail/commit/f69b9d6469357367ae29af8847a8585646c31f1c
  Author: Brian Sutherland <brian at vanguardistas.net>
  Date:   2017-02-23 (Thu, 23 Feb 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/sendmail/delivery.py
    M src/zope/sendmail/tests/test_delivery.py

  Log Message:
  -----------
  python3 fix: make sort key a string

According to IDataManager sort keys must be strings

https://github.com/zopefoundation/transaction/blob/master/transaction/interfaces.py#L449

This also fixes breakage on python3 as strings and integers are not sortable there and transaction tries to sort them.


  Commit: a33d27ca726443485bf489f557a12accda439bcd
      https://github.com/zopefoundation/zope.sendmail/commit/a33d27ca726443485bf489f557a12accda439bcd
  Author: Brian Sutherland <brian at vanguardistas.net>
  Date:   2017-02-24 (Fri, 24 Feb 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/sendmail/delivery.py
    M src/zope/sendmail/tests/test_delivery.py

  Log Message:
  -----------
  Merge pull request #5 from zopefoundation/string-sort-key

python3 fix: make sort key a string


Compare: https://github.com/zopefoundation/zope.sendmail/compare/8a316fffceae...a33d27ca7264


More information about the checkins mailing list