Author ivank
Recipients ivank
Date 2010-01-13.00:28:54
SpamBayes Score 2.09567e-05
Marked as misclassified No
Message-id <>
This probably only applies to Windows. The redundant 'b' modes still work on Linux.

These worked on Windows in 2.6.4:

open('test', 'rbb')
open('test', 'wbb')
open('test', 'abb')

and possibly others.

In 2.7a2, they throw ValueErrors like this:

>>> open('test', 'wbb')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: Invalid mode ('wbb')

It would be nice if the old behavior were preserved for backwards compatibility. Some programs append a 'b' indiscriminately.
Date User Action Args
2010-01-13 00:28:56ivanksetrecipients: + ivank
2010-01-13 00:28:56ivanksetmessageid: <>
2010-01-13 00:28:55ivanklinkissue7686 messages
2010-01-13 00:28:54ivankcreate