From: David G. <go...@py...> - 2004-02-18 16:44:52
|
Sylvain Thénault wrote: > MyReporter is actually an adapter to another reporting class. ... Sounds like making the Reporter object/class into parameters is the way to go. I'll add it to the to-do list (patches welcome of course!). > Note I only want to check the syntax, I don't want to actually > transform the file. Is there any convenience method doing so ? We could add a "disable_transforms" setting. You could make a dummy Writer subclass that does nothing when its .write() method is called. > If you've another way to do so using a more "public" api, please > tell me. The main API is insufficient for your needs at present. I have no problem with it growing parameters though. -- David Goodger http://python.net/~goodger For hire: http://python.net/~goodger/cv |