[issue2551034] REST etag ordering
Joseph Myers <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.devel |
|---|---|
| Message-ID | <[email protected]> |
New submission from Joseph Myers: The REST etag generation uses node.items(protected=True). The order in which properties appear in the result of node.items() is not necessarily deterministic; it ends up depending on the ordering of dict keys, and only in more recent Python 3 versions is dict guaranteed to preserve insertion order. I think sorting the result of items() should suffice to address this issue (so repr(sorted(items)) (untested)). ---------- components: Infrastructure messages: 6403 nosy: joseph_myers priority: normal severity: normal status: new title: REST etag ordering type: behavior versions: devel _________________________________________________ Roundup tracker <[email protected]> <https://issues.roundup-tracker.org/issue2551034> _________________________________________________