Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ordered dictionaries #659

Closed
mnot opened this issue Jun 28, 2018 · 3 comments
Closed

Ordered dictionaries #659

mnot opened this issue Jun 28, 2018 · 3 comments

Comments

@mnot
Copy link
Member

mnot commented Jun 28, 2018

Should dicts be ordered? It might be a bit harder to surface them in some APIs, but still possible, and it would allow some use cases (this has come up once or twice).

Other option would be to have an explicitly ordered dict as a separate type.

@bsdphk
Copy link
Contributor

bsdphk commented Jun 28, 2018

Can't you do the same thing with a list with attributes ?

@mnot
Copy link
Member Author

mnot commented Jun 29, 2018

Lists can only contain items, and items don't have anything like an attribute.

@mnot
Copy link
Member Author

mnot commented Aug 19, 2018

IIRC we discussed in Montreal; there seemed to be support in the room. Will give it a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants