glasgow-ipl / ietfdata

Python libraries to access the IETF DataTracker and RFC Index
BSD 2-Clause "Simplified" License
18 stars 13 forks source link

mailarchive2 type hints #133

Closed lumisota closed 12 months ago

csperkins commented 12 months ago

The threads() implementation is too simplistic – it'll generate duplicate threads, and will miss the initial message in threads that start in a different list and migrate.

lumisota commented 12 months ago

Good point -- would deduping on message-ID be enough to prevent duplicate threads? And for the threads migrating, the check should be for parents messages that aren't in this mailing list?

csperkins commented 12 months ago

Walk back to the parent of the thread and de-duplicate, I think – yeah