New submission from Antoine Pitrou pit...@free.fr:
Opening an existing file in read-only text mode and trying to write to it:
f = open(LICENSE)
f.write()
Traceback (most recent call last):
File stdin, line 1, in module
SystemError: null argument to internal routine
Binary files get it
DSM dsm...@users.sourceforge.net added the comment:
See also http://bugs.python.org/issue5844 , which contains a patch to test.
--
nosy: +dsm001
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5860
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5860
___