[Mailman-Users] Sequence numbers

Barry A. Warsaw bwarsaw at cnri.reston.va.us
Thu Jan 7 00:44:22 CET 1999


>>>>> "KM" == Ken Manheimer <klm at cnri.reston.va.us> writes:

    KM> In fact, a new attribute isn't needed - maillists already
    KM> maintain a data member, 'post_id', that's incremented with
    KM> every posting to a list.

Thanks Ken, I'd forgotten about that!
    
    KM> Note that since it's a float, to allow
    KM> for large numbers, you'll probably want to use something like:

    KM> 	str(long(self.post_id))[:-1]

    KM> to allow for as large floats as there could be, and pull off
    KM> the 'L' at the end of the string representation.

Wow!  That's gotta be one popular list!  And I thought I had a problem
with 1000 messages in my Inbox.  :-)

-Barry




More information about the Mailman-Users mailing list