Merge remote-tracking branch 'origin/bugfix/9267_msvc_compiler_warnings'

* origin/bugfix/9267_msvc_compiler_warnings:
  Re #9267. Another place where we need to get the type right.
  Re #9267. Attempt to clear warning by matching type.
  Re #9267. Remove unused exception variables.
Merge remote-tracking branch 'origin/feature/9239_AsciiPointBase_Coverity_Fix'
Fix memory leak in python fit functions.

The result returned from the function1D/functionLocal call needs to have
its reference count decremented as the returned array is a new numpy
array.
Refs #9265
Merge branch 'bugfix/9265_python_function_memleak' into develop