[issue3777] PyNumber_Long fails from Float
Amaury Forgeot d'Arc
report at bugs.python.org
Thu Sep 4 23:56:05 CEST 2008
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
Note to others: PySvn uses the PyCXX classes. The call in question is
something similar to
Py::Long( Py::Float( double( someValue ) ) )
Barry, what is the exact error message that you get?
What do you mean by "res does not contain the value that nb_long(o)
calculated" ?
And what is the exact content of the "o" variable at the time of the
failure? (you could look for example at o->ob_type->tp_name)
----------
nosy: +amaury.forgeotdarc
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3777>
_______________________________________
More information about the Python-bugs-list
mailing list