numba/numba — pull request #414 by laserson (2014-04-17 01:53:18+00:00)
Title: Distinguish between built-in and user-defined fns

When implementing functions from a module (e.g. `math` or `string`), the `key` for the `FunctionTemplate` is specified as the function. In the case of the `math` module, the functions are of type `types.BuiltinFunctionType` while in the case of the `string` module they are of type `types.FunctionType`. The way that `context.get_function(...)` handles these has to be different, or the implementation is not found.