Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: UNSURE 0.307 X-Spam-Level: *** X-Spam-Evidence: '*H*': 0.41; '*S*': 0.03; 'header:In-Reply-To:1': 0.24; 'subject:list': 0.26; 'message-id:@mail.gmail.com': 0.27; 'actual': 0.28; 'other,': 0.29; 'useful': 0.33; 'problem': 0.33; 'received:google.com': 0.35; 'but': 0.36; 'there': 0.36; 'to:addr :python-list': 0.36; 'subject:: ': 0.37; 'doing': 0.38; 'to:addr:python.org': 0.40; 'your': 0.60; 'is.': 0.63; 'more': 0.63; 'feeling': 0.72; 'to:name:python': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=XdsqPlFvOx2dlABdN5UUsXajiQHDyPDuzUhclToKNsg=; b=lIsZu/rd0hjRWD/u8+OLDpAM4q6tgCh+gNaHwLYEmdQMwBdA+NP0q3CRxV3uCs8nyw Ipehnp0TqoiIVcad08kWA7h2Ylp50txm+Re77jDfzVfY77e/OgizPB7cn+MM8FUn9lK7 FjumDmg7PBIygMtsC9Di8wAVzgZmCmMmexhwQ2V6XcE9ZpHGXAff8WPDxv+hN8/4kToe u+T5EfXxnFk8uaHd/7IuN8doNc0y+x7qpVJnrEvzx7rZD01q97o29x63+Ax0O5iolRAU hw9A+8uEvcG6V4fvtMBVS0AyjCHmzLu0gFfMGZvjaiP0InWmnvNQMF7YQTHn04qhPbPA HFhA== MIME-Version: 1.0 X-Received: by 10.107.155.12 with SMTP id d12mr19043969ioe.131.1438549114498; Sun, 02 Aug 2015 13:58:34 -0700 (PDT) In-Reply-To: References: Date: Sun, 2 Aug 2015 23:58:34 +0300 Subject: Re: Most pythonic way of rotating a circular list to a canonical point From: Joonas Liik To: Python Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Mon, 03 Aug 2015 12:36:28 +0200 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 5 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1438598189 news.xs4all.nl 2895 [2001:888:2000:d::a6]:47819 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:94928 I have this feeling that you would get a lot more useful anwsers if you were to describe your actual problem in stead of what you think the solution is. There might be other, better solutions but since we know so little about what you are doing we will likely never find them by just guessing..