-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Currently, to safely use a registered array, a user must reassign the array:
a = a.register('myarray')In my experience, users typically expect registration to be an in-place operation:
a.register('myarray')but after this operation, a.name is still id_123, not myarray. This tends to cause confusion, e.g. after calling ak.clear().
Having the registration function update a.name in-place would provide more intuitive usage and would also make it easier to register complex objects without having to reassign every attribute.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers