<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/misc, branch v1.7</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.7</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.7'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-03-07T08:30:02+00:00</updated>
<entry>
<title>tests/recursive_iternext.py: Make low-heap friendly.</title>
<updated>2016-03-07T08:30:02+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-02-13T13:50:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b86c20676e4a014f8585fa07512fe89eb66da997'/>
<id>urn:sha1:b86c20676e4a014f8585fa07512fe89eb66da997</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/print_exception: Use exception which prints the same regardless of config.</title>
<updated>2016-03-07T07:10:06+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-02-13T15:55:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=419bb26ddc3017fb87cd9ce1853bc4f64f052394'/>
<id>urn:sha1:419bb26ddc3017fb87cd9ce1853bc4f64f052394</id>
<content type='text'>
NameError may either include offending name or not. Unfortunately, this
change makes test float-dependent. And using integer division leads to
different error message than CPython.
</content>
</entry>
<entry>
<title>py/mpz: Complete implementation of mpz_{and,or,xor} for negative args.</title>
<updated>2016-02-03T22:13:39+00:00</updated>
<author>
<name>Doug Currie</name>
<email>github.9.eeeeeee@spamgourmet.com</email>
</author>
<published>2016-01-31T03:35:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2e2e15cec2f85ece763f3f80152d759aecfad47c'/>
<id>urn:sha1:2e2e15cec2f85ece763f3f80152d759aecfad47c</id>
<content type='text'>
For these 3 bitwise operations there are now fast functions for
positive-only arguments, and general functions for arbitrary sign
arguments (the fast functions are the existing implementation).

By default the fast functions are not used (to save space) and instead
the general functions are used for all operations.

Enable MICROPY_OPT_MPZ_BITWISE to use the fast functions for positive
arguments.
</content>
</entry>
<entry>
<title>py/parse: Improve constant folding to operate on small and big ints.</title>
<updated>2016-01-07T14:40:35+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-07T14:40:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=22b2265053ef9fec4b1aedab770b32f71b0c85f7'/>
<id>urn:sha1:22b2265053ef9fec4b1aedab770b32f71b0c85f7</id>
<content type='text'>
Constant folding in the parser can now operate on big ints, whatever
their representation.  This is now possible because the parser can create
parse nodes holding arbitrary objects.  For the case of small ints the
folding is still efficient in RAM because the folded small int is stored
inplace in the parse node.

Adds 48 bytes to code size on Thumb2 architecture.  Helps reduce heap
usage because more constants can be computed at compile time, leading to
a smaller parse tree, and most importantly means that the constants don't
have to be computed at runtime (perhaps more than once).  Parser will now
be a little slower when folding due to calls to runtime to do the
arithmetic.
</content>
</entry>
<entry>
<title>tests: Allow tests to pass against CPython 3.5.</title>
<updated>2015-10-02T12:01:47+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-02T12:01:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=34f26ea862d18c61a66f36f44277bb954bf36cd1'/>
<id>urn:sha1:34f26ea862d18c61a66f36f44277bb954bf36cd1</id>
<content type='text'>
All breaking changes going from 3.4 to 3.5 are contained in
basics/python34.py.
</content>
</entry>
<entry>
<title>py/mpz: Raise NotImplError instead of failing assertion.</title>
<updated>2015-10-01T16:57:36+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-01T16:57:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4c02e54298b0f955c5d60023310b724baa890d67'/>
<id>urn:sha1:4c02e54298b0f955c5d60023310b724baa890d67</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/lexer: Raise NotImplError for unicode name escape, instead of assert.</title>
<updated>2015-09-07T16:08:49+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-07T16:08:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=081f9325f522b25e2f6b4266dca3f2d2dd1c69ac'/>
<id>urn:sha1:081f9325f522b25e2f6b4266dca3f2d2dd1c69ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Add tests for non-compliant behaviour of lexer.</title>
<updated>2015-09-07T15:59:55+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-07T15:59:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a7ffa972f30052368ccd304787bbe523d212fc57'/>
<id>urn:sha1:a7ffa972f30052368ccd304787bbe523d212fc57</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objstr: For str.endswith(s, start) raise NotImpl instead of assert.</title>
<updated>2015-09-04T15:49:56+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-04T15:49:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=55b11e6d38731ffb1a7378f936c940c61aef8743'/>
<id>urn:sha1:55b11e6d38731ffb1a7378f936c940c61aef8743</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Add tests to improve coverage of objstr.c.</title>
<updated>2015-09-03T22:06:18+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-03T22:06:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=25afc7da0db43754f6b4373a10b66551dd3cbd57'/>
<id>urn:sha1:25afc7da0db43754f6b4373a10b66551dd3cbd57</id>
<content type='text'>
</content>
</entry>
</feed>
