Skip to content

Check native object in case of early access #1883

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 4 commits into from
May 14, 2019
Merged

Conversation

tannewt
Copy link
Member

@tannewt tannewt commented May 14, 2019

Also includes translation file sorting.

tannewt added 2 commits May 13, 2019 17:31
If a native displayio object is accessed before it's super().__init__()
has been called, then a placeholder is given that will cause a crash if
accessed. This is tricky to get right so we detect this case and raise
a NotInplementedError instead of crashing.

Fixes micropython#1881
This should stabilize the sort of files in the .po files.

Fixes micropython#1871
It isn't needed because the object is passed in, not self. To be
passed in it must be inited.
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

@dhalbert dhalbert merged commit d3ce928 into adafruit:master May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants