Skip to content

Lazily create .zattrs #200

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

Merged
merged 6 commits into from
Nov 24, 2017
Merged

Lazily create .zattrs #200

merged 6 commits into from
Nov 24, 2017

Conversation

alimanfoo
Copy link
Member

This PR changes the initialisation behaviour for arrays and groups such that the .zattrs key is not written with an empty dict. Now the .zattrs key will be absent until the first time an attribute is written. Includes a clarification to the spec that .zattrs is optional. Resolves #121.

@alimanfoo alimanfoo added the enhancement New features or improvements label Nov 24, 2017
@alimanfoo alimanfoo added this to the v2.2 milestone Nov 24, 2017
@alimanfoo alimanfoo added the in progress Someone is currently working on this label Nov 24, 2017
@alimanfoo alimanfoo changed the title Lazily create attrs Lazily create .zattrs Nov 24, 2017
@alimanfoo alimanfoo merged commit 4a42a69 into master Nov 24, 2017
@alimanfoo alimanfoo added release notes done Automatically applied to PRs which have release notes. and removed in progress Someone is currently working on this labels Nov 24, 2017
@jakirkham jakirkham deleted the lazy-attrs branch March 7, 2018 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or improvements release notes done Automatically applied to PRs which have release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant