quachtina96 / pysam

Automatically exported from code.google.com/p/pysam
0 stars 0 forks source link

language_level is not set in the .pxd files #154

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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