You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
circuitpython/py
Damien George 1831034be1 py: Allow lexer to raise exceptions during construction. 6 years ago
..
argcheck.c py: Use mp_raise_msg helper function where appropriate. 6 years ago
asmarm.c py/asmarm: Fix assembler's PASS_EMIT constant name. 6 years ago
asmarm.h py: Move arch-specific assembler macros from emitnative to asmXXX.h. 6 years ago
asmbase.c py/asm: Remove need for dummy_data when doing initial assembler passes. 6 years ago
asmbase.h py/asm: Remove need for dummy_data when doing initial assembler passes. 6 years ago
asmthumb.c py/asm: Remove need for dummy_data when doing initial assembler passes. 6 years ago
asmthumb.h py: Move arch-specific assembler macros from emitnative to asmXXX.h. 6 years ago
asmx64.c py/asm: Remove need for dummy_data when doing initial assembler passes. 6 years ago
asmx64.h py/asm: Remove need for dummy_data when doing initial assembler passes. 6 years ago
asmx86.c py/asm: Fix x86 and ARM assemblers due to recent code refactoring. 6 years ago
asmx86.h py/asm: Remove need for dummy_data when doing initial assembler passes. 6 years ago
asmxtensa.c py/asm: Remove need for dummy_data when doing initial assembler passes. 6 years ago
asmxtensa.h py/asmxtensa.h: Explicitly cast args to 32-bits so left-shift is legal. 6 years ago
bc.c py: Use mp_raise_msg helper function where appropriate. 6 years ago
bc.h py/showbc: Make sure to set the const_table before printing bytecode. 6 years ago
bc0.h py: Allow bytecode/native to put iter_buf on stack for simple for loops. 6 years ago
binary.c py/binary: mp_binary_get_size: Raise error on unsupported typecodes. 6 years ago
binary.h py/binary: Make return type of mp_binary_get_size size_t instead of int. 8 years ago
builtin.h py: Add builtin help function to core, with default help msg. 6 years ago
builtinevex.c py: Allow lexer to raise exceptions during construction. 6 years ago
builtinhelp.c py/builtinhelp: Implement help('modules') to list available modules. 6 years ago
builtinimport.c py: Allow lexer to raise exceptions during construction. 6 years ago
compile.c py: Create str/bytes objects in the parser, not the compiler. 6 years ago
compile.h py: Allow inline-assembler emitter to be generic. 6 years ago
emit.h py: Remove unused "use_stack" argument from for_iter_end emit function. 6 years ago
emitbc.c py: Remove unused "use_stack" argument from for_iter_end emit function. 6 years ago
emitcommon.c py/scope: Factor common code to find locals and close over them. 6 years ago
emitglue.c py/emitglue: Refactor to remove assert(0), to improve coverage. 6 years ago
emitglue.h py: Factor persistent code load/save funcs into persistentcode.[ch]. 6 years ago
emitinlinethumb.c py: Create str/bytes objects in the parser, not the compiler. 6 years ago
emitinlinextensa.c py/emitinline: Move common code for end of final pass to compiler. 6 years ago
emitnative.c py: Remove unused "use_stack" argument from for_iter_end emit function. 6 years ago
formatfloat.c py/formatfloat: Remove unreachable code. 6 years ago
formatfloat.h py: Implement mp_format_float for doubles and use where appropriate 8 years ago
frozenmod.c py: Allow to stat and import frozen mpy files using new frozen "VFS". 7 years ago
frozenmod.h py/{builtinimport,frozenmod}: Rework frozen modules support to support packages. 7 years ago
gc.c py/gc: Add MICROPY_GC_CONSERVATIVE_CLEAR option to always zero memory. 6 years ago
gc.h py/gc: Calculate (and report) maximum contiguous free block size. 7 years ago
grammar.h py/grammar: Remove unused rule. 6 years ago
lexer.c py: Allow lexer to raise exceptions during construction. 6 years ago
lexer.h py/lexer: Convert mp_uint_t to size_t where appropriate. 6 years ago
makeqstrdata.py py/makeqstrdata.py: Compute the qstr hash from bytes, not characters. 6 years ago
makeqstrdefs.py py/makeqstrdefs.py: Use python 2.6 syntax for set creation. 6 years ago
makeversionhdr.py py/makeversionhdr.py: Work with backslashes in paths. 7 years ago
malloc.c py/gc: Add MICROPY_GC_CONSERVATIVE_CLEAR option to always zero memory. 6 years ago
map.c py/map: Fix bugs with deletion of elements from OrderedDict. 6 years ago
misc.h cc3200: Re-add support for UART REPL (MICROPY_STDIO_UART setting). 6 years ago
mkenv.mk py: Move frozen bytecode Makefile rules from ports to common mk files. 6 years ago
mkrules.mk py/mkrules.mk: Add MPY_CROSS_FLAGS option to pass flags to mpy-cross. 6 years ago
modarray.c all: Remove 'name' member from mp_obj_module_t struct. 6 years ago
modbuiltins.c py: Add iter_buf to getiter type method. 6 years ago
modcmath.c all: Remove 'name' member from mp_obj_module_t struct. 6 years ago
modcollections.c all: Remove 'name' member from mp_obj_module_t struct. 6 years ago
modgc.c all: Remove 'name' member from mp_obj_module_t struct. 6 years ago
modio.c py: Add mp_raise_OSError(errno) helper function. 6 years ago
modmath.c py: Add MICROPY_FLOAT_CONST macro for defining float constants. 6 years ago
modmicropython.c py/modmicropython: Add micropython.opt_level([value]) function. 6 years ago
modstruct.c py/binary: mp_binary_get_size: Raise error on unsupported typecodes. 6 years ago
modsys.c py/modsys: Use MP_SMALL_INT_MAX for sys.maxsize in case of LONGINT_IMPL_NONE. 6 years ago
modthread.c py: Move locals/globals dicts to the thread-specific state. 6 years ago
moduerrno.c py/moduerrno: Make list of errno codes configurable. 6 years ago
mpconfig.h py/moduerrno: Make uerrno.errorcode dict configurable. 6 years ago
mperrno.h py/moduerrno: Add ECONNREFUSED, one of frequent networking errors. 7 years ago
mphal.h extmod/utime_mphal: Factor out implementations in terms of mp_hal_* for reuse. 6 years ago
mpprint.c py/mpprint: Add assertion for, and comment about, valid base values. 6 years ago
mpprint.h lib/utils/pyhelp.c: Use mp_printf() instead of printf() 6 years ago
mpstate.c py: Add MICROPY_DYNAMIC_COMPILER option to config compiler at runtime. 7 years ago
mpstate.h py: Move locals/globals dicts to the thread-specific state. 6 years ago
mpthread.h py/mpthread: Include mpstate.h when defining GIL macros. 7 years ago
mpz.c py/mpz: Change type of "base" args from mp_uint_t to unsigned int. 6 years ago
mpz.h py/mpz: Change type of "base" args from mp_uint_t to unsigned int. 6 years ago
nativeglue.c py: Optimise storage of iterator so it takes only 4 slots on Py stack. 6 years ago
nlr.h py/nlr.h: Mark nlr_jump_fail as NORETURN. 6 years ago
nlrsetjmp.c py/nlrsetjmp: Update to take into account new location of nlr_top. 7 years ago
nlrthumb.c py: Fix nlrthumb.c when DEBUG=1 is defined 6 years ago
nlrx64.c py/nlrx64: Fixes to support Mac OS. 6 years ago
nlrx86.c py/nlrx86: Add workaround for Zephyr. 6 years ago
nlrxtensa.c py/nlrxtensa: Convert from assembler to C file with inline asm. 6 years ago
obj.c py: Add iter_buf to getiter type method. 6 years ago
obj.h py: Add iter_buf to getiter type method. 6 years ago
objarray.c py/objarray: Disallow slice-assignment to read-only memoryview. 6 years ago
objarray.h py/objarray: Convert mp_uint_t to size_t where appropriate. 6 years ago
objattrtuple.c py/objtuple: Convert mp_uint_t to size_t where appropriate. 6 years ago
objbool.c py/objbool: Make a slight simplification of bool constructor. 6 years ago
objboundmeth.c py/objtype: Implement __call__ handling for an instance w/o heap alloc. 6 years ago
objcell.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 7 years ago
objclosure.c py/objclosure: Convert mp_uint_t to size_t where appropriate. 6 years ago
objcomplex.c py/objcomplex: Fix typo in ternary expression. 6 years ago
objdict.c py: De-optimise some uses of mp_getiter, so they don't use the C stack. 6 years ago
objenumerate.c py: Add iter_buf to getiter type method. 6 years ago
objexcept.c py/objexcept: Convert mp_uint_t to size_t where appropriate. 6 years ago
objexcept.h py/objexcept: Convert mp_uint_t to size_t where appropriate. 6 years ago
objfilter.c py: Add iter_buf to getiter type method. 6 years ago
objfloat.c py/objfloat: Raise ZeroDivisionError for 0 to negative power. 6 years ago
objfun.c py: Use mp_obj_get_array where sequence may be a tuple or a list. 6 years ago
objfun.h py: Add constant table to bytecode. 7 years ago
objgenerator.c py: Add iter_buf to getiter type method. 6 years ago
objgenerator.h py: Move to guarded includes, everywhere in py/ core. 8 years ago
objgetitemiter.c py: Add iter_buf to getiter type method. 6 years ago
objint.c py/objint: Convert mp_uint_t to size_t where appropriate. 6 years ago
objint.h py: Added optimised support for 3-argument calls to builtin.pow() 6 years ago
objint_longlong.c py/objint_longlong: Implement mp_obj_int_from_bytes_impl(). 6 years ago
objint_mpz.c py/objint: Convert mp_uint_t to size_t where appropriate. 6 years ago
objlist.c py/objlist: For list slice assignment, allow RHS to be a tuple or list. 6 years ago
objlist.h py/objlist: Convert mp_uint_t to size_t where appropriate. 6 years ago
objmap.c py: Add iter_buf to getiter type method. 6 years ago
objmodule.c py/objmodule: Move module init/deinit code into runtime functions. 6 years ago
objmodule.h py/objmodule: Move module init/deinit code into runtime functions. 6 years ago
objnamedtuple.c py: Use mp_raise_msg helper function where appropriate. 6 years ago
objnone.c py/objnone: Use mp_generic_unary_op instead of custom one. 6 years ago
objobject.c py: Use mp_raise_msg helper function where appropriate. 6 years ago
objpolyiter.c py: Add iter_buf to getiter type method. 6 years ago
objproperty.c py: Get rid of assert() in method argument checking functions. 6 years ago
objrange.c py: Add iter_buf to getiter type method. 6 years ago
objreversed.c py: Add iter_buf to getiter type method. 6 years ago
objset.c py: De-optimise some uses of mp_getiter, so they don't use the C stack. 6 years ago
objsingleton.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 7 years ago
objslice.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 7 years ago
objstr.c py: Use mp_obj_get_array where sequence may be a tuple or a list. 6 years ago
objstr.h py/objstr: Convert mp_uint_t to size_t (and use int) where appropriate. 6 years ago
objstringio.c py: Add iter_buf to getiter type method. 6 years ago
objstringio.h extmod/modujson: Implement ujson.load() to load JSON from a stream. 6 years ago
objstrunicode.c py: Add iter_buf to getiter type method. 6 years ago
objtuple.c py: De-optimise some uses of mp_getiter, so they don't use the C stack. 6 years ago
objtuple.h py: Add iter_buf to getiter type method. 6 years ago
objtype.c py: Add iter_buf to getiter type method. 6 years ago
objtype.h py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 7 years ago
objzip.c py: Add iter_buf to getiter type method. 6 years ago
opmethods.c py: Move to guarded includes, everywhere in py/ core. 8 years ago
parse.c py/parse: Simplify handling of errors by raising them directly. 6 years ago
parse.h py/parse: Make mp_parse_node_new_leaf an inline function. 6 years ago
parsenum.c py/parsenum: Fix warning for signed/unsigned comparison. 6 years ago
parsenum.h py/parsenum: Use size_t to count bytes, and int for type of base arg. 7 years ago
parsenumbase.c py/parsenum: Fix compiler warnings for no decl and signed comparison. 7 years ago
parsenumbase.h py/parsenum: Use size_t to count bytes, and int for type of base arg. 7 years ago
persistentcode.c py: Allow lexer to raise exceptions during construction. 6 years ago
persistentcode.h py: Factor out persistent-code reader into separate files. 6 years ago
py.mk py/py.mk: Force nlr files to be compiled with -Os. 6 years ago
qstr.c py: Fix wrong assumption that m_renew will not move if shrinking 6 years ago
qstr.h py: Rename __QSTR_EXTRACT flag to NO_QSTR. 7 years ago
qstrdefs.h extmod: Add generic VFS sub-system. 6 years ago
reader.c py: Allow lexer to raise exceptions during construction. 6 years ago
reader.h py: Allow lexer to raise exceptions during construction. 6 years ago
repl.c py: Declare constant data as properly constant. 7 years ago
repl.h py, readline: Add tab autocompletion for REPL. 8 years ago
ringbuf.h py/ringbuf.h: Add reusable ring buffer class. 7 years ago
runtime.c py: Use mp_obj_get_array where sequence may be a tuple or a list. 6 years ago
runtime.h py: Add iter_buf to getiter type method. 6 years ago
runtime0.h py: Optimise storage of iterator so it takes only 4 slots on Py stack. 6 years ago
runtime_utils.c py/runtime_utils: Fix nanbox build. 7 years ago
scope.c py/scope: Factor common code to find locals and close over them. 6 years ago
scope.h py/scope: Factor common code to find locals and close over them. 6 years ago
sequence.c py/sequence: Fix reverse slicing of lists. 6 years ago
showbc.c py: Allow bytecode/native to put iter_buf on stack for simple for loops. 6 years ago
smallint.c py: Move to guarded includes, everywhere in py/ core. 8 years ago
smallint.h py/smallint: Allow to override MP_SMALL_INT_MIN et al. 7 years ago
stackctrl.c py: Add MP_STATE_THREAD to hold state specific to a given thread. 7 years ago
stackctrl.h py/stackctrl: Add mp_stack_set_top() to explicitly set stack top value. 7 years ago
stream.c all: Remove readall() method, which is equivalent to read() w/o args. 6 years ago
stream.h py/stream: Move ad-hoc ioctl constants to stream.h and rename them. 6 years ago
unicode.c py/unicode: Comment-out unused function unichar_isprint. 6 years ago
unicode.h py: Move to guarded includes, everywhere in py/ core. 8 years ago
vm.c py: Optimise storage of iterator so it takes only 4 slots on Py stack. 6 years ago
vmentrytable.h py: Allow bytecode/native to put iter_buf on stack for simple for loops. 6 years ago
vstr.c py/vstr: Combine vstr_new_size with vstr_new since they are rarely used. 6 years ago
warning.c py: fix null pointer dereference in mpz.c, fix missing va_end in warning.c 6 years ago