Andrew Collette wrote:
> I'm a having a weird problem with module docstrings using Cython
> 0.9.8.1.1.  It seems that if a module contains any comments before the
> docstring, it is simply ignored (module.__doc__ is None).  The docstring
> doesn't even appear in the .c file.  FWIW, neither Pyrex nor Python
> exhibits this behavior.

Thanks for the report. Just guessing, but this might have gone lost due to
the comment-based compiler parametrisation (file encoding, compiler
options, ...).

We already special case future imports using a "first statement" hint.
That might be a way to fix this.

Stefan

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to