<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/cmdline/cmd_showbc.py.exp, branch stable</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=stable</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=stable'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-04-22T13:39:38+00:00</updated>
<entry>
<title>tests: Add tests for calling super and loading a method directly.</title>
<updated>2017-04-22T13:39:38+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-04-18T23:49:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=30badd1ce1fabd26e54fc445f07846306aa19cef'/>
<id>urn:sha1:30badd1ce1fabd26e54fc445f07846306aa19cef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/cmdline/cmd_showbc: Update to work with recent changes.</title>
<updated>2017-02-16T07:38:07+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-02-10T04:39:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=86b3db9cd08c6ec647fae7a1c723e902f47b7e1e'/>
<id>urn:sha1:86b3db9cd08c6ec647fae7a1c723e902f47b7e1e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/cmdline: Update tests to pass with latest changes to bytecode.</title>
<updated>2017-02-16T07:38:07+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-01-18T05:53:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=861b00178370d507516273ea95dd48acd31f36ff'/>
<id>urn:sha1:861b00178370d507516273ea95dd48acd31f36ff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Allow bytecode/native to put iter_buf on stack for simple for loops.</title>
<updated>2017-02-16T07:38:06+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-09T23:59:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f4df3aaa72a0460614b1ab8b7b8a7927a1165e31'/>
<id>urn:sha1:f4df3aaa72a0460614b1ab8b7b8a7927a1165e31</id>
<content type='text'>
So that the "for x in it: ..." statement can now work without using the
heap (so long as the iterator argument fits in an iter_buf structure).
</content>
</entry>
<entry>
<title>tests/cmdline: Improve coverage test for printing bytecode.</title>
<updated>2016-10-17T00:23:37+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-17T00:23:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=453c2e8f55132d92933f2de0308166730576ecc4'/>
<id>urn:sha1:453c2e8f55132d92933f2de0308166730576ecc4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Fix expected output of verbose cmdline test</title>
<updated>2016-10-05T10:58:50+00:00</updated>
<author>
<name>stijn</name>
<email>stijn@ignitron.net</email>
</author>
<published>2016-10-05T10:34:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7f19b1c3eb488a8466fd1fca0530dba6a02d9f1a'/>
<id>urn:sha1:7f19b1c3eb488a8466fd1fca0530dba6a02d9f1a</id>
<content type='text'>
The output might contain more than one line ending in 5b so properly skip
everything until the next known point.
This fixes test failures in appveyor debug builds.
</content>
</entry>
<entry>
<title>tests/cmdline/cmd_showbc: Fix test now that 1 value is stored on stack.</title>
<updated>2016-09-27T03:22:06+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-27T03:22:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f65e4f0b8fbd3992da6cf8a69e89e3bad3001d36'/>
<id>urn:sha1:f65e4f0b8fbd3992da6cf8a69e89e3bad3001d36</id>
<content type='text'>
This corresponds to the change in the way exception values are stored on
the Python value stack.
</content>
</entry>
<entry>
<title>tests: Get cmdline verbose tests running again.</title>
<updated>2016-09-20T01:33:19+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-20T01:33:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bb954d80a4bd467fc321df90cea2b248a90d1570'/>
<id>urn:sha1:bb954d80a4bd467fc321df90cea2b248a90d1570</id>
<content type='text'>
The showbc function now no longer uses the system printf so works
correctly.
</content>
</entry>
<entry>
<title>py: Remove mp_load_const_bytes and instead load precreated bytes object.</title>
<updated>2015-06-25T14:42:13+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-06-25T14:42:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=59fba2d6ea31c134c9c0b88dc73cd25b236f167c'/>
<id>urn:sha1:59fba2d6ea31c134c9c0b88dc73cd25b236f167c</id>
<content type='text'>
Previous to this patch each time a bytes object was referenced a new
instance (with the same data) was created.  With this patch a single
bytes object is created in the compiler and is loaded directly at execute
time as a true constant (similar to loading bignum and float objects).
This saves on allocating RAM and means that bytes objects can now be
used when the memory manager is locked (eg in interrupts).

The MP_BC_LOAD_CONST_BYTES bytecode was removed as part of this.

Generated bytecode is slightly larger due to storing a pointer to the
bytes object instead of the qstr identifier.

Code size is reduced by about 60 bytes on Thumb2 architectures.
</content>
</entry>
<entry>
<title>py: Add MP_BINARY_OP_DIVMOD to simplify and consolidate divmod builtin.</title>
<updated>2015-06-13T22:36:30+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-06-13T21:00:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c5029bcbf37fd1a3fb145d9fa9e4a5094478f17b'/>
<id>urn:sha1:c5029bcbf37fd1a3fb145d9fa9e4a5094478f17b</id>
<content type='text'>
</content>
</entry>
</feed>
