[issue25341] File mode wb+ appears as rb+
Serhiy Storchaka
report at bugs.python.org
Sat Apr 23 03:08:56 EDT 2016
Serhiy Storchaka added the comment:
> But this behaviour treating wb+ and rb+ as the same is well tested and
seems to intended to do so.
I think this is not intended behavior. Tests just test that the current behavior is not changed accidentally. If I'm right, the patch LGTM. But since third-party code can depend on this behavior, I would fix it only in 3.6.
Tests were added in issue4362 and Barry asked the same question about "w+" (msg76134).
Barry, Benjamin, what are you think about this now?
----------
nosy: +barry, serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25341>
_______________________________________
More information about the Python-bugs-list
mailing list