... > It is all very silly. Technically a file like object is not > required > 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 _______________________________________________ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com