The pysam .pxd files are written for language_level 2 (Python 2 semantics), but
the cython language_level is not explicitly set in the .pxd files. This is a
problem if a developer wishes to write a script in language_level 3 that
cimports the pysam .pxd files, because then the .pxd files will be read with
language_level set to 3, and will fail with a compilation error. .pxd files
distributed as part of a library should always have the language_level
explicitly set. See:
https://mail.python.org/pipermail/cython-devel/2012-May/002429.html
Original issue reported on code.google.com by benwbo...@gmail.com on 6 Jan 2015 at 6:10
Original issue reported on code.google.com by
benwbo...@gmail.com
on 6 Jan 2015 at 6:10