Nagy László Zsolt wrote: > If anyone is interested, a module was born: > > https://bitbucket.org/nagylzs/intervalset > https://pypi.python.org/pypi/intervalset/0.1.1 > > I have some unit tests, but testers and comments are welcome.
Why do you limit the intervals to datetime? Are there any assumptions in your code that would make it fail with int values? Personally I would use & | instead of * + -- Python is not Pascal ;) -- https://mail.python.org/mailman/listinfo/python-list