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

GitHub noreply at github.com
Thu Feb 23 17:06:48 CET 2017


  Branch: refs/heads/string-sort-key
  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.




More information about the checkins mailing list