<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/misc, branch travis-esp8266</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=travis-esp8266</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=travis-esp8266'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-06-04T18:10:43+00:00</updated>
<entry>
<title>tests/recursive_iternext: Clang/Linux is even more stack-frugal than MacOS.</title>
<updated>2016-06-04T18:10:43+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-06-04T00:09:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a1a261d8e892007dd01a51255978ac601c0b427f'/>
<id>urn:sha1:a1a261d8e892007dd01a51255978ac601c0b427f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/misc/recursive_iternext: Provide more fine-grained selection of N.</title>
<updated>2016-06-03T14:09:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-06-03T14:09:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7d60a9791455358890467be295607b839a9140ae'/>
<id>urn:sha1:7d60a9791455358890467be295607b839a9140ae</id>
<content type='text'>
To work on a variety of ports the selection of N is very specific.
</content>
</entry>
<entry>
<title>tests/misc/recursive_iternext.py: Increase depth N from 1000 to 2000.</title>
<updated>2016-06-03T08:33:57+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-06-03T08:33:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ddadbaed06913dd05f786a30bca820f8a58c11c3'/>
<id>urn:sha1:ddadbaed06913dd05f786a30bca820f8a58c11c3</id>
<content type='text'>
This makes the test reliably overflow the recursion limit (which is the
correct behaviour) on Mac OS X.
</content>
</entry>
<entry>
<title>tests: Make "io" modules fixes for CPython compatibility.</title>
<updated>2016-05-02T11:38:07+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-05-02T11:35:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=566d8f1d7e1eb1a0cd595d4e76401ea5d54b0ef4'/>
<id>urn:sha1:566d8f1d7e1eb1a0cd595d4e76401ea5d54b0ef4</id>
<content type='text'>
Previously, "import _io" worked on both CPython and MicroPython (essentially
by a chance on CPython, as there's not guarantee that its contents will stay
the same across versions), but as the module was renamed to uio, need to use
more robust import sequence for compatibility.
</content>
</entry>
<entry>
<title>tests: Update for _io/_collections module having been renamed.</title>
<updated>2016-05-02T11:15:11+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-05-02T11:15:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8c35f3979c38bc8a29a22e7a61d33f87ff856124'/>
<id>urn:sha1:8c35f3979c38bc8a29a22e7a61d33f87ff856124</id>
<content type='text'>
</content>
</entry>
<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>
</feed>
