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


Groups > comp.lang.python > #106433

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

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Nagy László Zsolt <gandalf@shopzeus.com>
Newsgroups comp.lang.python
Subject Re: ANN: intervalset Was: Set type for datetime intervals
Date Mon, 4 Apr 2016 13:25:38 +0200
Lines 5
Message-ID <mailman.11.1459769137.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> <57024F32.5080404@shopzeus.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de ShZCpDVNUX9s8WMNqaCxdg6y5jmyxWeFy4TbEhiBtnQA==
Return-Path <gandalf@shopzeus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.033
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'subject:ANN': 0.07; 'immutable': 0.09; ':-)': 0.12; 'assumptions': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:Was': 0.16; 'subject:type': 0.16; 'header:In-Reply-To:1': 0.24; 'code': 0.30; 'int': 0.33; 'ordered': 0.33; 'fail': 0.35; 'there': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'why': 0.39; 'to:addr:python.org': 0.40; 'your': 0.60; 'limit': 0.65; 'subject:Set': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=shopzeus.com; s=shopzeus_com; t=1459769134; bh=Av/F8IUbrylibW4BjznX2V7ZL1F0J0xZQKpc/RjhhFo=; h=Subject:To:References:From:Date:In-Reply-To:From; b=l+LVO/dqkWAWEmkfKdsrY7jP0SrZfBRnvAz+uUN+0nY8uUzZewKkMlXtAGSBRs4CX zt77l4dYYkr8NfpUuggMdLrEn2//G9+uneOvh3lzB623sScQVOO9FgZDvFqTmIDJNk 7BVKloygy0tXMadZ1piWHwLSSOdW84Oc3x65meAL/qsKkOi25pCy9x+srtKicYJ/Fk oWmpA5cN45BKZ7eofb+2/MV//uxeJXrKczKjk47xpyDIkEPDiMOWLLt2LK3KzKU9S8 9Tq4TlGgWWi/iKH9p8KR+mB4I48oftQn0lafHsVIXD0XBAA/IQ0dffWOn65FqGcCUp TctSPn98fRe8w==
In-Reply-To <ndtgde$f30$1@ger.gmane.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <57024F32.5080404@shopzeus.com>
X-Mailman-Original-References <56FE0625.5030901@shopzeus.com> <1459523394.2611014.565840994.593DD99A@webmail.messagingengine.com> <570213CB.8040101@shopzeus.com> <ndtgde$f30$1@ger.gmane.org>
Xref csiph.com comp.lang.python:106433

Show key headers only | View raw


> Why do you limit the intervals to datetime? Are there any assumptions in 
> your code that would make it fail with int values?
It has been generalized. Now it can be used with any immutable ordered
type. :-)

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


Thread

Re: ANN: intervalset Was: Set type for datetime intervals Nagy László Zsolt <gandalf@shopzeus.com> - 2016-04-04 13:25 +0200

csiph-web