[issue2091] file accepts 'rU+' as a mode

Serhiy Storchaka report at bugs.python.org
Thu Jul 23 17:21:06 CEST 2015


Serhiy Storchaka added the comment:

I would add a warning in 3.4- (or 3.5-). The 'U' mode should not work
with '+', and it can't work with '+' correctly. This is a bug that we can decide not fix by raising an exception.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2091>
_______________________________________


More information about the Python-bugs-list mailing list