Hide memory references in the output
Brought to you by:
edloper
This is tied to Debian bug #795826: http://bugs.debian.org/795826
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, e.g. <module.Foo instance="" at="" 0x7f3aff4299e0="">. This patch detects objects with no overriding of repr and provides a fallback that does not show the reference. It also takes care of not calling default repr on functions.
This patch was contributed by the Debian Reproducible Builds effort: https://wiki.debian.org/ReproducibleBuilds
patch