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

consider making a defaultdict-like wrapper for OrderedDict #7311

Open
cosmicexplorer opened this issue Mar 5, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@cosmicexplorer
Copy link
Contributor

commented Mar 5, 2019

In #7116 we add union rules to the RuleIndex, which involves manually checking if an entry is in an OrderedDict, and if so initializing it. It doesn't seem super hard to make a quick wrapper type which would do this if this is something we end up doing more often with OrderedDicts. It's possible this technique could be generalized to other collections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.