[New-bugs-announce] [issue2091] file accepts 'rU+' as a mode

Brett Cannon report at bugs.python.org
Tue Feb 12 23:55:09 CET 2008

New submission from Brett Cannon:

The docs on file's constructor says that the 'U' mode should not work
with '+', and yet 'rU+' does not throw an error.

components: Interpreter Core
messages: 62343
nosy: brett.cannon
severity: normal
status: open
title: file accepts 'rU+' as a mode
type: behavior
versions: Python 2.5, Python 2.6

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list