Unfortunately this fix will not make it to the next release.
Originally posted by jplauril
According to http://tinyurl.com/bvczc we need to install an exception handler to handle attempting arithmetic with NaN's:
Here is a workaround with "CSPyInterpreter" which you can use for the time being:
1) Embed the interpreter in your native C++ application;
2) Install an exception handler to your native application (in the thread where you create the "CSPyInterpreter" instance).
Check these threads:
Adding the exception handler, see this link:
So, these lines will be needed:
and adding it:
static void handler(TExcType /*aType*/)
// do nothing
Will result in 6600:
Python 2.2.2 (#0, Jun 28 2005, 14:26:52)
[GCC 2.9-psion-98r2 (Symbian build 546)] on symbian_s60
Type "copyright", "credits" or "license" for more information.
Type "commands" to see the commands available in this simple line editor.
>>> import math
>>> lat = 0.0
>>> lon = 0.0