circuitpython/unix
Damien George 1694bc733d py: Add stream reading of n unicode chars; unicode support by default.
With unicode enabled, this patch allows reading a fixed number of
characters from text-mode streams; eg file.read(5) will read 5 unicode
chars, which can made of more than 5 bytes.

For an ASCII stream (ie no chars > 127) it only needs to do 1 read.  If
there are lots of non-ASCII chars in a stream, then it needs multiple
reads of the underlying object.

Adds a new test for this case.  Enables unicode support by default on
unix and stmhal ports.
2014-07-19 18:34:04 +01:00
..
.gitignore Revamp qstrs: they now include length and hash. 2014-01-21 21:40:13 +00:00
file.c unix: file: No fsync() on Windows. 2014-07-13 23:34:35 +03:00
gccollect.c Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
input.c unix: Remove unused CTRL-D definition 2014-06-25 13:33:10 +02:00
input.h Add input command for unix 2014-05-07 07:19:51 -07:00
main.c Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
Makefile unix: Don't error out on #warning directive. 2014-06-22 19:20:55 +03:00
modffi.c Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
modos.c Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
modsocket.c Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
modtime.c Rename machine_(u)int_t to mp_(u)int_t. 2014-07-03 13:25:24 +01:00
mpconfigport.h py: Add stream reading of n unicode chars; unicode support by default. 2014-07-19 18:34:04 +01:00
mpconfigport.mk Rename configuration variables controling Python features. 2014-05-24 23:03:12 +01:00
qstrdefsport.h unix: file: Implement .flush() method. 2014-07-13 23:14:24 +03:00
seg_helpers.c unix: Create __bss_start and _end symbols for Mach-O targets. 2014-05-12 00:13:10 +02:00