<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/basics/set_binop.py, branch main</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-12-19T02:59:54+00:00</updated>
<entry>
<title>tests/basics: Add more set tests to improve coverage of py/objset.c.</title>
<updated>2017-12-19T02:59:54+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-12-19T02:59:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7208cad97afb4f65902f7943ace425f652eeb669'/>
<id>urn:sha1:7208cad97afb4f65902f7943ace425f652eeb669</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objset: Check that RHS of a binary op is a set/frozenset.</title>
<updated>2017-10-03T06:56:27+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-10-03T06:56:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2ac1364688cd3ee313661e82a336663551986fc8'/>
<id>urn:sha1:2ac1364688cd3ee313661e82a336663551986fc8</id>
<content type='text'>
CPython docs explicitly state that the RHS of a set/frozenset binary op
must be a set to prevent user errors.  It also preserves commutativity of
the ops, eg: "abc" &amp; set() is a TypeError, and so should be set() &amp; "abc".

This change actually decreases unix (x64) code by 160 bytes; it increases
stm32 by 4 bytes and esp8266 by 28 bytes (but previous patch already
introduced a much large saving).
</content>
</entry>
<entry>
<title>tests/basics/set_binop: Add tests for inplace set operations.</title>
<updated>2017-02-02T12:36:53+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-02-02T12:36:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=05c70fdfba7e5c0f9104c927e29822a8da8c467f'/>
<id>urn:sha1:05c70fdfba7e5c0f9104c927e29822a8da8c467f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Add more tests to improve coverage, mostly testing exceptions.</title>
<updated>2015-08-21T11:02:09+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-08-21T10:56:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d007cb890394d9d26c6fafb133532a5175d91eb2'/>
<id>urn:sha1:d007cb890394d9d26c6fafb133532a5175d91eb2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Modify set tests to print sorted sets directly</title>
<updated>2014-04-07T04:00:03+00:00</updated>
<author>
<name>Andrew Scheller</name>
<email>github@loowis.durge.org</email>
</author>
<published>2014-04-07T04:00:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1ff6011abc47cb3a42ed89c9c682ac8a0af6b092'/>
<id>urn:sha1:1ff6011abc47cb3a42ed89c9c682ac8a0af6b092</id>
<content type='text'>
instead of creating temporary lists and sorting those in-place
</content>
</entry>
<entry>
<title>tests: Fix more tests which depend on order of elements in set.</title>
<updated>2014-04-07T00:08:46+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-04-07T00:06:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4d2238d2cedafd9eb04fe01986df34bc099e80e4'/>
<id>urn:sha1:4d2238d2cedafd9eb04fe01986df34bc099e80e4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move tests in basic/tests/ up one level preparating to multiple test dirs.</title>
<updated>2014-01-19T16:41:55+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-01-19T16:41:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8c3858b01623f9527b57b13c44ff97c67bafb00b'/>
<id>urn:sha1:8c3858b01623f9527b57b13c44ff97c67bafb00b</id>
<content type='text'>
</content>
</entry>
</feed>
