[Mailman-Developers] Re: Creating an event catching plugin

2022-03-11 Thread Abhilash Raj
> On Mar 11, 2022, at 00:16, Дилян Палаузов wrote: > > Hello, > > On Thu, 2022-03-10 at 11:26 -0800, Abhilash Raj wrote: >> >> >>> On Mar 8, 2022, at 12:45, Дилян Палаузов >>> wrote: >>> >>> Hello, >>> >>> the object passed was actually an unsubscription/subscription >>> event, >>> which

[Mailman-Developers] Re: Creating an event catching plugin

2022-03-11 Thread Дилян Палаузов
Hello, On Thu, 2022-03-10 at 11:26 -0800, Abhilash Raj wrote: > > > > On Mar 8, 2022, at 12:45, Дилян Палаузов > > wrote: > > > > Hello, > > > > the object passed was actually an unsubscription/subscription > > event, > > which was just pretty-printed. > > > > Is there any explanation, why i

[Mailman-Developers] Re: Creating an event catching plugin

2022-03-10 Thread Abhilash Raj
> On Mar 8, 2022, at 12:45, Дилян Палаузов wrote: > > Hello, > > the object passed was actually an unsubscription/subscription event, > which was just pretty-printed. > > Is there any explanation, why in the code below YYY is not printed? > > when I add > >def pre_hook(self): >p

[Mailman-Developers] Re: Creating an event catching plugin

2022-03-08 Thread Дилян Палаузов
Hello, the object passed was actually an unsubscription/subscription event, which was just pretty-printed. Is there any explanation, why in the code below YYY is not printed? when I add def pre_hook(self): print('pre_HOOK') pre_HOOK is also not printed, but __init__ is called, as