[rb-general] Addresses in (I)Python output

Orians, Jeremiah (DTMB) OriansJ at michigan.gov
Wed Sep 25 11:10:35 UTC 2019

> I agree that we don't want to disable IPython address output during interactive use.  Options:
> - jupyter-nbconvert may well be a suitable "documentation builds go through here, interactive use doesn't" place to disable address output by default (either by passing a "disable address output" command-line switch to IPython or by a search-and-replace on the output), but I need to check that.
I slightly disagree; as one isn't supposed to be dealing with addresses generally, so perhaps the solution is disable by default and enable with flag?

> - or, do we have a standard "is a reproducible build currently being attempted?" mechanism, that IPython could use to decide whether to disable address output?  (Checking whether SOURCE_DATE_EPOCH is set?)
Or we could simply have deterministic behavior by default

> - or, we could put a "remove Python addresses" post-processor in strip-nondeterminism.
Aka, just another band-aid on this class of problems


More information about the rb-general mailing list