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.
 
 
 
 
 
 
Jon Bjarni Bjarnason 1ded8a2977 py/objtype: Convert result of user __contains__ method to bool. 3 years ago
..
argcheck.c py: Add option to compile without any error messages at all. 4 years ago
asmarm.c py/emitglue: Always flush caches when assigning native ARM code. 3 years ago
asmarm.h py/emitglue: Always flush caches when assigning native ARM code. 3 years ago
asmbase.c py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
asmbase.h py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
asmthumb.c py/emitglue: Always flush caches when assigning native ARM code. 3 years ago
asmthumb.h py/emitglue: Always flush caches when assigning native ARM code. 3 years ago
asmx64.c py/asmx64: Support use of top 8 regs in src_r64 argument. 4 years ago
asmx64.h py/asm: Add condition codes for signed comparisons. 4 years ago
asmx86.c py/asm: Add funcs/macros to emit machine code for logical-shift-right. 4 years ago
asmx86.h py/asm: Add condition codes for signed comparisons. 4 years ago
asmxtensa.c py/asmxtensa: Fix use of l32i/s32i when offset won't fit in encoding. 3 years ago
asmxtensa.h py/asmxtensa: Fix use of l32i/s32i when offset won't fit in encoding. 3 years ago
bc.c py: Change jump opcodes to emit 1-byte jump offset when possible. 3 years ago
bc.h py/bc.h: Fix C++20 compilation with "volatile". 3 years ago
bc0.h py: Change jump-if-x-or-pop opcodes to have unsigned offset argument. 3 years ago
binary.c all: Fix signed shifts and NULL access errors from -fsanitize=undefined. 3 years ago
binary.h py/binary: Change mp_uint_t to size_t for index, size, align args. 5 years ago
builtin.h extmod/moduos: Create general uos module to be used by all ports. 3 years ago
builtinevex.c py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
builtinhelp.c py: Only search frozen modules when '.frozen' is found in sys.path. 3 years ago
builtinimport.c py/builtinimport: Alias sys to usys if import weak links aren't enabled. 3 years ago
compile.c py/parse: Factor obj extract code to mp_parse_node_extract_const_object. 3 years ago
compile.h py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
dynruntime.h py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
dynruntime.mk all: Remove MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE. 3 years ago
emit.h py: Change jump opcodes to emit 1-byte jump offset when possible. 3 years ago
emitbc.c py/emitbc: Assert that a small int fits its encoding when emitting one. 3 years ago
emitcommon.c py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
emitglue.c py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
emitglue.h py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
emitinlinethumb.c py/emitinlinethumb: Use 16 bit encodings for PUSH LR and POP PC. 3 years ago
emitinlinextensa.c py: Use unsigned comparison of chars. 4 years ago
emitnarm.c py/emitnative: Add support for return/break/continue in try and with. 6 years ago
emitnative.c Revert "py/emitnative: Don't store prelude at end of machine code if..." 3 years ago
emitnthumb.c py/emitnative: Add support for return/break/continue in try and with. 6 years ago
emitnx64.c py/emitnative: Add support for return/break/continue in try and with. 6 years ago
emitnx86.c py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
emitnxtensa.c py/emitnative: Add support for return/break/continue in try and with. 6 years ago
emitnxtensawin.c py: Add new Xtensa-Windowed arch for native emitter. 5 years ago
formatfloat.c all: Fix implicit conversion from double to float. 5 years ago
formatfloat.h all: Use the name MicroPython consistently in comments 7 years ago
frozenmod.c py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
frozenmod.h py: Only search frozen modules when '.frozen' is found in sys.path. 3 years ago
gc.c py/gc: Update debug code to compile with changes to qstr pool types. 3 years ago
gc.h py/gc: Change include of stdint.h to stddef.h. 4 years ago
grammar.h py/compile: Implement PEP 526, syntax for variable annotations. 4 years ago
lexer.c py/lexer: Support nested [] and {} characters within f-string params. 3 years ago
lexer.h py: Implement partial PEP-498 (f-string) support. 3 years ago
makecompresseddata.py py/makecompresseddata.py: Make compression deterministic. 5 years ago
makemoduledefs.py all: Update Python code to conform to latest black formatting. 4 years ago
makeqstrdata.py py/qstr: Separate hash and len from string data. 3 years ago
makeqstrdefs.py py/makeqstrdefs: Cleanup and extend source file classification. 3 years ago
makeversionhdr.py py/makeversionhdr: Add --tags arg to git describe. 3 years ago
malloc.c all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
map.c py: Add wrapper macros so hot VM functions can go in fast code location. 3 years ago
misc.h stm32: Add implementation of machine.bitstream. 3 years ago
mkenv.mk py/mkrules: Automatically build mpy-cross if it doesn't exist. 3 years ago
mkrules.cmake py/mkrules.cmake: Set frozen preprocessor defs early. 3 years ago
mkrules.mk all: Remove support for FROZEN_DIR and FROZEN_MPY_DIR. 3 years ago
modarray.c all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
modbuiltins.c py/modbuiltins: Add additional macro for extending builtins. 3 years ago
modcmath.c all: Format code to add space after C++-style comment start. 5 years ago
modcollections.c all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
modgc.c all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
modio.c py/modio: Remove io.resource_stream function. 3 years ago
modmath.c py/modmath: Add math.tau, math.nan and math.inf constants. 3 years ago
modmicropython.c py/gc: Make gc_lock_depth have a count per thread. 4 years ago
modstruct.c all: Use MP_ERROR_TEXT for all error messages. 5 years ago
modsys.c py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them. 3 years ago
modthread.c py/mpstate: Make exceptions thread-local. 3 years ago
moduerrno.c all: Format code to add space after C++-style comment start. 5 years ago
mpconfig.h py/parse: Add MICROPY_COMP_CONST_TUPLE option to build const tuples. 3 years ago
mperrno.h py/mperrno: Add MP_ECANCELED error code. 3 years ago
mphal.h all: Rename absolute time-based functions to include "epoch". 4 years ago
mpprint.c py/mpprint: Fix length calculation for strings with precision-modifier. 4 years ago
mpprint.h extmod/modujson: Add support for dump/dumps separators keyword-argument. 3 years ago
mpstate.c all: Use the name MicroPython consistently in comments 7 years ago
mpstate.h py/scheduler: Add support for scheduling static C-based callbacks. 3 years ago
mpthread.h all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
mpz.c py/mpz: Fix bugs with bitwise of -0 by ensuring all 0's are positive. 3 years ago
mpz.h py/mpz: Fix bugs with bitwise of -0 by ensuring all 0's are positive. 3 years ago
nativeglue.c py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
nativeglue.h py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
nlr.c all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
nlr.h py/nlr: Implement NLR for AArch64. 4 years ago
nlraarch64.c py/nlraarch64: Add underscore prefix to function symbols for Darwin ABI. 4 years ago
nlrpowerpc.c all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
nlrsetjmp.c py/nlr: Factor out common NLR code to macro and generic funcs in nlr.c. 7 years ago
nlrthumb.c all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
nlrx64.c py/nlrx64: Correct the detection of Darwin ABI. 4 years ago
nlrx86.c all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
nlrxtensa.c all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
obj.c py: Add wrapper macros so hot VM functions can go in fast code location. 3 years ago
obj.h py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
objarray.c py/objarray: Fix constructing a memoryview from a memoryview. 4 years ago
objarray.h py/objarray.h: Add mp_obj_memoryview_init() helper function. 4 years ago
objattrtuple.c all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
objbool.c all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
objboundmeth.c all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
objcell.c all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
objclosure.c py: Rename remaining object types to be of the form mp_type_xxx. 4 years ago
objcomplex.c py/objcomplex: Add mp_obj_get_complex_maybe for use in complex bin-op. 4 years ago
objdeque.c all: Use MP_ERROR_TEXT for all error messages. 5 years ago
objdict.c extmod/modujson: Add support for dump/dumps separators keyword-argument. 3 years ago
objenumerate.c all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
objexcept.c py/modsys: Add optional sys.tracebacklimit attribute. 3 years ago
objexcept.h all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
objfilter.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objfloat.c py/modmath: Add math.tau, math.nan and math.inf constants. 3 years ago
objfun.c py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
objfun.h py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
objgenerator.c py/objgenerator: Fix unused variables when native gen extracts prelude. 3 years ago
objgenerator.h all: Use the name MicroPython consistently in comments 7 years ago
objgetitemiter.c py: Support single argument to optimised MP_OBJ_STOP_ITERATION. 3 years ago
objint.c all: Fix signed shifts and NULL access errors from -fsanitize=undefined. 3 years ago
objint.h py/modsys: Use consistent naming pattern for module-level const objects. 5 years ago
objint_longlong.c py/modsys: Use consistent naming pattern for module-level const objects. 5 years ago
objint_mpz.c py/mpz: Do sign extension in mpz_as_bytes for negative values. 4 years ago
objlist.c extmod/modujson: Add support for dump/dumps separators keyword-argument. 3 years ago
objlist.h py/obj.h: Move declaration of mp_obj_list_init to objlist.h. 7 years ago
objmap.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objmodule.c py/objmodule: Support delegating failed attr lookups. 3 years ago
objmodule.h py/objmodule: Support delegating failed attr lookups. 3 years ago
objnamedtuple.c py: Add option to compile without any error messages at all. 4 years ago
objnamedtuple.h py/objnamedtuple: Allow to reuse namedtuple basic functionality. 7 years ago
objnone.c py/obj: Add MICROPY_OBJ_IMMEDIATE_OBJS option to reduce code size. 5 years ago
objobject.c all: Use MP_ERROR_TEXT for all error messages. 5 years ago
objpolyiter.c all: Remove inclusion of internal py header files. 7 years ago
objproperty.c all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
objrange.c py: Rename remaining object types to be of the form mp_type_xxx. 4 years ago
objreversed.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objset.c py: Introduce and use mp_raise_type_arg helper. 3 years ago
objsingleton.c py/objsingleton: Use mp_generic_unary_op for singleton objects. 5 years ago
objslice.c all: Clean up error strings to use lowercase and change cannot to can't. 5 years ago
objstr.c py/objstr: Support '{:08}'.format("Jan") like Python 3.10. 3 years ago
objstr.h all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
objstringio.c all: Use MP_ERROR_TEXT for all error messages. 5 years ago
objstringio.h py/objstringio: If created from immutable object, follow copy on write policy. 8 years ago
objstrunicode.c py/mpprint: Fix length calculation for strings with precision-modifier. 4 years ago
objtuple.c extmod/modujson: Add support for dump/dumps separators keyword-argument. 3 years ago
objtuple.h all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
objtype.c py/objtype: Convert result of user __contains__ method to bool. 3 years ago
objtype.h py/runtime: Don't allocate iter buf for user-defined types. 5 years ago
objzip.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
opmethods.c py: Make mp_obj_get_type() return a const ptr to mp_obj_type_t. 5 years ago
pairheap.c py/pairheap: Properly unlink node on pop and delete. 5 years ago
pairheap.h py/pairheap: Add helper function to initialise a new node. 5 years ago
parse.c py/parse: Add MICROPY_COMP_CONST_TUPLE option to build const tuples. 3 years ago
parse.h py/parse: Factor obj extract code to mp_parse_node_extract_const_object. 3 years ago
parsenum.c py: Add option to compile without any error messages at all. 4 years ago
parsenum.h all: Use the name MicroPython consistently in comments 7 years ago
parsenumbase.c all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
parsenumbase.h all: Use the name MicroPython consistently in comments 7 years ago
persistentcode.c py/persistentcode: Support loading and saving tuples in .mpy files. 3 years ago
persistentcode.h py/persistentcode: Support loading and saving tuples in .mpy files. 3 years ago
profile.c py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
profile.h py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
py.cmake py/py.cmake: Introduce MICROPY_INC_CORE as a list with core includes. 4 years ago
py.mk samd/moduos: Convert module to use extmod version. 3 years ago
pystack.c py: Introduce and use mp_raise_type_arg helper. 3 years ago
pystack.h all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
qstr.c py/qstr: Use `const` consistently to avoid a cast. 3 years ago
qstr.h py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
qstrdefs.h py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them. 3 years ago
reader.c all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
reader.h py: Allow lexer to raise exceptions during construction. 8 years ago
repl.c py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them. 3 years ago
repl.h py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them. 3 years ago
ringbuf.c py/ringbuf: Add peek16 method. 5 years ago
ringbuf.h extmod/modbluetooth: Make modbluetooth event not a bitfield. 4 years ago
runtime.c py/scheduler: Add support for scheduling static C-based callbacks. 3 years ago
runtime.h py/scheduler: Add support for scheduling static C-based callbacks. 3 years ago
runtime0.h py/nativeglue: Add new header file with native function table typedef. 5 years ago
runtime_utils.c py: mp_call_function_*_protected(): Pass-thru return value if possible. 7 years ago
scheduler.c py/scheduler: Add support for scheduling static C-based callbacks. 3 years ago
scope.c py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
scope.h py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
sequence.c all: Use MP_ERROR_TEXT for all error messages. 5 years ago
showbc.c py: Change jump-if-x-or-pop opcodes to have unsigned offset argument. 3 years ago
smallint.c all: Use the name MicroPython consistently in comments 7 years ago
smallint.h py/smallint: Introduce MP_SMALL_INT_BITS macro. 3 years ago
stackctrl.c all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
stackctrl.h py/stackctrl: Prevent unused-var warning when stack checking disabled. 3 years ago
stream.c py/stream: Remove mp_stream_errno and use system errno instead. 5 years ago
stream.h py/stream.h: Include sys/types.h to get size_t and off_t for POSIX API. 5 years ago
unicode.c all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
unicode.h py/objstr: Add check for valid UTF-8 when making a str from bytes. 7 years ago
usermod.cmake rp2: Add support for USER_C_MODULES to CMake build system. 4 years ago
vm.c py/runtime: Allow multiple *args in a function call. 3 years ago
vmentrytable.h py/vmentrytable: Ignore GCC -Woverride-init. 4 years ago
vstr.c all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
warning.c py: Update my copyright info on some files. 6 years ago