[Web-SIG] wsgi.errors and close method
arw1961 at yahoo.com
Tue Mar 30 16:05:47 CEST 2010
> It is all very silly. Technically a file like object is not
> to have a 'closed' attribute, so that code expecting it was
> wrong in
> the first place.
> All you can really do is supply as many of the methods,
> attributes as
> possible, all required and as many as optional as makes
> sense, because
> you can't trust people to read the documentation properly.
I don't think it's silly. This is why static typing
is useful. I'm involved in migrating a large amount
of java code to a new base right now and I have to say
that it's pretty nice to know that if it compiles it
will most likely work.
playing devil's advocate
-- Aaron Watters
% ping elvis
elvis is alive
More information about the Web-SIG