micropython/py
Paul Sokolovsky 5fedd0c3b7 py: Fix dict.copy() and low-level map/set allocation.
Two things: 1) set flags in copy properly; make mp_map_init() not be too
smart and do something with requested alloc size. Policy of using prime
numbers for alloc size is high-level policy which should be applied at
corresponding high levels. Low-level functions should just do what they're
asked to, because they don't have enough context to be smarter than that.
For example, munging with alloc size of course breaks dict copying (as
changing sizes requires rehashing).
2014-04-06 21:31:42 +03:00
..
asmthumb.c
asmthumb.h
asmx64.c
asmx64.h
bc.h
bc0.h
binary.c
binary.h
builtin.c py: Revert mp_load_attr() to its previous state (not supporting default val). 2014-04-06 02:15:23 +03:00
builtin.h py: Implement globals() and locals() builtins. 2014-04-06 01:01:36 +03:00
builtinevex.c py: Add option to compiler to specify default code emitter. 2014-04-06 11:48:15 +01:00
builtinimport.c py: Add option to compiler to specify default code emitter. 2014-04-06 11:48:15 +01:00
builtintables.c py: Implement globals() and locals() builtins. 2014-04-06 01:01:36 +03:00
builtintables.h py: Make globals and locals proper dictionary objects. 2014-04-05 22:36:42 +01:00
compile.c py: Implement more features in native emitter. 2014-04-06 12:58:40 +01:00
compile.h py: Add option to compiler to specify default code emitter. 2014-04-06 11:48:15 +01:00
emit.h
emitbc.c
emitcommon.c
emitcpy.c
emitglue.c py: Implement more features in native emitter. 2014-04-06 12:58:40 +01:00
emitglue.h
emitinlinethumb.c
emitnative.c py: Implement more features in native emitter. 2014-04-06 12:58:40 +01:00
emitpass1.c
formatfloat.c
formatfloat.h
gc.c Improve GC finalisation code; add option to disable it. 2014-04-05 20:35:48 +01:00
gc.h Improve GC finalisation code; add option to disable it. 2014-04-05 20:35:48 +01:00
grammar.h
lexer.c
lexer.h
lexerstr.c
lexerunix.c
lexerunix.h
makeqstrdata.py
malloc.c Improve GC finalisation code; add option to disable it. 2014-04-05 20:35:48 +01:00
map.c py: Fix dict.copy() and low-level map/set allocation. 2014-04-06 21:31:42 +03:00
misc.h Improve GC finalisation code; add option to disable it. 2014-04-05 20:35:48 +01:00
mkenv.mk
mkrules.mk
modarray.c py: Change module globals from mp_map_t* to mp_obj_dict_t*. 2014-04-05 21:53:54 +01:00
modcollections.c py: Change module globals from mp_map_t* to mp_obj_dict_t*. 2014-04-05 21:53:54 +01:00
modio.c py: Change module globals from mp_map_t* to mp_obj_dict_t*. 2014-04-05 21:53:54 +01:00
modmath.c py: Change module globals from mp_map_t* to mp_obj_dict_t*. 2014-04-05 21:53:54 +01:00
modmicropython.c py: Change module globals from mp_map_t* to mp_obj_dict_t*. 2014-04-05 21:53:54 +01:00
mpconfig.h Improve GC finalisation code; add option to disable it. 2014-04-05 20:35:48 +01:00
mpz.c
mpz.h
nlr.h py: Change nlr_jump to nlr_raise, to aid in debugging. 2014-04-05 18:32:08 +01:00
nlrthumb.S
nlrx64.S
nlrx86.S
obj.c py: Change nlr_jump to nlr_raise, to aid in debugging. 2014-04-05 18:32:08 +01:00
obj.h py: Replace stream_p with *stream_p in mp_obj_type_t. 2014-04-05 23:02:23 +01:00
objarray.c py: Change nlr_jump to nlr_raise, to aid in debugging. 2014-04-05 18:32:08 +01:00
objarray.h
objbool.c py: Change nlr_jump to nlr_raise, to aid in debugging. 2014-04-05 18:32:08 +01:00
objboundmeth.c
objcell.c py: Change module globals from mp_map_t* to mp_obj_dict_t*. 2014-04-05 21:53:54 +01:00
objclosure.c
objcomplex.c py: Change nlr_jump to nlr_raise, to aid in debugging. 2014-04-05 18:32:08 +01:00
objdict.c py: Fix dict.copy() and low-level map/set allocation. 2014-04-06 21:31:42 +03:00
objenumerate.c
objexcept.c py: Change nlr_jump to nlr_raise, to aid in debugging. 2014-04-05 18:32:08 +01:00
objfilter.c py: Change nlr_jump to nlr_raise, to aid in debugging. 2014-04-05 18:32:08 +01:00
objfloat.c py: Fix float printing on stmhal. 2014-04-05 20:51:29 +01:00
objfun.c py: Make globals and locals proper dictionary objects. 2014-04-05 22:36:42 +01:00
objgenerator.c py: Change nlr_jump to nlr_raise, to aid in debugging. 2014-04-05 18:32:08 +01:00
objgenerator.h
objgetitemiter.c py: Change nlr_jump to nlr_raise, to aid in debugging. 2014-04-05 18:32:08 +01:00
objint.c py: Change nlr_jump to nlr_raise, to aid in debugging. 2014-04-05 18:32:08 +01:00
objint.h
objint_longlong.c py: Change nlr_jump to nlr_raise, to aid in debugging. 2014-04-05 18:32:08 +01:00
objint_mpz.c py: Change nlr_jump to nlr_raise, to aid in debugging. 2014-04-05 18:32:08 +01:00
objlist.c py: Change nlr_jump to nlr_raise, to aid in debugging. 2014-04-05 18:32:08 +01:00
objmap.c py: Change nlr_jump to nlr_raise, to aid in debugging. 2014-04-05 18:32:08 +01:00
objmodule.c py: Make globals and locals proper dictionary objects. 2014-04-05 22:36:42 +01:00
objmodule.h
objnamedtuple.c py: Change nlr_jump to nlr_raise, to aid in debugging. 2014-04-05 18:32:08 +01:00
objnone.c
objobject.c py: Make all objects and instances derive from object. 2014-04-05 22:45:23 +01:00
objrange.c
objset.c py: Change module globals from mp_map_t* to mp_obj_dict_t*. 2014-04-05 21:53:54 +01:00
objslice.c
objstr.c py: str.split: handle non-default separator. 2014-04-06 11:11:15 +01:00
objtuple.c py: Change nlr_jump to nlr_raise, to aid in debugging. 2014-04-05 18:32:08 +01:00
objtuple.h
objtype.c py: Make all objects and instances derive from object. 2014-04-05 22:45:23 +01:00
objzip.c
parse.c
parse.h
parsehelper.c
parsehelper.h
parsenum.c py: Change nlr_jump to nlr_raise, to aid in debugging. 2014-04-05 18:32:08 +01:00
parsenum.h
parsenumbase.c
parsenumbase.h
pfenv.c
pfenv.h
py-version.sh
py.mk
qstr.c
qstr.h
qstrdefs.h Merge branch 'master' of github.com:micropython/micropython 2014-04-05 23:04:22 +01:00
repl.c
repl.h
runtime.c py: Implement more features in native emitter. 2014-04-06 12:58:40 +01:00
runtime.h py: Implement more features in native emitter. 2014-04-06 12:58:40 +01:00
runtime0.h py: Implement more features in native emitter. 2014-04-06 12:58:40 +01:00
scope.c
scope.h
sequence.c py: Change nlr_jump to nlr_raise, to aid in debugging. 2014-04-05 18:32:08 +01:00
showbc.c
smallint.c
smallint.h
stream.c py: Replace stream_p with *stream_p in mp_obj_type_t. 2014-04-05 23:02:23 +01:00
stream.h
unicode.c
vm.c py: Implement more features in native emitter. 2014-04-06 12:58:40 +01:00
vstr.c