<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/objnamedtuple.c, branch v1.3.10</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.10</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.10'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-01-24T20:21:09+00:00</updated>
<entry>
<title>py: Fix segfault in namedtuple when name is a non-interned string</title>
<updated>2015-01-24T20:21:09+00:00</updated>
<author>
<name>stijn</name>
<email>stinos@zoho.com</email>
</author>
<published>2015-01-21T12:22:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6b636738b29223ff90cc9ce600aef4e5580570ed'/>
<id>urn:sha1:6b636738b29223ff90cc9ce600aef4e5580570ed</id>
<content type='text'>
- namedtuple was wrongly using MP_OBJ_QSTR_VALUE instead of mp_obj_str_get_qstr,
so when passed a non-interned string it would segfault; fix this by using mp_obj_str_get_qstr
- store the namedtuple field names as qstrs so it is not needed to use mp_obj_str_get_qstr
everytime the field name has to be accessed. This also slighty increases performance when
fetching attributes
</content>
</entry>
<entry>
<title>py, unix: Allow to compile with -Wunused-parameter.</title>
<updated>2015-01-20T12:47:20+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-20T12:47:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ff8dd3f486afb0d6ff1427d8a6a8a8ed73baa660'/>
<id>urn:sha1:ff8dd3f486afb0d6ff1427d8a6a8a8ed73baa660</id>
<content type='text'>
See issue #699.
</content>
</entry>
<entry>
<title>py: Move to guarded includes, everywhere in py/ core.</title>
<updated>2015-01-01T20:32:09+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-01T20:27:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=51dfcb4bb7613ed164952712d9a5235a7b833cde'/>
<id>urn:sha1:51dfcb4bb7613ed164952712d9a5235a7b833cde</id>
<content type='text'>
Addresses issue #1022.
</content>
</entry>
<entry>
<title>py: Change namedtuple error messages to reduce code size.</title>
<updated>2015-01-01T15:43:25+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-01T15:43:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=84e0cf0d215d1248a6f2c4dc977c5702f317fe06'/>
<id>urn:sha1:84e0cf0d215d1248a6f2c4dc977c5702f317fe06</id>
<content type='text'>
We are not word-for-word compatible with CPython exceptions, so we are
free to make them short but informative in order to reduce code size.
Also, try to make messages the same as existing ones where possible.
</content>
</entry>
<entry>
<title>py: Make terse_arg_mismatch a global function and use it elsewhere.</title>
<updated>2015-01-01T15:33:50+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-01T15:33:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7f23384d4920f7d1a4ea743a51a2d54fd0889e72'/>
<id>urn:sha1:7f23384d4920f7d1a4ea743a51a2d54fd0889e72</id>
<content type='text'>
Reduces code size when MICROPY_ERROR_REPORTING_TERSE is selected.
</content>
</entry>
<entry>
<title>objnamedtuple: Make sure to initialize type structure completely.</title>
<updated>2015-01-01T13:31:51+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-01-01T13:31:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=276159e5ddedfdb863bf34e4ae25c58621af5750'/>
<id>urn:sha1:276159e5ddedfdb863bf34e4ae25c58621af5750</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Allow keyword arguments for namedtuple</title>
<updated>2015-01-01T12:53:23+00:00</updated>
<author>
<name>stijn</name>
<email>stinos@zoho.com</email>
</author>
<published>2014-12-20T15:38:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=021dc440099155ec766fc54559000981f7f8d593'/>
<id>urn:sha1:021dc440099155ec766fc54559000981f7f8d593</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Use sequence of strings for named tuple initialization</title>
<updated>2015-01-01T12:53:23+00:00</updated>
<author>
<name>stijn</name>
<email>stinos@zoho.com</email>
</author>
<published>2014-12-20T15:37:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=12340147b0ace7c1feeaf36b618c92652bdb849f'/>
<id>urn:sha1:12340147b0ace7c1feeaf36b618c92652bdb849f</id>
<content type='text'>
- remove single string initialization style
- take list of strings instead
- store list in the type for fast lookup
</content>
</entry>
<entry>
<title>py: Make functions static where appropriate.</title>
<updated>2014-12-10T22:08:14+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-12-10T22:07:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=969a6b37bfc655609e540053c2bdcce8a6fdc64d'/>
<id>urn:sha1:969a6b37bfc655609e540053c2bdcce8a6fdc64d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Convert [u]int to mp_[u]int_t where appropriate.</title>
<updated>2014-10-03T17:44:14+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-03T17:44:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=42f3de924bc3e285490f5f293955bc6d7e5a0edf'/>
<id>urn:sha1:42f3de924bc3e285490f5f293955bc6d7e5a0edf</id>
<content type='text'>
Addressing issue #50.
</content>
</entry>
</feed>
