GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — JSON does not preserve the order of OrderedDict · Issue #100272 · python/cpython Closed Labels 3.12only security fixesonly security fixestype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error Description#95385 caused a regression in JSON serialization of OrderedDict when use the C implementation. >>> import collections, json >>> od = collections.OrderedDict(a=1, b=2) >>> od.move_to_end('a') >>> od OrderedDict([('b', 2), ('a', 1)]) >>> json.dumps(od) '{"a": 1, "b": 2}' With the pure Python implementation, as well as in older Pythons, you get Linked PRsActivity
MetadataMetadataAssigneesLabels3.12only security fixesonly security fixestype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error Projects
MilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |