This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2017-10-12.15:12:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507821146.3.0.213398074469.issue31775@psf.upfronthosting.co.za>
In-reply-to
Content
I created this issue because of this comment in create_stdio() of Python/pylifecycle.c:
---
    /* stdin is always opened in buffered mode, first because it shouldn't
       make a difference in common use cases, second because TextIOWrapper
       depends on the presence of a read1() method which only exists on
       buffered streams.
    */
    if (Py_UnbufferedStdioFlag && write_mode)
        buffering = 0;
    else
        buffering = -1;
---
History
Date User Action Args
2017-10-12 15:12:26vstinnersetrecipients: + vstinner
2017-10-12 15:12:26vstinnersetmessageid: <1507821146.3.0.213398074469.issue31775@psf.upfronthosting.co.za>
2017-10-12 15:12:26vstinnerlinkissue31775 messages
2017-10-12 15:12:26vstinnercreate