Just van Rossum
5fc65d7168
Misc py23 cleanups ( #2243 )
...
* Replaced all from ...py23 import * with explicit name imports, or removed completely when possible.
* Replaced tounicode() with tostr()
* Changed all BytesIO ans StringIO imports to from io import ..., replaced all UnicodeIO with StringIO.
* Replaced all unichr() with chr()
* Misc minor tweaks and fixes
2021-03-29 11:45:58 +02:00
Cosimo Lupo
d8c42ef7f0
codecs: handle errors different from 'strict' for extended mac encodings
...
Fixes #2132
2020-12-24 20:37:52 +01:00
Nikolaus Waxweiler
01328213c7
Remove __future__ imports
2019-08-09 12:20:13 +01:00
justvanrossum
723e7a1d3c
updated inline github issue URLs
2019-03-06 16:01:28 +01:00
Cosimo Lupo
78ad48eaf3
Move all *_test.py modules and test data to external Tests/ folder
2017-01-16 09:14:12 +00:00
Cosimo Lupo
49bcbb916b
consistently do sys.exit(unittest.main()) in all test modules
...
So that when run as scrips they report test failures with exit code
Follow up on b7bb391033ef3255c90134da3d7aef50d2d5326d
2017-01-11 13:05:35 +00:00
Behdad Esfahbod
37e6e6a380
Use dict comprehension now that we don't support Python 2.6
2015-06-11 17:05:15 -07:00
Behdad Esfahbod
b30e12ae00
More whitespace
2015-04-26 02:01:01 -04:00
Behdad Esfahbod
bd67253118
Some more whitespace fixes from pep8 tool
2015-04-26 01:59:01 -04:00
Behdad Esfahbod
db0dc7ba32
Fix Mac East Asian encodings
...
Ouch!
2015-04-26 01:37:18 -04:00
Behdad Esfahbod
5287b52d22
Whitespace
2015-04-26 00:49:36 -04:00
Behdad Esfahbod
0ac019ca2c
Use native mac_romanian and mac_croatian encodings
...
Apparently they are implemented in Python, just miss aliases.
https://github.com/behdad/fonttools/issues/236
http://bugs.python.org/issue24043
2015-04-24 12:32:56 -07:00
Behdad Esfahbod
4c3fbd2600
Minor
2015-04-23 16:28:30 -07:00
Behdad Esfahbod
9f8742306c
Minor
2015-04-20 10:00:18 -07:00
Behdad Esfahbod
fc7d3b52ed
Upgrade Mac East Asian encodings to native implementation if available
...
Fixes https://github.com/behdad/fonttools/issues/236
2015-04-19 04:52:25 -07:00
Behdad Esfahbod
42fbc21069
Fix x_mac Chinese names
2015-04-19 04:46:12 -07:00
Behdad Esfahbod
5036a39e3f
Normalize encoding name for lookup
2015-04-19 04:28:22 -07:00
Behdad Esfahbod
702b94f00a
Use canonical Python encoding names
2015-04-19 04:24:55 -07:00
Behdad Esfahbod
6e01a6e350
Add Roman Croatian and Romanian encodings
...
Concludes https://github.com/behdad/fonttools/issues/236
2015-04-16 18:24:07 -07:00
Behdad Esfahbod
3f36721d87
Really fix python 2.6 build this time
2015-04-16 14:12:59 -07:00
Behdad Esfahbod
c9402c1685
Fix test on Python 2.6
2015-04-16 13:40:35 -07:00
Behdad Esfahbod
eefeb258ef
Fix codecs end check
...
There was a bug before Python 3.4 where an extra byte was included
in e.end when the error callback was called. That hided a bug in
the code.
Fixes build with Python 3.4+
2015-04-16 13:31:08 -07:00
Behdad Esfahbod
9d6d50e829
Add codecs for mac-extended East Asian encodings
...
Part of https://github.com/behdad/fonttools/issues/236
To be used in name table soon.
2015-04-16 03:10:18 -07:00
Behdad Esfahbod
7c9ab300c2
Add standard imports to all python sources
...
Previously, the trivial files didn't have them.
2015-04-14 17:26:59 -07:00
Just
670c985d76
added doc strings to empty __init__.py files: WinZip apparently skips empty files. Doh!
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@90 4cde692c-a291-49d1-8350-778aa11640f8
2000-03-14 23:01:03 +00:00
Just
5a16f847f1
dummy commit, testing
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@18 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-18 22:56:47 +00:00
Just
b981eb2750
added some encoding files in a new subpackage: fontTools.encodings
...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@15 4cde692c-a291-49d1-8350-778aa11640f8
1999-12-18 21:29:28 +00:00