Skip to content

extract asyncio exceptions into a separate module#3356

Merged
srittau merged 1 commit intopython:masterfrom
Hanaasagi:asyncio-exceptions
Oct 13, 2019
Merged

extract asyncio exceptions into a separate module#3356
srittau merged 1 commit intopython:masterfrom
Hanaasagi:asyncio-exceptions

Conversation

@Hanaasagi
Copy link
Contributor

It will resolve #3231 .

consumed: int
def __init__(self, message: str, consumed: int) -> None: ...

__all__: List[str]
Copy link
Collaborator

Choose a reason for hiding this comment

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

__all__ should should not be typed (event if existing stubs do this). If __all__ exists, it has the same meaning as in implementation files. In this case it's not necessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for correcting.

@srittau srittau merged commit 2bd1b75 into python:master Oct 13, 2019
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.

Python 3.8: asyncio exceptions have extracted into a separate module

2 participants