Movatterモバイル変換


[0]ホーム

URL:


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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
stlehmann wants to merge1 commit intomicropython:masterfromstlehmann:typing
Closed

Conversation

@stlehmann
Copy link

Addresses issue#190.

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

For proper type-checking use CPythonsmypy or similar type-checkers.

dbrgn and beyonlo reacted with hooray emoji
@stlehmannstlehmann mentioned this pull requestAug 8, 2018
@stlehmannstlehmann changed the titleAdd fake classes to typing module (Issue #190)typing Add fake classes to typing module (Issue #190)Aug 24, 2018
@pfalcon
Copy link
Contributor

Thanks for the patch! Please note that micropython-lib upstream repository ishttps://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

@stlehmann
Copy link
Author

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

@jonnor
Copy link

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.

@Josverl
Copy link

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

@jonnor
Copy link

jonnor commentedAug 27, 2024 via email

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

Sign up for freeto 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.

4 participants

@stlehmann@pfalcon@jonnor@Josverl

[8]ページ先頭

©2009-2025 Movatter.jp