[Cython] bint and autodoc signatures
Nikita Nemkin
nikita at nemkin.ru
Sun Apr 14 11:33:14 CEST 2013
Hi,
Arguments, return values and properties of type 'bint'
appear as 'int' in autogenerated signatures.
This is very confusing for the end user and logically wrong.
(For one thing, bint and int handle input arguments differently:
bint accepts pretty much any Python object, while int requries
something numeric.)
Would it be acceptable to change bint display presentation
to 'bool' ?
Note: other primitive types (short, int, float, long long etc)
don't have this problem, because they are all numeric
and coerce to/from Python numerics in an obvious way.
Best regards,
Nikita Nemkin
More information about the cython-devel
mailing list