jkn wrote:

> This 'invalid mode: a' error message seems weird to me. Is this a bug
> or am I missimg something?

It depends on the underlying implementation of fopen(), which, on some 
platforms, doesn't set the right error code for bad mode strings. 
Python uses some simple heuristics to try to get around this (earlier 
versions could give "error: no error" for this case), but they're not 
always able to do the right thing.

</F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to