<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/objstr.c, branch 0.10.0</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.10.0</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.10.0'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-02-24T15:46:38+00:00</updated>
<entry>
<title>Correct name of mp_raise_NotImplementedError to make error name.</title>
<updated>2017-02-24T15:46:38+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-02-24T15:46:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=75d6abe3bb57cf75915a056e5e98e4b79efec2ad'/>
<id>urn:sha1:75d6abe3bb57cf75915a056e5e98e4b79efec2ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Switch exception throwing to mp_raise helpers. It saves a little code space each time to share the call.</title>
<updated>2017-02-24T14:13:07+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-02-24T14:13:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=12fa5b3a66d6f0034113a56c7d647c7bac5be74c'/>
<id>urn:sha1:12fa5b3a66d6f0034113a56c7d647c7bac5be74c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objstr: Remove unreachable function used only for terse error msgs.</title>
<updated>2016-09-27T05:45:42+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-27T05:45:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=897129a7ff46ee82228369ed8fab43a7c0acb692'/>
<id>urn:sha1:897129a7ff46ee82228369ed8fab43a7c0acb692</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: If str/bytes hash is 0 then explicitly compute it.</title>
<updated>2016-09-02T04:49:50+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-02T04:42:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5f3bda422a18d49fb282a93968b658c568343b7d'/>
<id>urn:sha1:5f3bda422a18d49fb282a93968b658c568343b7d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objstr: Use mp_raise_{Type,Value}Error instead of mp_raise_msg.</title>
<updated>2016-08-14T06:51:54+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-08-14T06:51:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=21967990519b3d0778770ddb0994216d012101c3'/>
<id>urn:sha1:21967990519b3d0778770ddb0994216d012101c3</id>
<content type='text'>
This patch does further refactoring using the new mp_raise_TypeError
and mp_raise_ValueError functions.
</content>
</entry>
<entry>
<title>py: Get rid of assert() in method argument checking functions.</title>
<updated>2016-08-12T19:39:03+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-08-12T19:06:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c4a8004933d1ae4da52f175d456d6fbe765c3923'/>
<id>urn:sha1:c4a8004933d1ae4da52f175d456d6fbe765c3923</id>
<content type='text'>
Checks for number of args removes where guaranteed by function descriptor,
self checking is replaced with mp_check_self(). In few cases, exception
is raised instead of assert.
</content>
</entry>
<entry>
<title>py/runtime: Factor out exception raising helpers.</title>
<updated>2016-08-12T18:28:45+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-08-12T18:26:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9e1b61dedd82dffccbe4f20996eadaf79726d427'/>
<id>urn:sha1:9e1b61dedd82dffccbe4f20996eadaf79726d427</id>
<content type='text'>
Introduce mp_raise_msg(), mp_raise_ValueError(), mp_raise_TypeError()
instead of previous pattern nlr_raise(mp_obj_new_exception_msg(...)).
Save few bytes on each call, which are many.
</content>
</entry>
<entry>
<title>py/objstr,objstrunicode: Fix inconistent #if indentation.</title>
<updated>2016-08-07T12:24:57+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-08-07T12:24:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=15633880010f70d80703af4c5a6ebbccf989ef3e'/>
<id>urn:sha1:15633880010f70d80703af4c5a6ebbccf989ef3e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objstr: Make .partition()/.rpartition() methods configurable.</title>
<updated>2016-08-07T03:46:55+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-08-07T03:46:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=56eb25f04928132f9921a1163684e626256e2a2c'/>
<id>urn:sha1:56eb25f04928132f9921a1163684e626256e2a2c</id>
<content type='text'>
Default is disabled, enabled for unix port. Saves 600 bytes on x86.
</content>
</entry>
<entry>
<title>py/objstr: Fix mix-signed comparison in str.center().</title>
<updated>2016-05-21T23:22:14+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-05-21T23:22:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9dde6062cc80152c08e16e7bc3536d53e8a2de05'/>
<id>urn:sha1:9dde6062cc80152c08e16e7bc3536d53e8a2de05</id>
<content type='text'>
</content>
</entry>
</feed>
