PyArg_Parse DeprecationWarning

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top