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

Make TraitListEvent arguments keyword only #1346

Merged
merged 2 commits into from
Nov 13, 2020

Conversation

aaronayres35
Copy link
Contributor

fixes #1035

This PR makes the TraitListEvent arguments keyword only to match what is done for TraitSetEvent and TraitDictEvent, and for safety.

Checklist

  • Tests
    - [ ] Update API reference (docs/source/traits_api_reference)
    - [ ] Update User manual (docs/source/traits_user_manual)
    - [ ] Update type annotation hints in traits-stubs

@mdickinson
Copy link
Member

LGTM, though it's a bit awkward with respect to dependencies: it'll effectively make Traits 6.2.0 and TraitsUI 7.0.0 a no-go combination. But I think that's okay.

Copy link
Member

@mdickinson mdickinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@corranwebster
Copy link
Contributor

it'll effectively make Traits 6.2.0 and TraitsUI 7.0.0 a no-go combination. But I think that's okay.

That should be fine. I think there may be other incompatibilities around the Font and Color traits with that combination.

@mdickinson mdickinson merged commit b124d8e into master Nov 13, 2020
@mdickinson mdickinson deleted the cln/trait-list-event-kw-only branch November 13, 2020 08:50
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.

Make TraitListEvent arguments keyword-only
3 participants