b4efac14cd
py: Make sure getattr() works with non-interned strings (by interning them).
Paul Sokolovsky
2014-06-08 01:13:35 +03:00
d31a093f9c
Merge branch 'master' of github.com:micropython/micropython
Damien George
2014-06-07 22:02:35 +01:00
5473f743f3
objtype: Enable __lt__ method support for instances.
Paul Sokolovsky
2014-06-08 00:01:46 +03:00
f0778a7ccb
py: Implement default keyword only args.
Damien George
2014-06-07 22:01:00 +01:00
b9b9354e6c
modsys: Add optional support for sys.platform.
Paul Sokolovsky
2014-06-07 23:40:04 +03:00
7e4a2b0edc
py: Add generic mp_not_implemented() func to use instead of assert().
Paul Sokolovsky
2014-06-07 23:22:41 +03:00
aabd83ea20
py: Merge mp_execute_bytecode into fun_bc_call.
Damien George
2014-06-07 14:16:08 +01:00
82ed3d62f6
py, mk: Revert change where build variables set with ?=.
Damien George
2014-06-07 13:14:45 +01:00
a9b5248e18
Merge pull request #672 from marcusva/makefile
Damien George
2014-06-07 13:03:29 +01:00
dc931934b3
Merge pull request #674 from marcusva/fbsd-patches
Damien George
2014-06-07 13:00:35 +01:00
585a3394df
- Cast the struct stat sb.st_ino field to machine_int_t explicitly to avoid a cast error in MP_OBJ_NEW_SMALL_INT(). This is necessary for FreeBSD, where st_ino is of different size - If MP_CLOCKS_PER_SEC is defined on the target host, simply define CLOCK_DIV as a fraction, regardless of the value of MP_CLOCKS_PER_SEC. FreeBSD uses a non-POSIX compliant value of 128 for CLOCKS_PER_SEC
Marcus von Appen
2014-06-07 09:50:18 +02:00
0c90eb1658
- FreeBSD provides alloca() via stdlib.h, in contrast to Linux and Windows - Move the includes for alloca() intp mpconfigport.h
Marcus von Appen
2014-06-07 09:36:04 +02:00
8ffc02495f
- Let the build environment decide about the toolchain to be used, in case there are special tweaks and paths to be considered. Just provide some defaults, in case the values are undefined. - py-version.sh does not need any bash specific features. - Use libdl only on Linux for now. FreeBSD provides dl*() calls from libc.
Marcus von Appen
2014-06-07 09:16:42 +02:00
c61be8e1e1
Merge pull request #662 from stinos/windows-pathsep
Damien George
2014-06-07 00:05:59 +01:00
180751fbf3
Merge pull request #670 from Rosuav/stringhash
Paul Sokolovsky
2014-06-07 00:10:10 +03:00
de09caaa37
Bring the C and Python compute_hash functions into consistency
Chris Angelico
2014-06-07 06:55:27 +10:00
d72bc2713a
objint: Fix corner case in buffer access.
Paul Sokolovsky
2014-06-06 23:08:37 +03:00
b56a53dfd6
Merge pull request #667 from Rosuav/testfixes
Paul Sokolovsky
2014-06-06 22:23:23 +03:00
8c75bd26e2
Merge pull request #668 from dhylands/print-prec
Paul Sokolovsky
2014-06-06 22:12:42 +03:00
b69f9fa31f
Fix str.modulo when precision is specified.
Dave Hylands
2014-06-05 23:09:02 -07:00
380f147d2e
modgc: Real 64-bit cleanness.
Paul Sokolovsky
2014-06-06 03:01:39 +03:00
a3ef8087e8
modgc: 64-bit cleanness.
Paul Sokolovsky
2014-06-06 02:34:17 +03:00
047db2299c
Turn the Travis CI test skipping mechanism into something more generic
Chris Angelico
2014-06-06 07:45:55 +10:00
88b11b50e5
Figure out the test_name before using it (significant only to Travis skips)
Chris Angelico
2014-06-06 07:41:30 +10:00