[rb-general] Sphinx output always reproducible?

Ricardo Wurmus rekado at elephly.net
Tue Apr 10 23:33:45 CEST 2018


W. Martin Borgert <debacle at debian.org> writes:

> I wonder, whether sphinx output still might not be reproducible
> in the following case (Python 3):
>
>     class A_Class(object):
>         #: A set
>         a_set = {'a', 'b', 'c'}
>
> It looks like the order of the set is arbitrary in the resulting
> docs.

I’m not sure but it may be possible to fix the order by setting
the PYTHONHASHSEED environment variable.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net




More information about the rb-general mailing list