Skip to content

Release converted attribute aliases after deleting keys - #343

Open
gary1110086 wants to merge 1 commit into
cdgriffith:developfrom
gary1110086:fix/release-deleted-conversion-aliases
Open

gary1110086 wants to merge 1 commit into
cdgriffith:developfrom
gary1110086:fix/release-deleted-conversion-aliases

Conversation

@gary1110086

Copy link
Copy Markdown

Deleting a key leaves its converted attribute name reserved. With box_duplicates="error", deleting "a b" and then inserting "a-b" raises a duplicate error even though the Box is empty.

Release the alias when its owning key is removed. Cover item and attribute deletion, pop, popitem, and colliding keys, including a None key. Add the required CHANGES and AUTHORS entries.

Validation on Windows / Python 3.12: 166 tests pass with both the Python and compiled Cython implementations; mypy passes.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant