
29 Feb
2020
29 Feb
'20
7:36 a.m.
Which actual use cases have you had?
How much better would it have been than doing it manually?
It seems like most of this would be very easy to implement yourself with the exact semantics that you prefer and find most intuitive, while other people might have different expectations. Why should this be part of Python?
Have you looked at libraries like https://github.com/chaimleib/intervaltree ?