<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/lib/utils, branch v1.8.4</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.4</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.4'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-09-05T02:18:53+00:00</updated>
<entry>
<title>py: Add MICROPY_USE_INTERNAL_PRINTF option, defaults to enabled.</title>
<updated>2016-09-05T02:18:53+00:00</updated>
<author>
<name>Delio Brignoli</name>
<email>brignoli.delio@gmail.com</email>
</author>
<published>2016-08-21T09:33:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e2ac8bb3f14b076a29244022865e3b47c6c0800a'/>
<id>urn:sha1:e2ac8bb3f14b076a29244022865e3b47c6c0800a</id>
<content type='text'>
This new config option allows to control whether MicroPython uses its own
internal printf or not (if not, an external one should be linked in).
Accompanying this new option is the inclusion of lib/utils/printf.c in the
core list of source files, so that ports no longer need to include it
themselves.
</content>
</entry>
<entry>
<title>lib/utils/pyexec: qstr_pool_info() requires size_t* parameters.</title>
<updated>2016-08-29T21:58:42+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-08-29T21:58:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bae62d9abe3db0f60f681f79b684ec7e5fb25fda'/>
<id>urn:sha1:bae62d9abe3db0f60f681f79b684ec7e5fb25fda</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib/utils/stdout_helpers: Fix function signature to match py/mphal.h.</title>
<updated>2016-08-25T12:23:50+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-08-25T12:22:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9897bcaa731d9dfe62cac61b56698799c8e6bac8'/>
<id>urn:sha1:9897bcaa731d9dfe62cac61b56698799c8e6bac8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib/utils/stdout_helpers: Move from minimal/uart_extra.c for reuse.</title>
<updated>2016-07-22T16:56:27+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-22T16:56:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=43473372e6baa105e9facf13925f5eb750112e61'/>
<id>urn:sha1:43473372e6baa105e9facf13925f5eb750112e61</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib/utils/pyexec: Use full path to readline.h header, per latest conventions.</title>
<updated>2016-07-20T21:14:10+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-20T21:14:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=04c27e5eaaedd99940269ddce867237c003768a0'/>
<id>urn:sha1:04c27e5eaaedd99940269ddce867237c003768a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib/utils/pyhelp: Extract implementation of help(obj) to a library function.</title>
<updated>2016-04-25T15:54:09+00:00</updated>
<author>
<name>Colin Hogben</name>
<email>colin@infinnovation.co.uk</email>
</author>
<published>2016-04-21T19:10:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2b46da234c8fc39f2df5d09ea0c7dc5e05f6635e'/>
<id>urn:sha1:2b46da234c8fc39f2df5d09ea0c7dc5e05f6635e</id>
<content type='text'>
Several ports use identical code for the 1-argument form of the builtin
help function.  Move this code to a library function to allow easier
re-use by ports.
</content>
</entry>
<entry>
<title>lib/utils/pyexec: Condition-out GC calls from pyexec.</title>
<updated>2016-04-19T08:22:40+00:00</updated>
<author>
<name>Colin Hogben</name>
<email>colin@infinnovation.co.uk</email>
</author>
<published>2016-04-18T22:09:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8aa3cbf15312987410e2358c4ee93d8bb8cdf715'/>
<id>urn:sha1:8aa3cbf15312987410e2358c4ee93d8bb8cdf715</id>
<content type='text'>
A port which uses lib/utils/pyexec.c but which does not enable garbage
collection should not need to implement the gc_collect function.

This patch also moves the gc_collect call to after printing the qstr
info.  Since qstrs cannot be collected it should not make any difference
to the printed statistics.
</content>
</entry>
<entry>
<title>py: Add ability to have frozen persistent bytecode from .mpy files.</title>
<updated>2016-04-13T15:07:47+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-31T22:24:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0a2e9650f5383bc1190d6b27a3d923e313c3d879'/>
<id>urn:sha1:0a2e9650f5383bc1190d6b27a3d923e313c3d879</id>
<content type='text'>
The config variable MICROPY_MODULE_FROZEN is now made of two separate
parts: MICROPY_MODULE_FROZEN_STR and MICROPY_MODULE_FROZEN_MPY.  This
allows to have none, either or both of frozen strings and frozen mpy
files (aka frozen bytecode).
</content>
</entry>
<entry>
<title>lib/utils/printf: Rework overriding printer of DEBUG_printf().</title>
<updated>2016-04-13T08:53:12+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-04-13T08:46:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=47442d9f526c7118b56c7cd963862256a3154a54'/>
<id>urn:sha1:47442d9f526c7118b56c7cd963862256a3154a54</id>
<content type='text'>
By default it uses mp_plat_print, but a port may override it to another
value with MICROPY_DEBUG_PRINTER_DEST.
</content>
</entry>
<entry>
<title>esp8266: Disallow recursive calls to REPL.</title>
<updated>2016-04-01T09:53:50+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-04-01T09:53:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=777232c9a5ce15ca7c7b0b3c52dd2a3b00bb1acc'/>
<id>urn:sha1:777232c9a5ce15ca7c7b0b3c52dd2a3b00bb1acc</id>
<content type='text'>
Before this change, if REPL blocked executing some code, it was possible
to still input new statememts and excuting them, all leading to weird,
and portentially dangerous interaction.

TODO: Current implementation may have issues processing input accumulated
while REPL was blocked.
</content>
</entry>
</feed>
