[Chicago] What to do about File Like Object methods I don't need...

Steven Githens swgithen at mtu.edu
Sun Dec 21 19:56:50 CET 2008


Carl Karsten wrote: 
>> - or stub them in and just 'pass'
> I will hunt you down and make you fix my apps.
>
> If I write bad code, I want it to blow up close to where the badness 
> is.  not 1000's of bytes later which causes me to burn time looking 
> somewhere else for the error, expanding the scope of my search until I 
> finely hit the "call/pass" that should have blown up.
>
Here's another one:

flush(      )
    Flush the internal buffer, like stdio's fflush(). This may be a 
no-op on some file-like objects.


I'm assuming that would translate to a flush(self): pass    rather than 
just no implementation right?

-s



More information about the Chicago mailing list