FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[tty] py312: Fix return types of set(raw|cbreak) by srittau · Pull Request #10785 · python/typeshed · GitHub

[tty] py312: Fix return types of set(raw|cbreak) - #10785

Merged
JelleZijlstra merged 7 commits into
python:mainfrom
srittau:tty-return
Sep 28, 2023
Merged

[tty] py312: Fix return types of set(raw|cbreak)#10785
JelleZijlstra merged 7 commits into
python:mainfrom
srittau:tty-return

Conversation

srittau commented Sep 27, 2023

Copy link
Copy Markdown
Collaborator

Also add termios._AttrReturn type alias to be used in tty

Also add `termios._AttrReturn` type alias to be used in tty

srittau commented Sep 27, 2023

Copy link
Copy Markdown
Collaborator Author

Waiting for #10784 due to conflicts.

srittau requested a review from sobolevn September 27, 2023 09:00
Comment thread stdlib/termios.pyi Outdated

This comment has been minimized.

Comment thread stdlib/tty.pyi Outdated
srittau marked this pull request as ready for review September 27, 2023 09:29

srittau commented Sep 27, 2023

Copy link
Copy Markdown
Collaborator Author

@sobolevn I've also replaced _Mode with termio._Attr as I believe these represent the same thing?

Comment thread stdlib/tty.pyi Outdated

This comment has been minimized.

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

JelleZijlstra merged commit 6074a8f into python:main Sep 28, 2023

JelleZijlstra commented Sep 28, 2023
edited
Loading

Copy link
Copy Markdown
Member

Submitted python/cpython#110028 to document some of these changes better

srittau deleted the tty-return branch September 28, 2023 14:52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

4 participants


Back | FazBrowse Home | New Git URL