Converts a num to a python int or double
Pointer<PyObject> get asPyNum { if (this is int) { return (this as int).asPyInt; } else { return (this as double).asPyFloat; } }