-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
bpo-17909: Document that json.load can accept a binary IO #7366
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
Conversation
Doc/library/json.rst
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use just :term:`binary file`?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can go with that, was mostly matching the verbiage above (load after all only cares that the object has a .read() method)
ac1c262 to
dd11bbf
Compare
Doc/library/json.rst
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO the feature should also be documented in the body of the function documentation, not also in this versionchanged note.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed, added!
dd11bbf to
e976fea
Compare
|
@vstinner @serhiy-storchaka look good now? |
vstinner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
) (cherry picked from commit bb6366b) Co-authored-by: Anthony Sottile <[email protected]>
|
GH-7474 is a backport of this pull request to the 3.7 branch. |
|
GH-7475 is a backport of this pull request to the 3.6 branch. |
) (cherry picked from commit bb6366b) Co-authored-by: Anthony Sottile <[email protected]>
(cherry picked from commit bb6366b) Co-authored-by: Anthony Sottile <[email protected]>
(cherry picked from commit bb6366b) Co-authored-by: Anthony Sottile <[email protected]>
https://bugs.python.org/issue17909