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 izbyshev
Recipients direprobs, izbyshev
Date 2017-12-07.00:13:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Yes, clarifying buffering for text mode in open() would be nice.

@direprobs: just in case you didn't know, you can achieve what you want with something like the following in pre-3.7:

with open("/dev/null", "wb", buffering=10) as outb, \
        io.TextIOWrapper(outb, write_through=True) as out:
    out.write("x" * 20)

Sadly, write_through can't be passed to open(), but it can be changed on existing TextIOWrapper since 3.7 (via new reconfigure() method).
Date User Action Args
2017-12-07 00:13:20izbyshevsetrecipients: + izbyshev, direprobs
2017-12-07 00:13:20izbyshevsetmessageid: <>
2017-12-07 00:13:20izbyshevlinkissue30718 messages
2017-12-07 00:13:20izbyshevcreate