aboutsummaryrefslogtreecommitdiff
path: root/tests/extmod
AgeCommit message (Collapse)Author
2014-12-18tests: sha256: skip test if uhashlib module is not available.Paul Sokolovsky
2014-11-22tests: Add test for hashlib.sha256 .Paul Sokolovsky
2014-10-30moductypes: Add test for accessing UINT8 array.Paul Sokolovsky
2014-10-30moductypes: Make sure we can apply .sizeof() to all aggregate types.Paul Sokolovsky
Before, sizeof() could be applied to a structure field only if that field was itself a structure. Now it can be applied to PTR and ARRAY fields too. It's not possible to apply it to scalar fields though, because as soon as scalar field (int or float) is dereferenced, its value is converted into Python int/float value, and all original type info is lost. Moreover, we allow sizeof of type definitions too, and there int is used to represent (scalar) types. So, we have ambiguity what int may be - either dereferenced scalar structure field, or encoded scalar type. So, rather throw an error if user tries to apply sizeof() to int.
2014-10-22extmod: Add uheapq module.Damien George
2014-10-17modure: Update to re1.5 v0.6.1, fixed and extended character class support.Paul Sokolovsky
2014-10-15modure: Update to re1.5 v0.6, support for char sets/classes ([a-c]).Paul Sokolovsky
2014-10-13moduzlib: Integrate into the system.Paul Sokolovsky
2014-10-11modure: Basic tests.Paul Sokolovsky
2014-10-06tests: Add missing "import sys".Paul Sokolovsky
2014-10-06tests: Force skip of LE test on non-LE arch; improve run-tests-exp.sh.Damien George
2014-10-05tests: Make printing of floats hopefully more portable.Damien George
2014-09-25py: Simplify JSON str printing (while still conforming to JSON spec).Damien George
The JSON specs are relatively flexible and allow us to use one function to print strings, be they ascii, bytes or utf-8 encoded.
2014-09-23tests: Fix uctypes tests to run on 64bit arch; enable more native tests.Damien George
2014-09-21extmod, ujson: Add test and comment for loads.Damien George
2014-09-17py: Add native json printing using existing print framework.Damien George
Also add start of ujson module with dumps implemented. Enabled in unix and stmhal ports. Test passes on both.
2014-08-12extmod: Finish rename of zlib to zlibd; enable zlibd on stmhal.Damien George
2014-08-13tests: Add test for zlibd module.Paul Sokolovsky
2014-07-11moductypes: Add symbolic constants to specify bitfield position/length.Paul Sokolovsky
2014-07-09moductypes: Foreign data interface module, roughly based on ctype ideas.Paul Sokolovsky
But much smaller and memory-efficient. Uses Python builtin data structures (dict, tuple, int) to describe structure layout.