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.
Paul Sokolovsky
0ef01d0a75
py: Implement core of OrderedDict type.
Given that there's already support for "fixed table" maps, which are
essentially ordered maps, the implementation of OrderedDict just extends
"fixed table" maps by adding an "is ordered" flag and add/remove
operations, and reuses 95% of objdict code, just making methods tolerant
to both dict and OrderedDict.
Some things are missing so far, like CPython-compatible repr and comparison.
OrderedDict is Disabled by default; enabled on unix and stmhal ports.
10 years ago
..
.gitignore
unix: Update .gitignore for "fast" and "minimal" builds.
10 years ago
Makefile
unix: Enable extra compiler warnings.
10 years ago
alloc.c
unix: Add target to build "minimal" uPy interpreter.
10 years ago
file.c
py, unix: Allow to compile with -Wunused-parameter.
10 years ago
gccollect.c
unix: Add target to build "minimal" uPy interpreter.
10 years ago
input.c
unix: Support readline history saving to file, improves interactive usage.
10 years ago
input.h
unix: Support readline history saving to file, improves interactive usage.
10 years ago
main.c
unix: Support readline history saving to file, improves interactive usage.
10 years ago
modffi.c
modffi: Implement 'O' type handling for func arguments.
10 years ago
modos.c
unix: Prefix includes with py/; remove need for -I../py.
10 years ago
modsocket.c
py, unix: Allow to compile with -Wunused-parameter.
10 years ago
modtermios.c
unix: Prefix includes with py/; remove need for -I../py.
10 years ago
modtime.c
py, unix, lib: Allow to compile with -Wold-style-definition.
10 years ago
mpconfigport.h
py: Implement core of OrderedDict type.
10 years ago
mpconfigport.mk
unix: Add target to build "minimal" uPy interpreter.
10 years ago
mpconfigport_fast.h
unix: fast: Set initial module dict size big to have high pystone score.
10 years ago
mpconfigport_minimal.h
unix: Add target to build "minimal" uPy interpreter.
10 years ago
qstrdefsport.h
modffi: Add .addr() method to just get symbol address.
10 years ago