circuitpython/py
Jeff Epler a8b81ce943
Enhance unexpected keyword argument detection
Before, incorrect use when calling a core function would just say
"extra keyword arguments given"; now, it will name the argument:

```python
>>> Synthesizer(bad_kwarg="boo")
TypeError: unexpected keyword argument 'bad_kwarg'
```
2023-09-15 10:39:14 -05:00
..
argcheck.c Enhance unexpected keyword argument detection 2023-09-15 10:39:14 -05:00
asmarm.c py/asmarm: Add asm_arm_ldrh_reg_reg_offset() helper func. 2022-05-23 14:21:16 +10:00
asmarm.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
asmbase.c py: Rework bytecode and .mpy file format to be mostly static data. 2022-02-24 18:08:43 +11:00
asmbase.h py: Rework bytecode and .mpy file format to be mostly static data. 2022-02-24 18:08:43 +11:00
asmthumb.c fix typos (partial) detected by codepell 2023-03-18 22:17:02 +07:00
asmthumb.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
asmx64.c py/asmx64: Support full range of regs in asm_x64_lea_disp_to_r64. 2022-05-17 14:25:51 +10:00
asmx64.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
asmx86.c Merge MicroPython 1.13 into CircuitPython 2021-05-04 18:06:33 -07:00
asmx86.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
asmxtensa.c py/asmxtensa: Fix use of l32i/s32i when offset won't fit in encoding. 2022-03-30 16:32:17 +11:00
asmxtensa.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
bc0.h py: Change jump-if-x-or-pop opcodes to have unsigned offset argument. 2022-03-28 15:43:09 +11:00
bc.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
bc.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
binary.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
binary.h Merge MicroPython 1.12 into CircuitPython 2021-05-03 14:01:18 -07:00
builtin.h wip: continuing compilation fixes; mp_obj_alloc everywhere 2023-08-07 20:45:57 -04:00
builtinevex.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
builtinhelp.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
builtinimport.c pre-commit fixes 2023-08-14 00:59:22 -04:00
circuitpy_defns.mk Fast(ish) special purpose bitbang spi over i2c 2023-09-14 14:42:48 -05:00
circuitpy_mkenv.mk fetch-port-submodules; fetch-all-submodules 2023-06-05 17:23:34 -04:00
circuitpy_mpconfig.h merge latest adafruit/main 2023-08-13 19:43:54 -04:00
circuitpy_mpconfig.mk Add DotClockFramebuffer 2023-08-30 10:30:15 -05:00
compile.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
compile.h py: Rework bytecode and .mpy file format to be mostly static data. 2022-02-24 18:08:43 +11:00
dynruntime.h Make natmods work again. 2023-08-19 16:59:13 -05:00
dynruntime.mk py/dynruntime.mk: Add basic support for armv6m architecture. 2022-05-23 23:01:25 +10:00
emit.h py/compile: De-duplicate constant objects in module's constant table. 2022-05-18 15:23:11 +10:00
emitbc.c remove lib from exludes, fix all remaining typos 2023-03-23 13:59:08 +07:00
emitcommon.c py/compile: De-duplicate constant objects in module's constant table. 2022-05-18 15:23:11 +10:00
emitglue.c Don't assume __ICACHE_PRESENT is defined 2023-08-20 10:15:56 -05:00
emitglue.h py/emitnative: Access qstr values using indirection table qstr_table. 2022-05-23 15:43:06 +10:00
emitinlinethumb.c change compilation verbosity options; fix mpy-cross 2023-08-12 13:38:17 -04:00
emitinlinextensa.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
emitnarm.c py/emitnative: Access qstr values using indirection table qstr_table. 2022-05-23 15:43:06 +10:00
emitnative.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
emitnthumb.c py/emitnative: Access qstr values using indirection table qstr_table. 2022-05-23 15:43:06 +10:00
emitnx64.c py/emitnative: Access qstr values using indirection table qstr_table. 2022-05-23 15:43:06 +10:00
emitnx86.c py/emitnative: Access qstr values using indirection table qstr_table. 2022-05-23 15:43:06 +10:00
emitnxtensa.c py/emitnative: Access qstr values using indirection table qstr_table. 2022-05-23 15:43:06 +10:00
emitnxtensawin.c py/emitnative: Access qstr values using indirection table qstr_table. 2022-05-23 15:43:06 +10:00
enum.c Improve type validation errors messages, especially for pins 2023-01-10 15:02:55 -05:00
enum.h core: Allow enum types to specify additional fields in the object 2023-05-21 13:22:48 -05:00
formatfloat.c pre-commit fixes 2023-08-14 00:59:22 -04:00
formatfloat.h
frozenmod.c py: Rework bytecode and .mpy file format to be mostly static data. 2022-02-24 18:08:43 +11:00
frozenmod.h py/builtin: Clean up and simplify import_stat and builtin_open config. 2022-05-25 13:04:45 +10:00
gc.c pre-commit fixes 2023-08-14 00:59:22 -04:00
gc.h wip; remove long-lived functionality; remove PR#2614 2023-08-08 20:41:17 -04:00
genlast.py run updated pre-commit 2023-02-01 13:38:41 +05:30
grammar.h Merge MicroPython 1.13 into CircuitPython 2021-05-04 18:06:33 -07:00
lexer.c Conditionalize LTO 2022-05-27 12:59:54 -07:00
lexer.h py/builtin: Clean up and simplify import_stat and builtin_open config. 2022-05-25 13:04:45 +10:00
makecompresseddata.py fix typos (partial) detected by codepell 2023-03-18 22:17:02 +07:00
makemoduledefs.py py/makemoduledefs.py: Emit useful error for legacy MP_REGISTER_MODULE. 2022-06-14 15:05:37 +01:00
makeqstrdata.py pre-commit fixes 2023-08-14 00:59:22 -04:00
makeqstrdefs.py pre-commit fixes 2023-08-14 00:59:22 -04:00
maketranslationdata.py Use qstrs to improve compression 2023-08-23 15:16:53 -05:00
makeversionhdr.py wip 2023-08-03 23:29:00 -04:00
malloc.c wip; remove long-lived functionality; remove PR#2614 2023-08-08 20:41:17 -04:00
map.c Merge tag 'v1.18' 2022-02-15 12:36:26 -06:00
misc.h Fix picow build 2023-08-20 11:30:36 -05:00
mkenv.mk change compilation verbosity options; fix mpy-cross 2023-08-12 13:38:17 -04:00
mkrules.cmake rp2/Makefile: Use cmake for "make submodules" task when needed. 2022-06-03 14:29:11 +10:00
mkrules.mk silabs build needs work; other builds are working 2023-08-13 19:05:16 -04:00
modarray.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
modbuiltins.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
modcmath.c all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
modcollections.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
modgc.c all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
modio.c remove last uses of 'u' prefix 2023-08-22 12:57:47 -04:00
modmath.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
modmicropython.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
modstruct.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
modsys.c remove last uses of 'u' prefix 2023-08-22 12:57:47 -04:00
modthread.c all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
moduerrno.c remove last uses of 'u' prefix 2023-08-22 12:57:47 -04:00
mpconfig.h jepler: fix 18 tests (redo commit to be correct) 2023-08-14 18:34:32 -04:00
mperrno.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
mphal.h Merge MicroPython 1.14 into CircuitPython 2021-05-11 15:07:40 -07:00
mpprint.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
mpprint.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
mpstate.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
mpstate.h wip; fix qstr processing 2023-08-10 20:06:32 -04:00
mpthread.h Merge MicroPython 1.13 into CircuitPython 2021-05-04 18:06:33 -07:00
mpz.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
mpz.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
nativeglue.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
nativeglue.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
nlr.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
nlr.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
nlraarch64.c Merge tag 'v1.16' 2021-06-18 10:54:19 -05:00
nlrpowerpc.c Merge MicroPython 1.12 into CircuitPython 2021-05-03 14:01:18 -07:00
nlrsetjmp.c
nlrthumb.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
nlrx64.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
nlrx86.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
nlrxtensa.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
obj.c wip; Trinket M0 compiles 2023-08-09 15:20:10 -04:00
obj.h guard mp_type_native_gen_wrap declaration with MICROPY_EMIT_NATIVE 2023-08-20 14:26:27 -05:00
objarray.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objarray.h Merge MicroPython 1.14 into CircuitPython 2021-05-11 15:07:40 -07:00
objattrtuple.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objbool.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objboundmeth.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objcell.c all: Use mp_obj_malloc everywhere it's applicable. 2022-05-03 22:28:14 +10:00
objclosure.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objcomplex.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objdeque.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objdict.c merge latest adafruit/main 2023-08-13 19:43:54 -04:00
objenumerate.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objexcept.c Implement traceback length limit 2023-08-15 13:10:31 -05:00
objexcept.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objfilter.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objfloat.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objfun.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objfun.h wip; remove long-lived functionality; remove PR#2614 2023-08-08 20:41:17 -04:00
objgenerator.c ignore some cast-align diagnostics 2023-08-20 14:26:48 -05:00
objgenerator.h
objgetitemiter.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objint_longlong.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objint_mpz.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objint.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objint.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objlist.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objlist.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objmap.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objmodule.c wip; Trinket M0 compiles 2023-08-09 15:20:10 -04:00
objmodule.h py/objmodule: Support delegating failed attr lookups. 2022-03-10 10:35:44 +11:00
objnamedtuple.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objnamedtuple.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objnone.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objobject.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objpolyiter.c Rename EXTENDED_FIELDS -> MP_TYPE_EXTENDED_FIELDS 2021-07-12 06:57:59 -05:00
objproperty.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objproperty.h Enable squeezing property storage in flash 2022-05-03 08:48:53 -05:00
objrange.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objreversed.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objset.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objsingleton.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objslice.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objstr.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objstr.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objstringio.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objstringio.h
objstrunicode.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objtraceback.c objtraceback: merge with an existing message in objtype 2021-08-23 20:23:23 -05:00
objtraceback.h add traceback object 2021-08-04 12:10:57 +05:30
objtuple.c wip 2023-08-03 23:29:00 -04:00
objtuple.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
objtype.c wip; remove long-lived functionality; remove PR#2614 2023-08-08 20:41:17 -04:00
objtype.h Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
objzip.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
opmethods.c Rename mp_type_binary_op -> mp_type_get_binary_op_slot 2021-07-12 07:03:52 -05:00
pairheap.c
pairheap.h
parse.c pre-commit fixes 2023-08-14 00:59:22 -04:00
parse.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
parsenum.c Use a standard validator 2022-11-30 14:39:33 -06:00
parsenum.h
parsenumbase.c codeformat 2021-04-19 22:22:44 -07:00
parsenumbase.h
persistentcode.c ignore some cast-align diagnostics 2023-08-20 14:26:48 -05:00
persistentcode.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
profile.c py: Rework bytecode and .mpy file format to be mostly static data. 2022-02-24 18:08:43 +11:00
profile.h py: Rework bytecode and .mpy file format to be mostly static data. 2022-02-24 18:08:43 +11:00
proto.c Conditionalize LTO 2022-05-27 12:59:54 -07:00
proto.h Rename mp_type_protocol -> mp_type_get_protocol_slot 2021-07-12 07:04:04 -05:00
py.cmake add traceback object 2021-08-04 12:10:57 +05:30
py.mk Use qstrs to improve compression 2023-08-23 15:16:53 -05:00
pystack.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
pystack.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
qstr.c wip; remove long-lived functionality; remove PR#2614 2023-08-08 20:41:17 -04:00
qstr.h wip: continuing compilation fixes; mp_obj_alloc everywhere 2023-08-07 20:45:57 -04:00
qstrdefs.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
reader.c Merge MicroPython 1.13 into CircuitPython 2021-05-04 18:06:33 -07:00
reader.h
repl.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
repl.h py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them. 2022-03-10 10:58:33 +11:00
ringbuf.c wip; fix more m_malloc and gc_alloc 2023-08-11 00:30:34 -04:00
ringbuf.h wip; remove long-lived functionality; remove PR#2614 2023-08-08 20:41:17 -04:00
runtime0.h Make natmods work again. 2023-08-19 16:59:13 -05:00
runtime_utils.c
runtime.c Fix building with !MICROPY_PY_ASYNC_AWAIT 2023-08-19 17:17:50 -05:00
runtime.h merge latest adafruit/main 2023-08-13 19:43:54 -04:00
scheduler.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
scope.c py: Rework bytecode and .mpy file format to be mostly static data. 2022-02-24 18:08:43 +11:00
scope.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
sequence.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
showbc.c py: Change jump-if-x-or-pop opcodes to have unsigned offset argument. 2022-03-28 15:43:09 +11:00
smallint.c
smallint.h py/smallint: Introduce MP_SMALL_INT_BITS macro. 2022-03-25 12:23:43 +11:00
stackctrl.c Guard GCC13 pragma 2023-04-28 11:28:48 -07:00
stackctrl.h Merge tag 'v1.16' 2021-06-18 10:54:19 -05:00
stream.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
stream.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
unicode.c Merge MicroPython 1.13 into CircuitPython 2021-05-04 18:06:33 -07:00
unicode.h
usermod.cmake rp2: Add support for USER_C_MODULES to CMake build system. 2021-03-31 00:26:01 +11:00
vm.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
vmentrytable.h initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
vstr.c initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
warning.c Merge MicroPython v1.11 into CircuitPython 2021-04-26 15:47:41 -07:00