Differences in headers generated from ipdl depending on python version
Categories
(Core :: IPC, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(2 files)
(filing as a defect because it's making it more difficult for me to attest whether my build environment changes on automation are affecting the resulting binaries or not)
For some reason, there are differences in PNeckoChild.h and PNeckoParent.h (and only those) when running the ipdl generator with python 3.6 vs. 3.7. Diffoscope output attached.
It looks like the friends declarations are generated as part of this iteration in lower.py: for friend in friends:
. I saw something about how dicts are insertion ordered starting in 3.7, but I guess sets still aren't, so the iteration order is not specified? I guess the fix here is to turn the set into a list and sort it, or something. (I didn't notice that you'd already assigned yourself before I started looking at this, so I'll just leave this here.)
Assignee | ||
Comment 2•4 years ago
|
||
Comment 4•4 years ago
|
||
bugherder |
Description
•