Cosimo Lupo d0b6bdafa0 [psLib] make PSTokenizer indipendent StringIO-like object; fix issues with python3 (bytes vs unicode)
PSTokenizer is now an indipendent object behaving like a StringIO.StringIO: it has `read` and `close` methods, as well as `buf`, `pos` and `len` attributes.

The input data is a string of bytes, and the output tokens are ascii-decoded unicode strings.

(I removed "__main__" as it was using a non-py23 EasyDialogs module)

See https://github.com/behdad/fonttools/issues/393.

Related to https://github.com/behdad/fonttools/issues/391.
2015-10-22 19:55:33 +01:00
..
2015-10-18 00:09:32 +02:00
3.0
2015-08-31 18:57:15 +01:00
2015-04-26 02:17:13 -04:00
2015-10-22 19:54:53 +01:00
2014-01-28 16:42:24 -05:00