[Checkins] [zopefoundation/z3c.autoinclude] 1fb526: Naming and determinism for distributionFromDottedN...

GitHub noreply at github.com
Tue Aug 23 15:34:15 CEST 2016


  Branch: refs/heads/py3
  Home:   https://github.com/zopefoundation/z3c.autoinclude
  Commit: 1fb526f76368b08e5c31b8b93914cd9310f4a9d2
      https://github.com/zopefoundation/z3c.autoinclude/commit/1fb526f76368b08e5c31b8b93914cd9310f4a9d2
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2016-08-23 (Tue, 23 Aug 2016)

  Changed paths:
    M src/z3c/autoinclude/utils.py

  Log Message:
  -----------
  Naming and determinism for distributionFromDottedName.

- Use == 0 instead of is 0; worked before because of integer caching,
  but that's not guaranteed.
- Sort multiple matches to be independent of the order they're returned.




More information about the checkins mailing list