6 Commits

Author SHA1 Message Date
Zbigniew Jędrzejewski-Szmek
9d63b6ae56 Drop (object) from class definitions
Python2 had old-style classes (no "(object)"), and new style classes (with
"object"). Under Py3 this is a noop, so let's drop it to make the code
a bit shorter.
2021-09-30 09:23:56 +02:00
Kovid Goyal
29cd8d64ea
Change shebangs to python from python2
Also remove a few other miscellaneous references to python2
2020-08-22 18:47:51 +05:30
Eli Schwartz
cbc42bec23
python3: add unicode/unichr wrappers to polyglot 2019-03-13 06:41:38 +05:30
Kovid Goyal
d56d1c8d37 ZIP Output: Fix system encoding being used instead of UTF-8 for html files. See #1499514 (Latin encode error while converting from epub to htmlz) 2015-09-25 22:41:54 +05:30
Kovid Goyal
ef09e886b3 Change all shebangs to use python2 2015-01-23 19:08:21 +05:30
Fabian Graßl
a28a6f7d5b changed template engine 2010-10-07 15:07:04 +02:00