A
Andrew Wilkinson
Hi,
The PyArg_Parse functions issue a DeprecationWarning if a float is passed
where an integer is expected. In the future Python will issue a TypeError,
but I was wondering if it is possible to force Python to issue a TypeError
in this case already?
It make life a bit simpler if I could get Python to do all the type checking
for me rather than checking if I had floats or ints myself.
Regards,
Andrew Wilkinson
The PyArg_Parse functions issue a DeprecationWarning if a float is passed
where an integer is expected. In the future Python will issue a TypeError,
but I was wondering if it is possible to force Python to issue a TypeError
in this case already?
It make life a bit simpler if I could get Python to do all the type checking
for me rather than checking if I had floats or ints myself.
Regards,
Andrew Wilkinson