ANN: intervalset Was: Set type for datetime intervals

Peter Otten __peter__ at web.de
Mon Apr 4 06:41:49 EDT 2016


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 ;)




More information about the Python-list mailing list