Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

typing Add fake classes to typing module (Issue #190) #297

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

Closed
stlehmann wants to merge 1 commit into micropython:master from stlehmann:typing
Closed

typing Add fake classes to typing module (Issue #190) #297

stlehmann wants to merge 1 commit into micropython:master from stlehmann:typing

Conversation

@stlehmann
Copy link

@stlehmann stlehmann commented Aug 7, 2018

Addresses issue #190.

Adds fake typing classes to allow using type-annotations with special types like Any, Union or the cast() function within Micropython. The classes are without functionality.

For proper type-checking use CPythons mypy or similar type-checkers.

dbrgn and beyonlo reacted with hooray emoji
@stlehmann stlehmann changed the title (削除) Add fake classes to typing module (Issue #190) (削除ここまで) (追記) typing Add fake classes to typing module (Issue #190) (追記ここまで) Aug 24, 2018
Copy link
Contributor

pfalcon commented Nov 8, 2018

Thanks for the patch! Please note that micropython-lib upstream repository is https://github.com/pfalcon/micropython-lib . I'm merging this patch there and invite you to contribute further there. If you choose to do so, please be sure to read the contribution guidelines: https://github.com/pfalcon/micropython-lib/wiki/ContributorGuidelines

Copy link
Author

Thanks for info. I will make further contributions to the Upstream repository.

Copy link

jonnor commented Aug 25, 2024

This is the upstream repository for the MicroPython project. The referenced project is the upstream of the pycopy project.

The base directory structure has been changed a bit in this repository. But apart from that the code in this merge request still seems relevant.

Copy link

Josverl commented Aug 26, 2024

I fully agree with the goal,
but IMHO this is superseded by #584

Copy link

jonnor commented Aug 27, 2024 via email

Good point about that merge request being closer to ready! I had not seen it.

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /