py: Add mpz modulo operation.
py: Add math.e constant.
py: Allow hashing of functions and tuples.
py: Fix int-longlong binary operations.
Added various simple functions to math module.
Added various simple functions to math module.
Merge pull request #353 from rjdowdall/master

Some math functions
stmhal: Add accelerometer driver; fix bug with LFN.
Merge branch 'master' of github.com:micropython/micropython
Rename test so that it doesn't clash with Python math module.
Implement str.partition and add tests for it.
Implement str.rpartition and add tests for it.
str.(r)partition: factor out duplicate code.

Switch str.rpartition to search from left to right. Factor the
duplicate code into one helper function.
py: Implement parsing of infinity and nan for floats.
py: Allow 'complex()' to take a string as first argument.
py: Improve mp_parse_num_integer; make it self contained.
Merge pull request #351 from xbe/str-partition

Implement str.partition and add tests for it.
py: Make str.[r]partition more efficient.
py: Put back proper ValueError for badly parsed integers.
Disable some math functions until they work correctly.