Skip to content
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

Widen the annotation of os.write to include buffer. #3109

Merged
merged 1 commit into from
Aug 10, 2019

Conversation

benjaminp
Copy link
Contributor

@benjaminp benjaminp commented Jul 8, 2019

There isn't a good annotation for supporting the buffer interface, so a Union will have to do.

Copy link
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

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

Thanks, two remarks. The buffer problem is also talked about in python/typing#593.

@benjaminp benjaminp force-pushed the os-write branch 2 times, most recently from 821484e to 2f3256c Compare July 24, 2019 20:36
@benjaminp benjaminp changed the title Widen the annotation of os.write include some types that support the buffer interface. Widen the annotation of os.write to include buffer. Jul 25, 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.

3 participants