On Fri, 2014-05-09 at 13:32 +0200, Jakub Wilk wrote:

> But in Python 3 imports as always absolute, unless explicitly 
> requested, so the import fails, and this code snippet is no-op.
> Changing the import line to:
> 
>     from .cpairwise2 import rint, _make_score_matrix_fast
> 
> should do the trick.

Indeed. This was actually reported and fixed a couple of months ago
upstream[1]; I foolishly didn't check the closed bugs there before
submitting my report. Sorry for the noise. I'll make the import change
locally.

[1] https://github.com/biopython/biopython/pull/299

Jamie


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1399670549.6390.3.ca...@atman.artefact.org.nz

Reply via email to