micropython/py
Damien George 2196799051 py/objstr: Use mp_raise_{Type,Value}Error instead of mp_raise_msg.
This patch does further refactoring using the new mp_raise_TypeError
and mp_raise_ValueError functions.
2016-08-14 16:51:54 +10:00
..
argcheck.c py/argcheck: Use size_t instead of mp_uint_t to count number of args. 2016-03-14 22:35:48 +00:00
asmarm.c
asmarm.h
asmthumb.c
asmthumb.h
asmx64.c
asmx64.h
asmx86.c
asmx86.h
bc.c py: Fix bug passing a string as a keyword arg in a dict. 2016-04-21 16:51:36 +01:00
bc.h
bc0.h
binary.c
binary.h
builtin.h py: Add basic _thread module, with ability to start a new thread. 2016-06-28 11:28:48 +01:00
builtinevex.c
builtinimport.c py/builtinimport: Disable "imported as namespace package" warning. 2016-07-02 14:45:49 +03:00
compile.c py: Declare constant data as properly constant. 2016-05-20 12:46:20 +01:00
compile.h
emit.h py: Combine continuous block of emit steps into with_cleanup emit call. 2016-04-07 08:50:38 +01:00
emitbc.c py: Combine continuous block of emit steps into with_cleanup emit call. 2016-04-07 08:50:38 +01:00
emitcommon.c
emitglue.c py/emitglue: Fix build on AArch64 (ARMv8, etc.) related to loading .mpy files. 2016-05-12 16:00:57 +03:00
emitglue.h py/emitglue: Make mp_raw_code_t* arguments constant pointers. 2016-04-13 16:05:43 +01:00
emitinlinethumb.c
emitnative.c py/emitnative: Use MP_OBJ_NEW_SMALL_INT instead of manual bit shifting. 2016-04-26 10:02:32 +01:00
formatfloat.c py/formatfloat: Fix further cases of buffer overflow in formatting. 2016-03-29 22:07:15 +01:00
formatfloat.h
frozenmod.c py: Allow to stat and import frozen mpy files using new frozen "VFS". 2016-05-23 12:42:23 +01:00
frozenmod.h py/{builtinimport,frozenmod}: Rework frozen modules support to support packages. 2016-05-21 21:38:50 +03:00
gc.c py/gc: Implement GC running by allocation threshold. 2016-07-21 00:37:30 +03:00
gc.h py/gc: Calculate (and report) maximum contiguous free block size. 2016-07-01 00:09:55 +03:00
grammar.h py: Simplify "and" action within parser by making ident-rules explicit. 2016-04-14 13:49:23 +01:00
lexer.c py: Declare constant data as properly constant. 2016-05-20 12:46:20 +01:00
lexer.h py: add async/await/async for/async with syntax 2016-04-13 15:26:38 +01:00
lexerstr.c
lexerunix.c
makeqstrdata.py py/makeqstrdata.py: Allow to have double-quote characters in qstrs. 2016-05-23 15:18:55 +01:00
makeqstrdefs.py py/makeqstrdefs.py: Remove restriction that source path can't be absolute. 2016-06-16 01:04:42 +03:00
makeversionhdr.py
malloc.c
map.c py: Declare constant data as properly constant. 2016-05-20 12:46:20 +01:00
misc.h
mkenv.mk py/mkenv.mk: Remove -s and -S args from PYTHON variable. 2016-04-21 22:25:35 +01:00
mkrules.mk py/mkrules.mk: Allow to add more items for "clean" target using CLEAN_EXTRA. 2016-08-04 23:46:08 +03:00
modarray.c
modbuiltins.c py: Get rid of assert() in method argument checking functions. 2016-08-12 22:39:03 +03:00
modcmath.c
modcollections.c py/modcollections: Rename module name have "u" prefix for consistency. 2016-05-02 13:57:46 +03:00
modgc.c py/gc: Implement GC running by allocation threshold. 2016-07-21 00:37:30 +03:00
modio.c all: Rename mp_obj_type_t::stream_p to protocol. 2016-06-18 18:44:57 +03:00
modmath.c py/objfloat, py/modmath: Ensure M_PI and M_E defined. 2016-05-12 13:28:45 +01:00
modmicropython.c py: Add MP_STATE_THREAD to hold state specific to a given thread. 2016-06-28 11:09:31 +01:00
modstruct.c py/modstruct: Allow to have "0s" in struct format. 2016-05-28 23:27:38 +01:00
modsys.c
modthread.c py/modthread: Allow to properly set the stack limit of a thread. 2016-06-28 11:28:51 +01:00
moduerrno.c py/moduerrno: Add ECONNREFUSED, one of frequent networking errors. 2016-05-28 00:17:19 +03:00
mpconfig.h py/mpconfig.h: Define MP_ALWAYSINLINE for reuse. 2016-08-07 22:36:05 +03:00
mperrno.h py/moduerrno: Add ECONNREFUSED, one of frequent networking errors. 2016-05-28 00:17:19 +03:00
mphal.h py/mphal.h: If virtpin API is used, automagically include its header. 2016-06-19 00:12:37 +03:00
mpprint.c
mpprint.h
mpstate.c
mpstate.h py/gc: Implement GC running by allocation threshold. 2016-07-21 00:37:30 +03:00
mpthread.h py/mpthread: Include mpstate.h when defining GIL macros. 2016-06-28 11:28:52 +01:00
mpz.c py/mpz: Fix mpn_div so that it doesn't modify memory of denominator. 2016-05-09 17:21:42 +01:00
mpz.h
nativeglue.c
nlr.h py/nlrsetjmp: Update to take into account new location of nlr_top. 2016-06-28 11:28:52 +01:00
nlrsetjmp.c py/nlrsetjmp: Update to take into account new location of nlr_top. 2016-06-28 11:28:52 +01:00
nlrthumb.c py: Fix nlrthumb.c when DEBUG=1 is defined 2016-07-21 00:54:21 +03:00
nlrx64.S py/nlrx64.S: Prefix mp_thread_get_state with an underscore on Mac. 2016-07-11 14:27:47 +01:00
nlrx86.S py: Add basic _thread module, with ability to start a new thread. 2016-06-28 11:28:48 +01:00
nlrxtensa.S
obj.c unix: Enable MICROPY_PY_STR_BYTES_CMP_WARN. 2016-07-22 00:52:07 +03:00
obj.h all: Rename mp_obj_type_t::stream_p to protocol. 2016-06-18 18:44:57 +03:00
objarray.c py/objarray: Split out header to allow direct access to object. 2016-07-06 18:19:27 +03:00
objarray.h py/objarray: Split out header to allow direct access to object. 2016-07-06 18:19:27 +03:00
objattrtuple.c
objbool.c
objboundmeth.c
objcell.c
objclosure.c py: Fix passing of some wide int types to printf varg format list. 2016-03-14 22:40:39 +00:00
objcomplex.c
objdict.c py/objdict: Get rid of asserts (remove/replace with mp_check_self()). 2016-08-12 22:01:11 +03:00
objenumerate.c
objexcept.c py/objexcept: Don't convert errno to str in constructor, do it in print. 2016-05-12 14:27:52 +01:00
objexcept.h
objfilter.c py: Get rid of assert() in method argument checking functions. 2016-08-12 22:39:03 +03:00
objfloat.c py/objfloat, py/modmath: Ensure M_PI and M_E defined. 2016-05-12 13:28:45 +01:00
objfun.c py/objfun: Allow inline-asm functions to be called with 4 arguments. 2016-03-16 08:22:26 +00:00
objfun.h
objgenerator.c py: Get rid of assert() in method argument checking functions. 2016-08-12 22:39:03 +03:00
objgenerator.h
objgetitemiter.c
objint.c
objint.h
objint_longlong.c
objint_mpz.c py/mpz: Do Python style division/modulo within bignum divmod routine. 2016-05-08 22:21:21 +01:00
objlist.c py: Get rid of assert() in method argument checking functions. 2016-08-12 22:39:03 +03:00
objlist.h
objmap.c py: Get rid of assert() in method argument checking functions. 2016-08-12 22:39:03 +03:00
objmodule.c py: Add basic _thread module, with ability to start a new thread. 2016-06-28 11:28:48 +01:00
objmodule.h
objnamedtuple.c py/objnamedtuple: Allow passing field names as a tuple. 2016-05-23 21:08:07 +01:00
objnone.c
objobject.c
objpolyiter.c
objproperty.c py: Get rid of assert() in method argument checking functions. 2016-08-12 22:39:03 +03:00
objrange.c
objreversed.c py: Get rid of assert() in method argument checking functions. 2016-08-12 22:39:03 +03:00
objset.c py: Get rid of assert() in method argument checking functions. 2016-08-12 22:39:03 +03:00
objsingleton.c
objslice.c
objstr.c py/objstr: Use mp_raise_{Type,Value}Error instead of mp_raise_msg. 2016-08-14 16:51:54 +10:00
objstr.h py/objstr: Implement str.center(). 2016-05-22 00:13:44 +03:00
objstringio.c py/objstringio: Implement MP_STREAM_SEEK ioctl and add seek() method. 2016-07-28 01:53:44 +03:00
objstrunicode.c py/objstr,objstrunicode: Fix inconistent #if indentation. 2016-08-07 15:24:57 +03:00
objtuple.c py/objtuple: In tuple_cmp_helper, use mp_check_self instead of raising. 2016-08-14 16:28:05 +10:00
objtuple.h
objtype.c py/objtype: Inherit protocol vtable from base class only if it exists. 2016-06-19 00:56:06 +03:00
objtype.h
objzip.c py: Get rid of assert() in method argument checking functions. 2016-08-12 22:39:03 +03:00
opmethods.c
parse.c py/parse: Treat constants that start with underscore as private. 2016-06-06 17:28:32 +01:00
parse.h
parsenum.c py/parsenum: Use pow function to apply exponent to decimal number. 2016-03-29 22:12:07 +01:00
parsenum.h
parsenumbase.c py/parsenum: Fix compiler warnings for no decl and signed comparison. 2016-03-14 22:52:52 +00:00
parsenumbase.h
py.mk py/py.mk: Extra switches to build "embedded" BerkeleyDB BTree lib. 2016-07-31 00:39:09 +03:00
qstr.c py: Don't use gc or qstr mutex when the GIL is enabled. 2016-06-28 11:28:50 +01:00
qstr.h py: Rename __QSTR_EXTRACT flag to NO_QSTR. 2016-06-16 01:42:48 +03:00
qstrdefs.h py: Add rules for automated extraction of qstrs from sources. 2016-04-16 13:18:09 +01:00
repl.c py: Declare constant data as properly constant. 2016-05-20 12:46:20 +01:00
repl.h
ringbuf.h py/ringbuf.h: Add reusable ring buffer class. 2016-03-30 14:48:31 +03:00
runtime.c py/runtime: Factor out exception raising helpers. 2016-08-12 21:28:45 +03:00
runtime.h py/runtime.h: Move comment about mp_not_implemented to correct place. 2016-08-14 16:35:10 +10:00
runtime0.h
runtime_utils.c py/runtime_utils: Fix nanbox build. 2016-04-25 20:03:14 +03:00
scope.c
scope.h
sequence.c
showbc.c
smallint.c
smallint.h
stackctrl.c py: Add MP_STATE_THREAD to hold state specific to a given thread. 2016-06-28 11:09:31 +01:00
stackctrl.h
stream.c py/mpconfig.h: Add MICROPY_STREAMS_POSIX_API setting. 2016-07-30 20:05:56 +03:00
stream.h py/mpconfig.h: Add MICROPY_STREAMS_POSIX_API setting. 2016-07-30 20:05:56 +03:00
unicode.c
unicode.h
vm.c py: Implement a simple global interpreter lock. 2016-06-28 11:28:50 +01:00
vmentrytable.h py: Declare constant data as properly constant. 2016-05-20 12:46:20 +01:00
vstr.c py/vstr: Change allocation policy, +16 to requested size, instead of *2. 2016-05-10 00:56:51 +03:00
warning.c