Skip to content

Conversation

@pantheraleo-7
Copy link

@pantheraleo-7 pantheraleo-7 changed the title change to forward reference for possibly unbound objects in type hint(s) change to forward reference for possibly unbound symbols in type hint(s) Oct 7, 2025
from micropython import const

try:
import typing
Copy link
Contributor

Choose a reason for hiding this comment

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

I think having this attempt at importing typing or something from it is still necessary for our purposes to prevent imports used only for typing from actually getting imported on microcontrollers in order to save RAM.

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.

2 participants