[Checkins] [zopefoundation/mongopersist] a05773: Bug: Fix circular reference detection of non-persi...
GitHub
noreply at github.com
Wed Oct 16 16:00:50 CEST 2013
Branch: refs/heads/master
Home: https://github.com/zopefoundation/mongopersist
Commit: a05773f6396723e8c7549132413a640b55e669eb
https://github.com/zopefoundation/mongopersist/commit/a05773f6396723e8c7549132413a640b55e669eb
Author: Stephan Richter <stephan.richter at gmail.com>
Date: 2013-10-16 (Wed, 16 Oct 2013)
Changed paths:
M CHANGES.txt
M src/mongopersist/serialize.py
M src/mongopersist/tests/test_serialize.py
Log Message:
-----------
Bug: Fix circular reference detection of non-persistent object that were
different instances but equated.
Commit: e7f0b35d8e28f9b68b02939a4ae4547ded3a3e5b
https://github.com/zopefoundation/mongopersist/commit/e7f0b35d8e28f9b68b02939a4ae4547ded3a3e5b
Author: Stephan Richter <stephan.richter at gmail.com>
Date: 2013-10-16 (Wed, 16 Oct 2013)
Changed paths:
M CHANGES.txt
M src/mongopersist/interfaces.py
M src/mongopersist/serialize.py
M src/mongopersist/tests/test_serialize.py
Log Message:
-----------
Added ability for types not to paricipate in circular reference detection.
Mongo-native types already did not participate, but now other
non-persistent types can declarare themselves as "reference-safe" using the
`_m_reference_safe` flag. This is particularly useful for objects serialize
into a set of trivial values that cannot have complex references. (You
should rarely need this feature.)
Compare: https://github.com/zopefoundation/mongopersist/compare/879aa304ae73...e7f0b35d8e28
More information about the checkins
mailing list