Hi Mark,

Thanks for all your help on this topic so far.

On Fri, 18 Oct 2024 at 05:38, Mark Sapiro <m...@msapiro.net> wrote:

[...]

> (I agree removing messages from an archive is far from optimal, but I'm
> > not doing this for myself :D )
> >
> > It would be a minor thing if I hadn't told people this is the way to
> > find out the number of messages in a list, and also to find the most
> > recent post to a list.
>
> What happens if you search for * and sort earliest first. Does it find
> deleted messages and are there errors?


That's the strange, but also the good part.  With my current version of the
script that refreshes the Email.objects.filter() array on every iteration,
doing this goes well as well.  The top message becomes the next one that
should not have been deleted, as expected.

The only thing that is not correct is the message count on the "search for
*" result, after I delete a bunch from the beginning.

With the first version of my script, that runs into errors, the web page
gives the server error.
I don't intend to ever use that version any more.

Thanks!

Marco van Tol
RIPE NCC
_______________________________________________
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9

Reply via email to