Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
2022-01-01

* Recursion error for python3.9 not resolved

2022-01-01 Rolv Erlend Bredesen <rolv.bredesen@gmail.com>

* Bugfix python3: sixelconv console script

2021-02-09 Rolv Erlend Bredesen <rolv.bredesen@gmail.com>

* Python3.8 support: Prefixed exc_traceback, exc_value, and exc_type with prefix <cur>

2014-01-26 Hayaki Saito <user@zuse.jp>

* Use alternative C-implemented module if possible
Expand Down
3 changes: 3 additions & 0 deletions sixel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ def _filenize(f):

mode = os.fstat(f.fileno()).st_mode
if stat.S_ISFIFO(mode) or os.isatty(f.fileno()):
if sys.version_info.major == 3:
import io
return io.StringIO(f.read())
try:
from cStringIO import StringIO
except ImportError:
Expand Down
124 changes: 63 additions & 61 deletions sixel/sixel_cimpl.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.