Copy all function attributes (like __doc__, __code__, __name__, etc) from original function to JIT functions
Set __code__ as well.
Tests for function __name__ and __module__ settings.
Python 2.6 and later has __code__.
Make expected failures more precise, by restricting the set of allowed exceptions
Fix test failures (typos exposed by the previous commit)
Merge pull request #508 from seibert/issue470

Copy all function attributes (__doc__, __code__, __name__, etc) from original to JIT function
Merge pull request #534 from pitrou/better_expected_failures

Better expected failures (#534)
Merge branch 'master' of github.com:numba/numba into c_helpers_dict