Damien George
978939156d
Merge pull request #519 from pfalcon/exc-no-ptr-to-field
...
objexcept: Don't store args tuple within exception object.
2014-04-24 11:14:18 +01:00
Damien George
1cbb99d1db
Merge pull request #518 from pfalcon/vm-trace
...
vm: Add rudimentary bytecode execution tracing capability.
2014-04-24 11:06:10 +01:00
Paul Sokolovsky
1c1d902cd3
Makefile: Allow to override "super optimization" options used for some files.
...
To help with debugging issue like #510 for example.
2014-04-24 02:59:43 +03:00
Paul Sokolovsky
6c94abe347
windows/README: Use CROSS_COMPILE instead of CC to cover other tools too.
...
Suggested by @lurch.
2014-04-23 20:45:53 +03:00
Paul Sokolovsky
1acf22f17b
objexcept: Don't store args tuple within exception object.
...
To avoid pointer-to-field GC problem.
2014-04-23 04:07:00 +03:00
Paul Sokolovsky
c5e32c6995
vm: Add rudimentary bytecode execution tracing capability.
2014-04-23 03:46:00 +03:00
Paul Sokolovsky
4c6b375960
showbc: MAKE_CLOSURE*: Update for new closed-over encoding.
2014-04-23 03:23:39 +03:00
Paul Sokolovsky
5e3e2d00ea
emitglue: Typo fix in var name.
2014-04-23 03:23:32 +03:00
Paul Sokolovsky
20e9ed3916
builtinimport: If there was error compiling imported module, raise exception.
2014-04-22 02:53:20 +03:00
Paul Sokolovsky
fa6f0506c1
unix: Workaround MP_OBJ_NEW_SMALL_INT() 64-bit issues.
2014-04-22 00:16:46 +03:00
Paul Sokolovsky
5d3a830171
modsocket: Clean up OSError-like exception a bit.
...
Some BSD socket functions don't return error numbers in errno namespace, but
rather in other error namespaces. CPython resolves this by using OSError
subclasses for them. We don't do that so far, so there's ambiguity here.
2014-04-22 00:02:51 +03:00
Paul Sokolovsky
acb13886fc
unix: OSError's args[0] should be errno numeric value.
...
Well, Python3 also defines an attribute for that, but that's bloat.
2014-04-22 00:02:51 +03:00
Paul Sokolovsky
dec31bb872
objexcept: Add mp_obj_new_exception_arg1() convenience function.
2014-04-22 00:02:51 +03:00
Paul Sokolovsky
b418b6fb0d
modffi: Don't use OSError for clearly unrelated errors.
2014-04-22 00:02:51 +03:00
Paul Sokolovsky
88972b0d94
modffi: Describe typecodes where they differ from used by struct module.
...
Exact behavior of typecodes may be not yet enforced.
2014-04-22 00:02:51 +03:00
Ilya Dmitrichenko
6820937892
travis: should test building qemu-arm as well.
2014-04-21 21:10:15 +01:00
Ilya Dmitrichenko
b554bc5691
qemu-arm: update makefile ( d553be5).
2014-04-21 21:08:15 +01:00
Ilya Dmitrichenko
2face99cfe
qemu-arm: more generic port name.
2014-04-21 21:04:04 +01:00
Ilya Dmitrichenko
ee857853d6
cortex-m3-qemu: refactor the port.
...
Switch from CodeSourcery to ARM GCC and clean-up some stale files,
also copy `main.c` and `mpconfigport.h` from bare-arm.
2014-04-21 21:04:04 +01:00
Ilya Dmitrichenko
5130b81eec
cortex-m3-qemu: a working port
2014-04-21 21:04:04 +01:00
Damien George
ca045d97b9
tools: Update pyboard.py to work with latest changes to RTC.
2014-04-21 20:18:37 +01:00
Damien George
5ea69859c9
stmhal: Update help text.
2014-04-21 20:18:22 +01:00
Damien George
350cb6bf20
stmhal: Fix bug with pin GPIO reading.
2014-04-21 20:18:06 +01:00
Damien George
ef255e47c1
stmhal, usrsw: Wrap usrsw.c in #if, for when switch is not available.
2014-04-21 18:31:40 +01:00
Damien George
b97c2f4c14
stmhal, accel: Add TODO comment.
2014-04-21 18:30:38 +01:00