Message97674
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:56 | ivank | set | recipients:
+ ivank |
2010-01-13 00:28:56 | ivank | set | messageid: <1263342536.73.0.0502696558207.issue7686@psf.upfronthosting.co.za> |
2010-01-13 00:28:55 | ivank | link | issue7686 messages |
2010-01-13 00:28:54 | ivank | create | |
|