[Checkins] [zopefoundation/mongopersist] f2c0e8: Add bool as a mongo-safe type.

GitHub noreply at github.com
Mon Jan 13 05:21:40 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/mongopersist
  Commit: f2c0e8946d9890ee2a637c945ce91a97b1974b8c
      https://github.com/zopefoundation/mongopersist/commit/f2c0e8946d9890ee2a637c945ce91a97b1974b8c
  Author: Stephan Richter <stephan.richter at gmail.com>
  Date:   2014-01-12 (Sun, 12 Jan 2014)

  Changed paths:
    M src/mongopersist/interfaces.py

  Log Message:
  -----------
  Add bool as a mongo-safe type.

Note that bool is a subclass of int, so isinstance() made it work. Wow,
my confidence in isinstance(is really shook right now.




More information about the checkins mailing list