Re: deterministic output?
Chris Jerdonek <[email protected]>
| Newsgroups | gmane.comp.python.reportlab.user |
|---|---|
| Message-ID | <CAOTb1we1+ND53Y2Gf8MS5b3w2SoRP_UUs2wFK0vBg4OhHiXmqw@mail.gmail.com> |
Thanks, Robin. I tried a PDF with tables, and it doesn't seem to be deterministic unless I use RL_invariant=1. What does this variable do, and does it affect anything else? --Chris On Wed, Oct 31, 2018 at 10:09 AM Robin Becker <[email protected]> wrote: > > > We have done quite a lot of work to make the output deterministic, but probably you need to test the effect of environment > variable RL_invariant=1. However I think there has been a recent change to python 3.x to make dictionaries more random which might > make things harder. > > > On 31/10/2018 16:43, Chris Jerdonek wrote: > > Hi, > > > > I'm planning to write some tests of code that uses ReportLab to > > generate some PDFs. My question is-- > > > > To what extent is ReportLab's PDF generation deterministic? For > > example, will the output files be the same byte-for-byte if I generate > > the PDF's on different platforms -- provided that the version of > > ReportLab is the same? Are there any known gotchas? > > > > Thanks, > > --Chris > > _______________________________________________ > > reportlab-users mailing list > > [email protected] > > https://pairlist2.pair.net/mailman/listinfo/reportlab-users > > > > > -- > Robin Becker