<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/objstr.c, branch v1.8.7</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.7</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.7'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-09-27T05:45:42+00:00</updated>
<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>
<entry>
<title>py/objstr*: Properly ifdef str.center().</title>
<updated>2016-05-21T22:54:41+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2016-05-21T22:41:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6a60fb3cf4e2596e5c4bfe9fefefa80e7ccbb71e'/>
<id>urn:sha1:6a60fb3cf4e2596e5c4bfe9fefefa80e7ccbb71e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objstr: Implement str.center().</title>
<updated>2016-05-21T21:13:44+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-05-21T21:13:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1b5abfcaae0188233415b37dcc0a3df1c7ee0656'/>
<id>urn:sha1:1b5abfcaae0188233415b37dcc0a3df1c7ee0656</id>
<content type='text'>
Disabled by default, enabled in unix port. Need for this method easily
pops up when working with text UI/reporting, and coding workalike
manually again and again counter-productive.
</content>
</entry>
</feed>
