<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/cmdline, branch v1.4.3</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.4.3</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.4.3'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-05-12T21:46:02+00:00</updated>
<entry>
<title>py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function.</title>
<updated>2015-05-12T21:46:02+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-05-11T12:25:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c2a4e4effc81d8ab21bb014e34355643e5ca0da2'/>
<id>urn:sha1:c2a4e4effc81d8ab21bb014e34355643e5ca0da2</id>
<content type='text'>
Hashing is now done using mp_unary_op function with MP_UNARY_OP_HASH as
the operator argument.  Hashing for int, str and bytes still go via
fast-path in mp_unary_op since they are the most common objects which
need to be hashed.

This lead to quite a bit of code cleanup, and should be more efficient
if anything.  It saves 176 bytes code space on Thumb2, and 360 bytes on
x86.

The only loss is that the error message "unhashable type" is now the
more generic "unsupported type for __hash__".
</content>
</entry>
<entry>
<title>py: Fix naming of function arguments when function is a closure.</title>
<updated>2015-05-06T12:55:33+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-05-06T12:55:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9a42eb541eb426a04bb0541ccf0e26ce82bdcb22'/>
<id>urn:sha1:9a42eb541eb426a04bb0541ccf0e26ce82bdcb22</id>
<content type='text'>
Addresses issue #1226.
</content>
</entry>
<entry>
<title>tests: Fix cmd_showbc now that LOAD_CONST_ELLIPSIS bytecode is gone.</title>
<updated>2015-05-05T22:58:52+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-05-05T22:58:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=367d4d10983c0047d2f1c91ebe44a45e5f2bbf65'/>
<id>urn:sha1:367d4d10983c0047d2f1c91ebe44a45e5f2bbf65</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Modify bytecode "with" behaviour so it doesn't use any heap.</title>
<updated>2015-04-24T00:52:28+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-24T00:52:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8c1d23a0e20da2903f363448e8042e5d08caabe7'/>
<id>urn:sha1:8c1d23a0e20da2903f363448e8042e5d08caabe7</id>
<content type='text'>
Before this patch a "with" block needed to create a bound method object
on the heap for the __exit__ call.  Now it doesn't because we use
load_method instead of load_attr, and save the method+self on the stack.
</content>
</entry>
<entry>
<title>py: Simplify bytecode prelude when encoding closed over variables.</title>
<updated>2015-04-06T23:08:17+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-06T23:08:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c9aa1883ed87da61d5745036dc55c382c3f4d6ca'/>
<id>urn:sha1:c9aa1883ed87da61d5745036dc55c382c3f4d6ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Add missing tests for builtins, and many other things.</title>
<updated>2015-04-04T21:05:30+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-04T21:05:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9dd36404646f857c4f250537bac0d9a8ad041d25'/>
<id>urn:sha1:9dd36404646f857c4f250537bac0d9a8ad041d25</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Adjust expected output, since Travis can't do git describe.</title>
<updated>2015-03-20T21:31:50+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-03-20T21:31:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d478fc75b3414d6672cefd7131cc710f513fd76e'/>
<id>urn:sha1:d478fc75b3414d6672cefd7131cc710f513fd76e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Make cmdline tests more stable by using regex for matching.</title>
<updated>2015-03-20T17:25:25+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-03-20T17:25:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1004535237e8edc5ec671ab8bea6fd2150139c54'/>
<id>urn:sha1:1004535237e8edc5ec671ab8bea6fd2150139c54</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Don't try to verify amount of memory used in cmd_showbc test.</title>
<updated>2015-03-14T17:38:41+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-03-14T17:38:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0683c1ceefe328399d967b85f172544eef04a832'/>
<id>urn:sha1:0683c1ceefe328399d967b85f172544eef04a832</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Add cmdline test to test showbc code.</title>
<updated>2015-03-14T14:06:20+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-03-14T14:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=703c00968178cdfd18ef094fda4e99330bbf9cac'/>
<id>urn:sha1:703c00968178cdfd18ef094fda4e99330bbf9cac</id>
<content type='text'>
</content>
</entry>
</feed>
