Skip to content

Conversation

@Avasam
Copy link
Collaborator

@Avasam Avasam commented Nov 12, 2022

One of the stubs that benefit from #8923
In fact, stubtest found 2 missing methods on windows!

@github-actions

This comment has been minimized.

@Avasam Avasam changed the title Run stubtest windows on colorama Run stubtest on windows for colorama Nov 12, 2022
def FillConsoleOutputAttribute(stream_id: int, attr: int, length: int, start: COORD) -> wintypes.BOOL: ...
def SetConsoleTitle(title: str) -> wintypes.BOOL: ...
def GetConsoleMode(handle: int) -> int: ...
def SetConsoleMode(handle: int, mode: int) -> None: ...
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you temporarily delete these methods and then add them back? I would like to make sure that the CI fails when these are missing.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

There you go, fails on windows now :)

@github-actions
Copy link
Contributor

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

@JelleZijlstra JelleZijlstra merged commit 24277ce into python:main Nov 13, 2022
@Avasam Avasam deleted the colorama-windows branch November 13, 2022 01:54
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.

3 participants