Damien George
|
e5863d9301
|
py: AssertionError is loaded from global, to match CPython.
|
2014-01-12 12:35:08 +00:00 |
|
Damien George
|
c0876f7ca8
|
Merge pull request #146 from pfalcon/assert-exc
Add AssertionError.
|
2014-01-12 04:26:54 -08:00 |
|
Mark Schafer
|
89cbded000
|
logo missing fill added
|
2014-01-12 23:24:04 +13:00 |
|
Paul Sokolovsky
|
729e9cce7b
|
rt_binary_op(): Don't fall thru in case small_int op result doesn't fit back.
Currently it would report "operation not supported" which is confusing. Overall,
this is thinko leading to undefined behavior.
|
2014-01-12 03:33:01 +02:00 |
|
Paul Sokolovsky
|
c698d266d1
|
list: Add extend() methods and += operator.
|
2014-01-12 00:54:10 +02:00 |
|
Paul Sokolovsky
|
b81e1fdef7
|
Add AssertionError.
|
2014-01-12 00:20:49 +02:00 |
|
Damien George
|
eae16445d5
|
py: Implement staticmethod and classmethod (internally).
Still need to make built-ins by these names, and write tests.
|
2014-01-11 19:22:29 +00:00 |
|
Damien George
|
bcbeea0a47
|
py: Fix bug where == and != not handled for small_ints.
|
2014-01-11 10:47:22 +00:00 |
|
Damien George
|
cf11c961b4
|
stm: Disable usart calls from C.
Fixes Issue #132.
|
2014-01-11 10:01:22 +00:00 |
|
Damien George
|
bc1d36924d
|
py: Fix emitcpy and emitnative's binary_op.
|
2014-01-11 09:47:06 +00:00 |
|
Damien George
|
8d4ccc49ed
|
Merge branch 'master' of github.com:dpgeorge/micropython
|
2014-01-11 09:37:41 +00:00 |
|
Damien George
|
683466e55f
|
Merge pull request #138 from chipaca/unify_bops
Merge RT_COMPARE_OPs with RT_BINARY_OPs.
|
2014-01-11 01:41:11 -08:00 |
|
Damien George
|
25042b19d2
|
py: Make arg to MP_BC_RAISE_VARARGS a byte.
|
2014-01-11 09:33:39 +00:00 |
|
John R. Lenton
|
b8698fca75
|
unified the bops
|
2014-01-11 00:58:59 +00:00 |
|
Damien George
|
ad97f2a49e
|
Merge pull request #136 from pfalcon/for-range-downto
compile_for_stmt_optimised_range(): Properly handle negative & unknown s...
|
2014-01-10 15:21:50 -08:00 |
|
Damien George
|
e9b4b7ac75
|
Merge pull request #135 from pfalcon/simple-raise
Crude attempt to implement RAISE_VARARGS (with args=1 so far only).
|
2014-01-10 15:20:08 -08:00 |
|
Damien George
|
46c9e97132
|
Merge pull request #134 from pfalcon/list-mul
list: Implement list multiplication.
|
2014-01-10 15:17:17 -08:00 |
|
Damien George
|
745ce4c2ad
|
Merge pull request #131 from chipaca/dict_fromkeys
Added dict.fromkeys.
|
2014-01-10 15:11:56 -08:00 |
|
Paul Sokolovsky
|
899c69f94c
|
compile_for_stmt_optimised_range(): Properly handle negative & unknown steps.
If step is not constant, in first approximation, we can't apply optimization,
(well, we could, but need a special case for this).
|
2014-01-11 01:00:21 +02:00 |
|
Paul Sokolovsky
|
5388a3c29a
|
Crude attempt to implement RAISE_VARARGS (with args=1 so far only).
|
2014-01-11 00:55:08 +02:00 |
|
Paul Sokolovsky
|
074d3b5f86
|
list: Implement list multiplication.
|
2014-01-11 00:49:19 +02:00 |
|
Paul Sokolovsky
|
bab5cfb34f
|
Unsupported operand types for binary operator: dump both args' types.
|
2014-01-11 00:14:48 +02:00 |
|
Paul Sokolovsky
|
d6f27fe317
|
mp_obj_equal(): Print which types' equality not implemented before assert().
|
2014-01-11 00:14:33 +02:00 |
|
Paul Sokolovsky
|
e06edce786
|
mp_repl_is_compound_stmt(): Thinko fix s/true/try/.
|
2014-01-11 00:12:06 +02:00 |
|
Paul Sokolovsky
|
4b919d0135
|
Dump few more bytecodes (based on attempt to run real-world code).
|
2014-01-11 00:10:49 +02:00 |
|