micropython/py
Damien George a12a0f78b0 py: Rename pfenv_print_int to pfenv_print_mp_int, and add back former.
stmhal relies on pfenv_* to implement its printf.  Thus, it needs a
pfenv_print_int which prints a proper 32-bit integer.  With latest
change to pfenv, this function became one that took mp_obj_t, and
extracted the integer value from that object.

To fix temporarily, pfenv_print_int has been renamed to
pfenv_print_mp_int (to indicate it takes a mp_obj_t for the int), and
pfenv_print_int has been added (which takes a normal C int).  Currently,
pfenv_print_int proxies to pfenv_print_mp_int, but this means it looses
the MSB.  Need to find a way to fix this, but the only way I can think
of will duplicate lots of code.
2014-04-08 01:29:53 +01:00
..
asmthumb.c
asmthumb.h
asmx64.c
asmx64.h
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
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 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
emitcpy.c py: Move to Python 3.4.0 compatibility. 2014-04-02 15:56:31 +01:00
emitglue.c py: Implement more features in native emitter. 2014-04-06 12:58:40 +01:00
emitglue.h py: Free unique_code slot for outer module. 2014-03-29 11:39:36 +00:00
emitinlinethumb.c
emitnative.c py: Implement more features in native emitter. 2014-04-06 12:58:40 +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
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: Revert revert for allocation policy of set hash table. 2014-04-07 01:16:17 +01:00
misc.h Improve GC finalisation code; add option to disable it. 2014-04-05 20:35:48 +01:00
mkenv.mk Replace some Makefile commands with variables in py/mkenv.mk 2014-04-07 01:35:45 +01:00
mkrules.mk Replace some Makefile commands with variables in py/mkenv.mk 2014-04-07 01:35:45 +01:00
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 Add string formatting support for longlong and mpz. 2014-04-07 11:38:45 -07:00
mpz.h Add string formatting support for longlong and mpz. 2014-04-07 11:38:45 -07:00
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 Changes to get unix/ port compiling on Cygwin. 2014-04-03 23:51:16 +01:00
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 Rename rt_* to mp_*. 2014-03-30 13:35:08 +01:00
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 Rename rt_* to mp_*. 2014-03-30 13:35:08 +01:00
objcomplex.c py: Change nlr_jump to nlr_raise, to aid in debugging. 2014-04-05 18:32:08 +01:00
objdict.c objdict: Implement equality operator. 2014-04-06 21:31:42 +03:00
objenumerate.c Rename rt_* to mp_*. 2014-03-30 13:35:08 +01:00
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 Fix truncation problem when using longlong implementation. 2014-04-07 13:47:04 -07:00
objint.h Add string formatting support for longlong and mpz. 2014-04-07 11:38:45 -07:00
objint_longlong.c Add string formatting support for longlong and mpz. 2014-04-07 11:38:45 -07:00
objint_mpz.c Add string formatting support for longlong and mpz. 2014-04-07 11:38:45 -07: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 Rename rt_* to mp_*. 2014-03-30 13:35:08 +01:00
objobject.c py: Make all objects and instances derive from object. 2014-04-05 22:45:23 +01:00
objrange.c py: Fix "TypeError: 'iterator' object is not iterable", doh. 2014-03-30 23:37:24 +03:00
objset.c objset: Fix incorrect workaround against mp_set_init() munging alloc size. 2014-04-07 03:08:46 +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 py: Rename pfenv_print_int to pfenv_print_mp_int, and add back former. 2014-04-08 01:29:53 +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 objzip: Use mp_identity(). 2014-03-30 23:30:15 +03:00
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 py: Rename pfenv_print_int to pfenv_print_mp_int, and add back former. 2014-04-08 01:29:53 +01:00
pfenv.h py: Rename pfenv_print_int to pfenv_print_mp_int, and add back former. 2014-04-08 01:29:53 +01:00
py-version.sh Add the git version to the banner 2014-04-03 16:55:15 -07:00
py.mk Replace some Makefile commands with variables in py/mkenv.mk 2014-04-07 01:35:45 +01:00
qstr.c
qstr.h
qstrdefs.h Merge branch 'master' of github.com:micropython/micropython 2014-04-05 23:04:22 +01:00
repl.c py: Detect unmatched tripple quote in repl helper. 2014-04-07 13:01:30 +01:00
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 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 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 py: Fix vstr_init for case that alloc = 0. 2014-03-31 17:10:59 +01:00