[Reproducible-builds] Bug#827416: epydoc: memory address output for weakref.* collection objects

Sascha Steinbiss sascha at steinbiss.name
Wed Jun 15 22:54:28 UTC 2016


Source: epydoc
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness

Hi,

as mentioned before, here's another reproducibility issue in epydoc 
I have recently addressed.
The point is that Instances of the weakref.WeakKeyDictionary,
weakref.WeakValueDictionary and weakref.WeakSet classes have a __repr__
string that contains the instance's memory address. This value should be
skipped when printing their values for reproducibility of epydoc output.
The attached patch adds explicit treatment for these classes, only including
their class names in the output.

An example affected package is ldaptor, which -- along with some additional
specific patches to itself -- now builds reproducibly for me.
If you have any more questions, please feel free to get back to me.

Thanks for considering the patch.
Best regards,
Sascha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: weakref-types.patch
Type: text/x-diff
Size: 981 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160615/05bd1a0d/attachment.patch>


More information about the Reproducible-builds mailing list