<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython, branch v1.8.2</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.2</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.2'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-07-10T11:46:50+00:00</updated>
<entry>
<title>docs: Bump version to 1.8.2.</title>
<updated>2016-07-10T11:46:50+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-07-10T11:46:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1459a8d5c9b29c78da2cf5c7cf3c37ab03b34b8e'/>
<id>urn:sha1:1459a8d5c9b29c78da2cf5c7cf3c37ab03b34b8e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>travis: Run unix thread tests.</title>
<updated>2016-07-09T15:53:40+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-07-09T15:53:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=56bb6f3979c6f46b5a71a05844718aba1717eccb'/>
<id>urn:sha1:56bb6f3979c6f46b5a71a05844718aba1717eccb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/run-tests: If running thread tests on unix, don't run mutate ones.</title>
<updated>2016-07-09T15:52:57+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-07-09T15:52:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2b5a1067c0664836ad8737832754f0866f549fd1'/>
<id>urn:sha1:2b5a1067c0664836ad8737832754f0866f549fd1</id>
<content type='text'>
They will fail because the GIL is disabled on the unix build.
</content>
</entry>
<entry>
<title>unix: Disable the GIL to improve performance of non-thread code.</title>
<updated>2016-07-09T15:48:06+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-07-09T15:48:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3096928d5ab6544c3f85639e1b97ac2cefcc2a74'/>
<id>urn:sha1:3096928d5ab6544c3f85639e1b97ac2cefcc2a74</id>
<content type='text'>
Threading support is still very new so stay conservative at this point
and enable threading without the GIL.  This requires users to protect
concurrent access of mutatable Python objects (eg lists) with locks at
the Python level (something you should probably do anyway).  The
advantage is that there is less of a performance hit for non-threaded
code, because the VM does not need to constantly release/acquire the GIL.

In the future the GIL will be made more efficient.  There is also room to
improve the efficiency of non-GIL code by not using mutex's if there is
only one thread active.
</content>
</entry>
<entry>
<title>unix/main: When preparing sys.path, allocate exact strings on uPy heap.</title>
<updated>2016-07-08T22:48:07+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-08T22:48:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=520f35632d78e1b73f647d993205aade0de8b1ce'/>
<id>urn:sha1:520f35632d78e1b73f647d993205aade0de8b1ce</id>
<content type='text'>
Due to the way modern compilers work (allocating space for stack vars once
at tha start of function, and deallocating once on exit from), using
intermediate stack buffer of big size caused blockage of 4K (PATH_MAX)
on stack for the entire duration of MicroPython execution.
</content>
</entry>
<entry>
<title>unix/main: Improve help for -X options a bit.</title>
<updated>2016-07-08T17:53:08+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-08T17:53:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=649b69a1dbc91c7df8809c4a20c6287b23ac7f52'/>
<id>urn:sha1:649b69a1dbc91c7df8809c4a20c6287b23ac7f52</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unix/main: Error out on unknown value of suffix in -X heapsize= option.</title>
<updated>2016-07-08T17:49:41+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-08T17:45:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0e5e14fe7cd97fa83e822c1e105cf498dbb4d276'/>
<id>urn:sha1:0e5e14fe7cd97fa83e822c1e105cf498dbb4d276</id>
<content type='text'>
E.g. -X heapsize=16Kfoo, -X heapsize=1G will lead to error.
</content>
</entry>
<entry>
<title>extmod/moduos_dupterm: Reuse dupterm_arr_obj for write operations.</title>
<updated>2016-07-06T23:16:24+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-06T23:16:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a4c8a1ffe86ace0b4394d751a2d3716f7d865ba6'/>
<id>urn:sha1:a4c8a1ffe86ace0b4394d751a2d3716f7d865ba6</id>
<content type='text'>
Instead of allocating new array object header again and again, causing
memory fragmentation.
</content>
</entry>
<entry>
<title>py/objarray: Split out header to allow direct access to object.</title>
<updated>2016-07-06T15:19:27+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-06T15:18:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ec7fe925312845f788590ce5ccb2a8b3a18a0486'/>
<id>urn:sha1:ec7fe925312845f788590ce5ccb2a8b3a18a0486</id>
<content type='text'>
This follows source code/header file organization similar to few other
objects, and intended to be used only is special cases, where efficiency/
simplicity matters.
</content>
</entry>
<entry>
<title>esp8266/esp_mphal: Properly handle dupterm EOF after switching to readinto().</title>
<updated>2016-07-05T11:18:12+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-05T11:18:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=380561836d8d752d55765578506450d7121355b5'/>
<id>urn:sha1:380561836d8d752d55765578506450d7121355b5</id>
<content type='text'>
</content>
</entry>
</feed>
