Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
dc02c69c
Commit
dc02c69c
authored
Nov 12, 2020
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a doc note about #1701 [skip ci]
parent
18365b99
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
src/gevent/subprocess.py
src/gevent/subprocess.py
+11
-0
No files found.
src/gevent/subprocess.py
View file @
dc02c69c
...
...
@@ -557,6 +557,17 @@ class Popen(object):
.. seealso:: :class:`subprocess.Popen`
This class should have the same interface as the standard library class.
.. caution::
On Python 2, the ``read`` method of the ``stdout`` and ``stderr`` attributes
will not be buffered unless buffering is explicitly requested (e.g., `bufsize=-1`).
This is different than the ``read`` method of the standard library attributes,
which will buffer internally even if no buffering has been requested. This
matches the Python 3 behaviour. For portability, please explicitly request
buffering if you want ``read(n)`` to return all ``n`` bytes, making more than
one system call if needed. See `issue 1701 <https://github.com/gevent/gevent/issues/1701>`_
for more context.
.. versionchanged:: 1.2a1
Instances can now be used as context managers under Python 2.7. Previously
this was restricted to Python 3.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment