Skip to content

Lazily create .zattrs - #200

Merged
alimanfoo merged 6 commits into
masterfrom
lazy-attrs
Nov 24, 2017
Merged

alimanfoo merged 6 commits into
masterfrom
lazy-attrs

Conversation

@alimanfoo

Copy link
Copy Markdown
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