<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/ports/unix/coverage.c, branch azure</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=azure</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=azure'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2018-07-28T17:29:47+00:00</updated>
<entry>
<title>merge finished</title>
<updated>2018-07-28T17:29:47+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2018-07-28T17:29:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f48b70050e3e4122eaae3eee47d35fc30bda2a4c'/>
<id>urn:sha1:f48b70050e3e4122eaae3eee47d35fc30bda2a4c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/unix/extra_coverage: Don't test stream objs with NULL write fun.</title>
<updated>2018-06-18T02:35:56+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-06-13T02:47:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a5f5552a0a52cfd37f1db4d6df2194a4090561f5'/>
<id>urn:sha1:a5f5552a0a52cfd37f1db4d6df2194a4090561f5</id>
<content type='text'>
This behaviour of a NULL write C method on a stream that uses the write
adaptor objects is no longer supported.  It was only ever used by the
coverage build for testing the fail path of mp_get_stream_raise().
</content>
</entry>
<entry>
<title>unix/coverage: Allow coverage tests to pass with debugging disabled.</title>
<updated>2018-03-08T01:49:31+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-03-08T01:49:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0b88a9f02ebbe3142609fa134e118e47c8008175'/>
<id>urn:sha1:0b88a9f02ebbe3142609fa134e118e47c8008175</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Move heap-realloc-while-locked test from C to Python.</title>
<updated>2018-03-01T23:59:09+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-03-01T23:59:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c607b58efe9333ab92e1b721dcd974e35a9d393e'/>
<id>urn:sha1:c607b58efe9333ab92e1b721dcd974e35a9d393e</id>
<content type='text'>
This test for calling gc_realloc() while the GC is locked can be done in
pure Python, so better to do it that way since it can then be tested on
more ports.
</content>
</entry>
<entry>
<title>tests/unix: Add coverage tests for various GC calls.</title>
<updated>2018-03-01T11:49:15+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-03-01T11:49:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c3f1b2233865f4e7f3016ca22a65ef9f4d4ec4db'/>
<id>urn:sha1:c3f1b2233865f4e7f3016ca22a65ef9f4d4ec4db</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/unix: Add coverage test for VM executing invalid bytecode.</title>
<updated>2018-02-27T05:18:11+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-02-27T05:17:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d3cac18d4914af4549437ef3fd0d62f1fc05ff27'/>
<id>urn:sha1:d3cac18d4914af4549437ef3fd0d62f1fc05ff27</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/unix: Add coverage tests for mpz_set_from_float, mpz_mul_inpl.</title>
<updated>2018-02-25T12:43:16+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-02-25T12:43:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=62be14d77c1c61c7636e9ffe6b7e0c744ace58c6'/>
<id>urn:sha1:62be14d77c1c61c7636e9ffe6b7e0c744ace58c6</id>
<content type='text'>
These new tests cover cases that can't be reached from Python and get
coverage of py/mpz.c to 100%.

These "unreachable from Python" pieces of code could be removed but they
form an integral part of the mpz C API and may be useful for non-Python
usage of mpz.
</content>
</entry>
<entry>
<title>tests/unix: Add coverage test for calling mp_obj_new_bytearray.</title>
<updated>2018-02-08T00:14:30+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-02-08T00:14:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=923ebe767d2ba8c4534560dc21d3533c37a3f831'/>
<id>urn:sha1:923ebe767d2ba8c4534560dc21d3533c37a3f831</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/unix: Add test for printf with %lx format.</title>
<updated>2017-12-19T04:01:17+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-12-19T04:01:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e800e4463db90b3fd971a051c12153f4d61dd10e'/>
<id>urn:sha1:e800e4463db90b3fd971a051c12153f4d61dd10e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str.</title>
<updated>2017-11-16T02:17:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-11-16T02:17:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4601759bf59e16b860a3f082e9aa4ea78356bf92'/>
<id>urn:sha1:4601759bf59e16b860a3f082e9aa4ea78356bf92</id>
<content type='text'>
This patch simplifies the str creation API to favour the common case of
creating a str object that is not forced to be interned.  To force
interning of a new str the new mp_obj_new_str_via_qstr function is added,
and should only be used if warranted.

Apart from simplifying the mp_obj_new_str function (and making it have the
same signature as mp_obj_new_bytes), this patch also reduces code size by a
bit (-16 bytes for bare-arm and roughly -40 bytes on the bare-metal archs).
</content>
</entry>
</feed>
