Damien George
|
cde0ca21bf
|
py: Simplify JSON str printing (while still conforming to JSON spec).
The JSON specs are relatively flexible and allow us to use one function
to print strings, be they ascii, bytes or utf-8 encoded.
|
10 years ago |
Damien George
|
96e20c600f
|
tests: Fix uctypes tests to run on 64bit arch; enable more native tests.
|
10 years ago |
Damien George
|
2c180f7ccc
|
extmod, ujson: Add test and comment for loads.
|
10 years ago |
Damien George
|
612045f53f
|
py: Add native json printing using existing print framework.
Also add start of ujson module with dumps implemented. Enabled in unix
and stmhal ports. Test passes on both.
|
10 years ago |
Damien George
|
1ddd844815
|
extmod: Finish rename of zlib to zlibd; enable zlibd on stmhal.
|
10 years ago |
Paul Sokolovsky
|
5073d3da07
|
tests: Add test for zlibd module.
|
10 years ago |
Paul Sokolovsky
|
2097c8b1e1
|
moductypes: Add symbolic constants to specify bitfield position/length.
|
10 years ago |
Paul Sokolovsky
|
8215847b4d
|
moductypes: Foreign data interface module, roughly based on ctype ideas.
But much smaller and memory-efficient. Uses Python builtin data structures
(dict, tuple, int) to describe structure layout.
|
11 years ago |