Skip to content

A couple fixes to the io stubs. #1811

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

Merged
merged 3 commits into from
Jan 5, 2018
Merged

A couple fixes to the io stubs. #1811

merged 3 commits into from
Jan 5, 2018

Conversation

rchen152
Copy link
Collaborator

@rchen152 rchen152 commented Jan 4, 2018

  1. The 'name' argument to FileIO.init can be either a string or an integer: https://docs.python.org/2/library/io.html#io.FileIO
  2. An mmap.mmap object can be used in most places that a bytearray can: https://docs.python.org/3.5/library/mmap.html

@matthiaskramm matthiaskramm merged commit f6b60cb into python:master Jan 5, 2018
@rchen152 rchen152 deleted the fileio branch January 5, 2018 00:24
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.

2 participants