<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/extmod/modujson.c, branch v1.3.10</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.10</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.10'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-02-08T01:57:40+00:00</updated>
<entry>
<title>py: Parse big-int/float/imag constants directly in parser.</title>
<updated>2015-02-08T01:57:40+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-02-08T01:57:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7d414a1b52d193bab2c94cf56932e1eba23ba542'/>
<id>urn:sha1:7d414a1b52d193bab2c94cf56932e1eba23ba542</id>
<content type='text'>
Previous to this patch, a big-int, float or imag constant was interned
(made into a qstr) and then parsed at runtime to create an object each
time it was needed.  This is wasteful in RAM and not efficient.  Now,
these constants are parsed straight away in the parser and turned into
objects.  This allows constants with large numbers of digits (so
addresses issue #1103) and takes us a step closer to #722.
</content>
</entry>
<entry>
<title>extmod: Make ujson.loads raise exception if given empty string.</title>
<updated>2015-02-02T21:52:19+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-02-02T21:52:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5f64dc55d89444fcc3a5903d658eb327e1b6ef74'/>
<id>urn:sha1:5f64dc55d89444fcc3a5903d658eb327e1b6ef74</id>
<content type='text'>
Addresses issue #1097.
</content>
</entry>
<entry>
<title>py: Change vstr so that it doesn't null terminate buffer by default.</title>
<updated>2015-01-28T23:43:01+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-28T23:43:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0d3cb6726ddc1bab9fdd11a0aaa259fb436da4b2'/>
<id>urn:sha1:0d3cb6726ddc1bab9fdd11a0aaa259fb436da4b2</id>
<content type='text'>
This cleans up vstr so that it's a pure "variable buffer", and the user
can decide whether they need to add a terminating null byte.  In most
places where vstr is used, the vstr did not need to be null terminated
and so this patch saves code size, a tiny bit of RAM, and makes vstr
usage more efficient.  When null termination is needed it must be
done explicitly using vstr_null_terminate.
</content>
</entry>
<entry>
<title>modujson: .loads(): Handle more whitespace characters.</title>
<updated>2015-01-23T16:41:29+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-01-23T16:36:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=444331c07f47488325986e375ea6b1838f06685d'/>
<id>urn:sha1:444331c07f47488325986e375ea6b1838f06685d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod: Prefix py/ for includes from py core directory.</title>
<updated>2015-01-01T20:35:21+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-01T20:35:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3765ea419a7b68d3349a3c90089cfec9063db94b'/>
<id>urn:sha1:3765ea419a7b68d3349a3c90089cfec9063db94b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use MP_DEFINE_CONST_DICT macro to define module dicts.</title>
<updated>2014-11-29T14:39:27+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-11-29T14:39:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3b603f29ec093b77b6fad72d77becd5375310637'/>
<id>urn:sha1:3b603f29ec093b77b6fad72d77becd5375310637</id>
<content type='text'>
This is just a clean-up of the code.  Generated code is exactly the
same.
</content>
</entry>
<entry>
<title>extmod, ujson: Add test and comment for loads.</title>
<updated>2014-09-21T22:43:03+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-21T22:42:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2c180f7ccc456e1768fd1cb9a86399808672a237'/>
<id>urn:sha1:2c180f7ccc456e1768fd1cb9a86399808672a237</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod, ujson: Add \uxxxx parsing in json strings.</title>
<updated>2014-09-21T22:43:03+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-21T22:28:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=df1e92ba3a039738b65486ebbd4428b7740d723d'/>
<id>urn:sha1:df1e92ba3a039738b65486ebbd4428b7740d723d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod, ujson: Slight reduction in code size.</title>
<updated>2014-09-21T22:43:03+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-21T19:38:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fa2f1f72e0cb6f3ddb04d52719bad4c2ae7c836a'/>
<id>urn:sha1:fa2f1f72e0cb6f3ddb04d52719bad4c2ae7c836a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod: Add loads to ujson module.</title>
<updated>2014-09-21T22:43:03+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-21T10:40:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=89e4657c69ecd27d3735a0589132426d610ef7cc'/>
<id>urn:sha1:89e4657c69ecd27d3735a0589132426d610ef7cc</id>
<content type='text'>
</content>
</entry>
</feed>
