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


Groups > comp.lang.python > #94803

Re: New module (written in C) for using the high-precision QD library

References <3015c193-3a3f-468a-b998-94f77066febe@googlegroups.com> <mpf7vk$rs0$1@ger.gmane.org>
Date 2015-07-31 17:37 +1000
Subject Re: New module (written in C) for using the high-precision QD library
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1109.1438328242.3674.python-list@python.org> (permalink)

Show all headers | View raw


On Fri, Jul 31, 2015 at 5:26 PM, Stefan Behnel <stefan_ml@behnel.de> 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

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


Thread

New module (written in C) for using the high-precision QD library baruchel@gmail.com - 2015-07-30 13:09 -0700
  Re: New module (written in C) for using the high-precision QD library Stefan Behnel <stefan_ml@behnel.de> - 2015-07-31 09:26 +0200
    Re: New module (written in C) for using the high-precision QD library baruchel@gmail.com - 2015-08-01 03:07 -0700
  Re: New module (written in C) for using the high-precision QD library Chris Angelico <rosuav@gmail.com> - 2015-07-31 17:37 +1000
  Re: New module (written in C) for using the high-precision QD library Stefan Behnel <stefan_ml@behnel.de> - 2015-07-31 10:40 +0200

csiph-web