Re: Bug#747494: python3-biopython: Does not use C implementations of cpairwise2 functions

2014-05-10 Thread Andreas Tille
Hi Jamie, On Sat, May 10, 2014 at 09:22:29AM +1200, Jamie Norrish wrote: > > > > 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

Re: Bug#747494: python3-biopython: Does not use C implementations of cpairwise2 functions

2014-05-09 Thread Jamie Norrish
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 t

Re: Bug#747494: python3-biopython: Does not use C implementations of cpairwise2 functions

2014-05-09 Thread Jakub Wilk
* Andreas Tille , 2014-05-09, 13:15: thanks for your bug report. I think this should work out of the box but I personally not comfortable with cpython to know how this could be fixed. I keep the Debian Python list in CC - perhaps they might have some helpful advise. The relvant code in Bio/

Re: Bug#747494: python3-biopython: Does not use C implementations of cpairwise2 functions

2014-05-09 Thread Piotr Ożarowski
[Andreas Tille, 2014-05-09] > > >>> from cpairwise2 import rint > > Traceback (most recent call last): > > File "", line 1, in > > ImportError: No module named 'cpairwise2' > > > > But some (presumably relevant; I know nothing about how Python > > interfaces with C code) files are installed: >

Re: Bug#747494: python3-biopython: Does not use C implementations of cpairwise2 functions

2014-05-09 Thread Andreas Tille
Hi Jamie, thanks for your bug report. I think this should work out of the box but I personally not comfortable with cpython to know how this could be fixed. I keep the Debian Python list in CC - perhaps they might have some helpful advise. It seems this module is not affected by the test suite