row that would be returned; this is about 20% faster than calling the method in Python instead using the idiom [method(*r) for r in cursor].
NATIVE_FLOAT to allow specification of a variable of that specific type where desired. Thanks to D.R. Boxhoorn for pointing out the fact that this was not working properly when the arraysize was anything other than 1.