Message206272
| Author |
Thayne.McCombs |
| Recipients |
Thayne.McCombs, docs@python |
| Date |
2013年12月16日.01:52:40 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1387158760.79.0.499761911724.issue19992@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The subprocess documentation for stdout/stderr/stdin states:
"Valid values are PIPE, an existing file descriptor (a positive integer), an existing file object, and None. PIPE indicates that a new pipe to the child should be created."
However, file-like objects such as StringIO are not valid if they do not implement fileno(). The documentation should be more explicit that the file object should be backed by an actual file descriptor (and therefore has a fileno() function). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年12月16日 01:52:40 | Thayne.McCombs | set | recipients:
+ Thayne.McCombs, docs@python |
| 2013年12月16日 01:52:40 | Thayne.McCombs | set | messageid: <1387158760.79.0.499761911724.issue19992@psf.upfronthosting.co.za> |
| 2013年12月16日 01:52:40 | Thayne.McCombs | link | issue19992 messages |
| 2013年12月16日 01:52:40 | Thayne.McCombs | create |
|