[New-bugs-announce] [issue16625] Exception on mode 'br'

Sworddragon report at bugs.python.org
Thu Dec 6 07:43:23 CET 2012

New submission from Sworddragon:

The mode 'br' on open() can cause an exception with the following message: "ValueError: mode string must begin with one of 'r', 'w', 'a' or 'U', not 'br'". Curriously most times the mode 'br' is working fine and I'm not able to create a simple test case where it fails. Only in one of my scripts it fails with an exception (in the attachments is an example).

components: Interpreter Core
files: error.log
messages: 177028
nosy: Sworddragon
priority: normal
severity: normal
status: open
title: Exception on mode 'br'
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file28220/error.log

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list