Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.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: OK 0.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'lines,': 0.05; 'extent': 0.07; 'pypi': 0.07; 'cc:addr:python-list': 0.09; 'subject:library': 0.09; 'subject:module': 0.09; 'subject:using': 0.09; 'python': 0.10; 'translate': 0.15; 'barrier': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'quoted': 0.16; 'wording': 0.16; 'wrote:': 0.16; 'string': 0.17; 'stefan': 0.18; 'platforms': 0.18; 'versions': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; '31,': 0.22; 'bit': 0.23; 'seems': 0.23; 'installation': 0.23; 'header:In-Reply-To:1': 0.24; 'testing': 0.25; '(which': 0.26; 'fri,': 0.27; 'right.': 0.27; 'message-id:@mail.gmail.com': 0.27; 'builds.': 0.29; 'code': 0.30; "i'd": 0.31; 'subject:) ': 0.32; 'getting': 0.33; 'received:google.com': 0.35; 'but': 0.36; 'too': 0.36; 'should': 0.36; 'lines': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'expect': 0.37; 'seem': 0.37; 'late': 0.38; 'wrong': 0.38; 'does': 0.39; 'subject:the': 0.39; 'subject:-': 0.39; 'where': 0.40; 'some': 0.40; 'save': 0.60; 'your': 0.60; 'default': 0.61; 'more': 0.63; 'different': 0.63; 'minutes': 0.64; 'biggest': 0.67; 'jul': 0.72; 'chrisa': 0.84; 'pip': 0.84; 'to:none': 0.91; '1500': 0.91; 'hundred': 0.96 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:cc :content-type; bh=2Xffii1tU7+mOxLDSj1N5SJYkPrXDaKMZUyBrZBXEeQ=; b=AGxSJ0ul99MIHldRDlHaO+GVbCEi2iTXlYVxPjGQaJvu0c60pPR4S5m/oLTOs+1lOI k17eIbrZcTPijy6PUrER08ovzy3BesVleqYeaeP+Z6erQnaWCbTaQPlBkRTFj2C5EDar 9OLBt8lKGhwU1qEldgy/WlPCCR8uL6XytkYklNkVUWJuB7qCAxSz9/ZSvWVWMRsXh26Y JzbfNmgKH7KWcPCKdYHS7tNQ/7FL6BngMhumuNpIfLLxiQVFDZNgEA3DugdgAgVglaxs HAFyZiOkBqkl3+T4+5gTvoTQy/+4ppxOMpqeLd7c7kYBOzBDla06ekDSle5GCeFWbvYI VU1w== MIME-Version: 1.0 X-Received: by 10.50.124.97 with SMTP id mh1mr2901282igb.92.1438328240229; Fri, 31 Jul 2015 00:37:20 -0700 (PDT) In-Reply-To: References: <3015c193-3a3f-468a-b998-94f77066febe@googlegroups.com> Date: Fri, 31 Jul 2015 17:37:20 +1000 Subject: Re: New module (written in C) for using the high-precision QD library From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1438328242 news.xs4all.nl 2915 [2001:888:2000:d::a6]:55383 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:94803 On Fri, Jul 31, 2015 at 5:26 PM, Stefan Behnel wrote: > Your C code seems to be only about 1500 lines, not too late to translate > it. That should save you a couple of hundred lines and at the same time > make it work with Python 3 (which it currently doesn't, from what I see). I was just looking over the README (literally two minutes ago, your message came in as I was wording up a reply), and Python 3 support does seem to be a bit of a hole in the support. To what extent does Cython make this easier? The biggest barrier I would expect to see is the bytes/text distinction, where a default quoted string has different meaning in the two versions - but like with performance guessing, this is much more likely to be wrong than right. Another, but much smaller, hole in the support would be installation via pip. I'd recommend getting the package listed on PyPI and then testing some pip installations on different platforms - chances are that's going to be the best way to do the builds. All the best! ChrisA