Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #106430

Re: ANN: intervalset Was: Set type for datetime intervals

From Peter Otten <__peter__@web.de>
Newsgroups comp.lang.python
Subject Re: ANN: intervalset Was: Set type for datetime intervals
Date 2016-04-04 12:41 +0200
Organization None
Message-ID <mailman.8.1459766529.32530.python-list@python.org> (permalink)
References <56FE0625.5030901@shopzeus.com> <1459523394.2611014.565840994.593DD99A@webmail.messagingengine.com> <570213CB.8040101@shopzeus.com> <ndtgde$f30$1@ger.gmane.org>

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: ANN: intervalset Was: Set type for datetime intervals Peter Otten <__peter__@web.de> - 2016-04-04 12:41 +0200

csiph-web