Damien George
|
5fa93b6755
|
Second stage of qstr revamp: uPy str object can be qstr or not.
|
2014-01-22 14:35:10 +00:00 |
Damien George
|
12eaccacda
|
Merge branch 'master' of github.com:micropython/micropython
Conflicts:
py/objstr.c
py/py.mk
py/stream.c
unix/main.c
unix/socket.c
|
2014-01-21 21:54:15 +00:00 |
Damien George
|
55baff4c9b
|
Revamp qstrs: they now include length and hash.
Can now have null bytes in strings. Can define ROM qstrs per port using
qstrdefsport.h
|
2014-01-21 21:40:13 +00:00 |
Paul Sokolovsky
|
ff3bdea49d
|
stream_read(): Shrink memory block to actual read size.
|
2014-01-20 20:37:01 +02:00 |
Paul Sokolovsky
|
d54bef7692
|
stream: Add generic unbuffered iternext method.
Uses stream_unbuffered_readline underline.
|
2014-01-20 18:42:08 +02:00 |
Damien George
|
a11ceca807
|
Change int to uint for n_args in function with variable arguments.
|
2014-01-19 16:02:09 +00:00 |
Paul Sokolovsky
|
a671f891dd
|
Make file.read() and file.read(-1) call out to file.readall().
Per Python3 io module semantics.
|
2014-01-16 12:58:36 +02:00 |
Paul Sokolovsky
|
323c09e881
|
Do not assume that vstr buf is the same after it was extended.
|
2014-01-16 12:58:18 +02:00 |
Paul Sokolovsky
|
9953ca432b
|
Add unbuffered readline() implementation for Raw I/O files.
|
2014-01-15 23:43:25 +02:00 |
Paul Sokolovsky
|
5225450b9f
|
Add generic impl of stream .readall() method. Use one for unix io.FileIO.
|
2014-01-13 23:31:06 +02:00 |
Damien George
|
6c73ca1e75
|
py: add variable argument exception constructor function.
Addresses issue #104.
|
2014-01-08 18:11:23 +00:00 |
Paul Sokolovsky
|
e98cf40c34
|
Add generic implementations of Python read()/write methods for streams.
These can be used for any object which implements stream protocol
(mp_stream_p_t).
|
2014-01-08 17:38:38 +02:00 |