micropython/py
Damien George 3c8aecf62c Merge pull request #431 from pfalcon/unbreak-map-remove
map: When removing a key, don't NULL the entry, but mark as deleted.
2014-04-05 12:09:09 +01:00
..
asmthumb.c py: Clean up includes. 2014-03-17 02:43:40 -07:00
asmthumb.h Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
asmx64.c Replace global "static" -> "STATIC", to allow "analysis builds". Part 2. 2014-02-12 18:31:30 +02:00
asmx64.h Revert MP_BOOL, etc. and use <stdbool.h> instead 2014-01-06 13:51:53 -08:00
bc.h py: Implement support for generalized generator protocol. 2014-03-30 23:30:16 +03:00
bc0.h py: Add LOAD_NULL bytecode and use it to simplify function calls. 2014-03-31 11:59:23 +01:00
binary.c py: Clean up includes. 2014-03-17 02:43:40 -07:00
binary.h ffi: Implement ffivar.get()/set() methods. 2014-02-14 20:38:35 +02:00
builtin.c py: Remove mp_obj_less (use mp_binary_op(MP_BINARY_OP_LESS..) instead). 2014-04-04 15:07:17 +01:00
builtin.h py: Put default namespace into module __main__. 2014-04-05 12:29:15 +03:00
builtinevex.c Merge map.h into obj.h. 2014-03-30 13:54:02 +01:00
builtinimport.c Merge map.h into obj.h. 2014-03-30 13:54:02 +01:00
builtintables.c py: Put default namespace into module __main__. 2014-04-05 12:29:15 +03:00
builtintables.h Proper support for registering builtin modules in ROM. 2014-03-25 14:18:18 +00:00
compile.c py: Enable optimisation of multiplying 2 small ints in compiler. 2014-04-04 11:21:58 +00:00
compile.h Add source file name and line number to error messages. 2014-01-18 23:24:36 +00:00
emit.h py: Move to Python 3.4.0 compatibility. 2014-04-02 15:56:31 +01:00
emitbc.c py: Move to Python 3.4.0 compatibility. 2014-04-02 15:56:31 +01:00
emitcommon.c py: Clean up includes. 2014-03-17 02:43:40 -07:00
emitcpy.c py: Move to Python 3.4.0 compatibility. 2014-04-02 15:56:31 +01:00
emitglue.c py: Towards default keyword arguments. 2014-03-31 15:18:37 +01:00
emitglue.h py: Free unique_code slot for outer module. 2014-03-29 11:39:36 +00:00
emitinlinethumb.c py: Factor out code from runtime.c to emitglue.c. 2014-03-27 23:26:35 +00:00
emitnative.c py: Move to Python 3.4.0 compatibility. 2014-04-02 15:56:31 +01:00
emitpass1.c py: Move to Python 3.4.0 compatibility. 2014-04-02 15:56:31 +01:00
formatfloat.c Enhance str.format support 2014-04-01 01:17:33 -07:00
formatfloat.h Rename formatfloat file; remove MICROPY_ENABLE_FLOAT from mpconfigport.h. 2014-03-10 13:27:02 +00:00
gc.c gc: Uses uint defined in misc.h. 2014-04-02 20:36:32 +03:00
gc.h GC: Fix printf formats for debugging; add gc_dump_alloc_table. 2014-02-26 22:55:59 +00:00
grammar.h Clean up handling of function return type annotation. 2014-02-10 02:04:26 +02:00
lexer.c py: Clean up includes. 2014-03-17 02:43:40 -07:00
lexer.h Search paths properly on import and execute __init__.py if it exists. 2014-02-05 23:57:48 +00:00
lexerstr.c py: Clean up includes. 2014-03-17 02:43:40 -07:00
lexerunix.c py: Clean up includes. 2014-03-17 02:43:40 -07:00
lexerunix.h Move lexerstr to main py directory (everyone uses it). 2014-01-08 15:28:26 +00:00
makeqstrdata.py py: Replace naive and teribble hash function with djb2. 2014-03-25 15:27:15 +00:00
malloc.c py: Add m_malloc_fail function to handle memory allocation error. 2014-04-04 10:52:59 +00:00
map.c map: When removing a key, don't NULL the entry, but mark as deleted. 2014-04-05 05:11:12 +03:00
misc.h py: Add m_malloc_fail function to handle memory allocation error. 2014-04-04 10:52:59 +00:00
mkenv.mk Rework makefiles. Add proper dependency checking. 2014-01-24 08:46:48 -08:00
mkrules.mk stmhal - add pin mapping, gpio, exti, usrsw 2014-03-14 23:41:28 -07:00
modarray.c Merge map.h into obj.h. 2014-03-30 13:54:02 +01:00
modcollections.c Merge map.h into obj.h. 2014-03-30 13:54:02 +01:00
modio.c py: Add "io" module. 2014-04-03 22:08:57 +03:00
modmath.c py: Fix math.{ceil,floor,trunc} to return int. 2014-04-01 21:21:50 +01:00
modmicropython.c Merge map.h into obj.h. 2014-03-30 13:54:02 +01:00
mpconfig.h py: Add "io" module. 2014-04-03 22:08:57 +03:00
mpz.c py: Handle small int power overflow correctly. 2014-04-04 00:16:32 +01:00
mpz.h py: More robust int conversion and overflow checking. 2014-04-03 11:00:54 +00:00
nlr.h Changes to get unix/ port compiling on Cygwin. 2014-04-03 23:51:16 +01:00
nlrthumb.S nlrthumb.S: Comment out ".cpu cortex-m4", it causes problems on Cortex-A. 2014-03-01 10:05:53 +02:00
nlrx64.S Changes to get unix/ port compiling on Cygwin. 2014-04-03 23:51:16 +01:00
nlrx86.S Fixed problems with nlx86.S on Linux 2014-01-28 19:52:04 +01:00
obj.c py: Allow types to be hashable. 2014-04-05 12:51:58 +03:00
obj.h map: Add mp_map_dump() (#ifdef'ed) to be handy when debugging maps. 2014-04-05 05:10:02 +03:00
objarray.c py: Fix "TypeError: 'iterator' object is not iterable", doh. 2014-03-30 23:37:24 +03:00
objarray.h Add objarray.h . 2014-01-19 01:40:47 +02:00
objbool.c py: Make False and True act like 0 and 1 for integer arithmetic. 2014-04-04 15:08:23 +01:00
objboundmeth.c Rename rt_* to mp_*. 2014-03-30 13:35:08 +01:00
objcell.c py: Clean up includes. 2014-03-17 02:43:40 -07:00
objclosure.c Rename rt_* to mp_*. 2014-03-30 13:35:08 +01:00
objcomplex.c Merge map.h into obj.h. 2014-03-30 13:54:02 +01:00
objdict.c py: Allow dict constructor to take keyword arguments. 2014-04-04 15:08:00 +01:00
objenumerate.c Rename rt_* to mp_*. 2014-03-30 13:35:08 +01:00
objexcept.c py: Add m_malloc_fail function to handle memory allocation error. 2014-04-04 10:52:59 +00:00
objfilter.c Rename rt_* to mp_*. 2014-03-30 13:35:08 +01:00
objfloat.c py: Implement floating point power binop. 2014-04-02 12:26:49 +01:00
objfun.c objfun: Add equality support. 2014-04-05 13:53:39 +03:00
objgenerator.c objgenerator.throw(GeneratorExit) is not equivalent to .close(). 2014-03-31 17:22:37 +03:00
objgenerator.h py: Swap around the double return value of mp_obj_gen_resume. 2014-03-26 19:33:23 +00:00
objgetitemiter.c py: Fix "TypeError: 'iterator' object is not iterable", doh. 2014-03-30 23:37:24 +03:00
objint.c py: Make False and True act like 0 and 1 for integer arithmetic. 2014-04-04 15:08:23 +01:00
objint.h py: Make False and True act like 0 and 1 for integer arithmetic. 2014-04-04 15:08:23 +01:00
objint_longlong.c py: Make False and True act like 0 and 1 for integer arithmetic. 2014-04-04 15:08:23 +01:00
objint_mpz.c py: Make False and True act like 0 and 1 for integer arithmetic. 2014-04-04 15:08:23 +01:00
objlist.c py: More robust int conversion and overflow checking. 2014-04-03 11:00:54 +00:00
objmap.c Rename rt_* to mp_*. 2014-03-30 13:35:08 +01:00
objmodule.c Merge map.h into obj.h. 2014-03-30 13:54:02 +01:00
objmodule.h Proper support for registering builtin modules in ROM. 2014-03-25 14:18:18 +00:00
objnamedtuple.c py: Change mp_const_* objects to macros. 2014-03-29 13:15:08 +00:00
objnone.c Rename rt_* to mp_*. 2014-03-30 13:35:08 +01:00
objobject.c py: Add 'object' object. 2014-03-22 21:31:28 +00:00
objrange.c py: Fix "TypeError: 'iterator' object is not iterable", doh. 2014-03-30 23:37:24 +03:00
objset.c py: Fix "TypeError: 'iterator' object is not iterable", doh. 2014-03-30 23:37:24 +03:00
objslice.c py: Rename old const type objects to mp_type_* for consistency. 2014-03-29 13:43:38 +00:00
objstr.c Implements most of str.modulo 2014-04-03 23:55:02 -07:00
objtuple.c py: Fix "TypeError: 'iterator' object is not iterable", doh. 2014-03-30 23:37:24 +03:00
objtuple.h namedtuple: Inherit unary/binary ops from tuple base class. 2014-03-03 11:42:53 +08:00
objtype.c objtype: Add equality test for type types. 2014-04-05 13:10:56 +03:00
objzip.c objzip: Use mp_identity(). 2014-03-30 23:30:15 +03:00
parse.c py: Clean up includes. 2014-03-17 02:43:40 -07:00
parse.h py: Put number parsing code together in parsenum.c. 2014-02-22 18:12:43 +00:00
parsehelper.c Implement proper exception type hierarchy. 2014-02-15 16:10:44 +00:00
parsehelper.h Implement proper exception type hierarchy. 2014-02-15 16:10:44 +00:00
parsenum.c py: Put back proper ValueError for badly parsed integers. 2014-03-21 20:46:38 +00:00
parsenum.h py: Allow 'complex()' to take a string as first argument. 2014-03-21 11:45:46 +00:00
parsenumbase.c py: Implement bit-shift and not operations for mpz. 2014-03-01 19:50:50 +00:00
parsenumbase.h py: Implement bit-shift and not operations for mpz. 2014-03-01 19:50:50 +00:00
pfenv.c py: Make pfenv.c conform to code conventions. 2014-04-01 21:15:03 +01:00
pfenv.h Enhance str.format support 2014-04-01 01:17:33 -07:00
py-version.sh Add the git version to the banner 2014-04-03 16:55:15 -07:00
py.mk Merge pull request #421 from dhylands/git-version 2014-04-04 16:09:29 +01:00
qstr.c py: Replace naive and teribble hash function with djb2. 2014-03-25 15:27:15 +00:00
qstr.h Add qstr_info() function and bindings for unix port. 2014-01-29 18:56:46 +00:00
qstrdefs.h py: Add "io" module. 2014-04-03 22:08:57 +03:00
repl.c mp_repl_is_compound_stmt(): Thinko fix s/true/try/. 2014-01-11 00:12:06 +02:00
repl.h Merge remote-tracking branch 'upstream/master' into dict_feats 2014-01-07 23:06:46 +00:00
runtime.c py: Put default namespace into module __main__. 2014-04-05 12:29:15 +03:00
runtime.h py: Implement __getattr__. 2014-03-31 22:57:56 +01:00
runtime0.h Rename rt_* to mp_*. 2014-03-30 13:35:08 +01:00
scope.c py: Clean up includes. 2014-03-17 02:43:40 -07:00
scope.h py: Calculate maximum exception stack size in compiler. 2014-03-27 10:55:21 +00:00
sequence.c Merge map.h into obj.h. 2014-03-30 13:54:02 +01:00
showbc.c py: Add LOAD_NULL bytecode and use it to simplify function calls. 2014-03-31 11:59:23 +01:00
smallint.c py: This time, real proper overflow checking of small int power. 2014-04-04 11:13:51 +00:00
smallint.h py: This time, real proper overflow checking of small int power. 2014-04-04 11:13:51 +00:00
stream.c py: Replace mp_const_stop_iteration object with MP_OBJ_NULL. 2014-03-26 19:27:58 +00:00
stream.h stream: Add generic unbuffered iternext method. 2014-01-20 18:42:08 +02:00
unicode.c Replace global "static" -> "STATIC", to allow "analysis builds". Part 2. 2014-02-12 18:31:30 +02:00
vm.c py: Add m_malloc_fail function to handle memory allocation error. 2014-04-04 10:52:59 +00:00
vstr.c py: Fix vstr_init for case that alloc = 0. 2014-03-31 17:10:59 +01:00