[Mailman-Developers] Unclear usage of `member = ISubscriptionManager(mlist).register(…)`

2022-02-25 Thread Stephen J. Turnbull
I hope I'm not underestimating your understanding. If so, no offense intended. I don't think Mark's answer entirely addressed your question, so here goes. Дилян Палаузов writes: > I am trying to understand the source code. My reading is, that > interfaces/subscriptions.py:class ISubscription

[Mailman-Developers] Re: Unclear usage of `member = ISubscriptionManager(mlist).register(…)`

2022-02-25 Thread Mark Sapiro
On 2/25/22 12:16, Дилян Палаузов wrote: Hello, I am trying to understand the source code. My reading is, that interfaces/subscriptions.py:class ISubscriptionManager.register always returns a 3-tuple and the last element of the tuple is a member object, or None. This coincides with the impleme

[Mailman-Developers] Unclear usage of `member = ISubscriptionManager(mlist).register(…)`

2022-02-25 Thread Дилян Палаузов
Hello, I am trying to understand the source code. My reading is, that interfaces/subscriptions.py:class ISubscriptionManager.register always returns a 3-tuple and the last element of the tuple is a member object, or None. This coincides with the implementation in app/subscriptions.py.Subscripti