[issue35950] io.BufferedReader.writabe is False, but io.BufferedReader.truncate does not raise OSError

2020-02-21 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue35950] io.BufferedReader.writabe is False, but io.BufferedReader.truncate does not raise OSError

2020-02-21 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 -Python 3.7 ___ Python tracker ___ ___

[issue35950] io.BufferedReader.writabe is False, but io.BufferedReader.truncate does not raise OSError

2020-02-21 Thread miss-islington
miss-islington added the comment: New changeset fd5116c0e77aec05f67fb24f10562ac920648035 by Berker Peksag in branch 'master': bpo-35950: Raise UnsupportedOperation in BufferedReader.truncate() (GH-18586) https://github.com/python/cpython/commit/fd5116c0e77aec05f67fb24f10562ac920648035 -

[issue35950] io.BufferedReader.writabe is False, but io.BufferedReader.truncate does not raise OSError

2020-02-20 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +17956 pull_request: https://github.com/python/cpython/pull/18586 ___ Python tracker ___ ___

[issue35950] io.BufferedReader.writabe is False, but io.BufferedReader.truncate does not raise OSError

2019-05-30 Thread Berker Peksag
Change by Berker Peksag : -- keywords: +patch pull_requests: +13577 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13689 ___ Python tracker ___ __

[issue35950] io.BufferedReader.writabe is False, but io.BufferedReader.truncate does not raise OSError

2019-02-09 Thread Steve Palmer
Change by Steve Palmer : -- nosy: +martin.panter ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue35950] io.BufferedReader.writabe is False, but io.BufferedReader.truncate does not raise OSError

2019-02-09 Thread Steve Palmer
New submission from Steve Palmer : An io.BUfferedReader object has an (inherited) writable method that returns False. io.IOBase states in the description of the writable method that "If False, write() and truncate() will raise OSError." However, if the BufferedReader object is constructed fr