http://bugzilla.spamassassin.org/show_bug.cgi?id=3438
------- Additional Comments From [EMAIL PROTECTED] 2004-06-02 17:04 ------- ok, so now I'm kind of confused too. M::SA::learn() is what people should be calling. a PML object is returned so that people can do more if they want to, but I'm not really sure what the point is to that. does anyone actively use PML? the only thing I found was PMS and sa-learn calls did_learn(), which could easily be turned into a return value from M::SA::learn -- then we could get rid of PML. alternately, the idea is that like PMS, PML lets people generate the object using a static API, and then they can do stuff with it if they want to or just call finish. as such, they should call M::SA::learn() with only the message as a parameter (per the docs) and then they can call learn_spam, learn_ham, etc. in short, it depends what you're trying to do, but M::SA::learn() is the way to go always. thoughts? Since all the PML stuff is doable via M::SA::learn() and the options that are passed, I'd rather just get rid of PML and simplify the whole thing, but I'm thinking I'm missing something which makes keeping it around a good idea. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
