<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/stream.c, branch v1.0.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.0.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.0.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-05-06T23:25:45+00:00</updated>
<entry>
<title>stream: Make non-blcoking stream support configurable.</title>
<updated>2014-05-06T23:25:45+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-05-06T23:23:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0ef015b2533f7faeede18382c1d1f4eac919244b'/>
<id>urn:sha1:0ef015b2533f7faeede18382c1d1f4eac919244b</id>
<content type='text'>
Enable only on unix. To avoid unpleasant surprises with error codes.
</content>
</entry>
<entry>
<title>stream: Use standard name of DEFAULT_BUFFER_SIZE.</title>
<updated>2014-05-06T23:17:14+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-05-06T22:51:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b9be45e421b09fe58ba23764f928c1ec8acc37e2'/>
<id>urn:sha1:b9be45e421b09fe58ba23764f928c1ec8acc37e2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stream: Add compliant handling of non-blocking readall().</title>
<updated>2014-05-06T23:17:14+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-05-06T22:48:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6e73143de894126c7b453dbe3185b9f1b39d487b'/>
<id>urn:sha1:6e73143de894126c7b453dbe3185b9f1b39d487b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stream: Add compliant handling of non-blocking read()/write().</title>
<updated>2014-05-06T23:17:14+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-05-06T22:39:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a592104acdc56fa6511311ecfe6d4de63415d5ab'/>
<id>urn:sha1:a592104acdc56fa6511311ecfe6d4de63415d5ab</id>
<content type='text'>
In case of empty non-blocking read()/write(), both return None. read()
cannot return 0, as that means EOF, so returns another value, and then
write() just follows. This is still pretty unexpected, and typical
"if not len:" check would treat this as EOF. Well, non-blocking files
require special handling!

This also kind of makes it depending on POSIX, but well, anything else
should emulate POSIX anyway ;-).
</content>
</entry>
<entry>
<title>Add license header to (almost) all files.</title>
<updated>2014-05-03T22:27:38+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-03T22:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=04b9147e150d2d6fa3750f312fe328b6a71c1b28'/>
<id>urn:sha1:04b9147e150d2d6fa3750f312fe328b6a71c1b28</id>
<content type='text'>
Blanket wide to all .c and .h files.  Some files originating from ST are
difficult to deal with (license wise) so it was left out of those.

Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
</content>
</entry>
<entry>
<title>py, stream: Implement readlines for a stream.</title>
<updated>2014-05-03T21:01:32+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-03T21:01:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d5f5b2f76698e29f9cc2f0ae682d2475c0d77baa'/>
<id>urn:sha1:d5f5b2f76698e29f9cc2f0ae682d2475c0d77baa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py, unix: Make "mpconfig.h" be first included, as other headers depend on it.</title>
<updated>2014-05-02T14:48:40+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-05-02T14:47:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f54bcbf0997211a3d2a04bab09c79f602fa0c8e9'/>
<id>urn:sha1:f54bcbf0997211a3d2a04bab09c79f602fa0c8e9</id>
<content type='text'>
Specifically, nlr.h does.
</content>
</entry>
<entry>
<title>streams: Make .write() support arbitrary objects with buffer interface.</title>
<updated>2014-04-26T02:54:16+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-04-26T02:46:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=45fb143ba62b70fc25264401f86ed79494d73ff9'/>
<id>urn:sha1:45fb143ba62b70fc25264401f86ed79494d73ff9</id>
<content type='text'>
This in particular fixes writing str vs bytes.
</content>
</entry>
<entry>
<title>py: Add MP_OBJ_STOP_ITERATION and make good use of it.</title>
<updated>2014-04-17T22:19:36+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-17T22:19:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ea8d06c39d9c94036e490b300d46f367c9eb78d9'/>
<id>urn:sha1:ea8d06c39d9c94036e490b300d46f367c9eb78d9</id>
<content type='text'>
Also make consistent use of MP_OBJ_NOT_SUPPORTED and MP_OBJ_NULL.
This helps a lot in debugging and understanding of function API.
</content>
</entry>
<entry>
<title>py: the entire `&lt;unistd.h&gt;` shouldn't be needed</title>
<updated>2014-04-12T15:45:35+00:00</updated>
<author>
<name>Ilya Dmitrichenko</name>
<email>ilya@xively.com</email>
</author>
<published>2014-04-12T15:44:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5630b01920a81a59cba0c392dfdacf2ba0b1d5db'/>
<id>urn:sha1:5630b01920a81a59cba0c392dfdacf2ba0b1d5db</id>
<content type='text'>
</content>
</entry>
</feed>
