[Reproducible-builds] Bug#795826: epydoc: Please hide memory references in the output

Val Lorentz progval at progval.net
Mon Aug 17 09:13:07 UTC 2015


Source: epydoc
Version: 3.0.1+dfsg-11
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi!

While working on the “reproducible builds” effort [1], we have noticed
that epydoc uses repr() on objects that don't always override the
default one. As a consequence, the documentation shows memory references
on the build system, eg. <module.Foo instance at 0x7f3aff4299e0>

The attached patch detects objects with no overriding of __repr__ and
provides a fallback that does not show the reference. Once applied, more
packages using epydoc will be buildable reproducibly in our current
experimental framework.

 [1]: https://wiki.debian.org/ReproducibleBuilds

Regards,
Val
-------------- next part --------------
A non-text attachment was scrubbed...
Name: epydoc_hide_memory_addresses.diff
Type: text/x-patch
Size: 1254 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150817/af0116da/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150817/af0116da/attachment.sig>


More information about the Reproducible-builds mailing list