PySixel icon indicating copy to clipboard operation
PySixel copied to clipboard

Python 3.7 compatibility

Open elsteveogrande opened this issue 5 years ago • 1 comments

  • exc_type now named curexc_type (similar for _value, _traceback)
  • StringIO is now in a different location: https://docs.python.org/3.4/library/io.html

elsteveogrande avatar Feb 09 '20 20:02 elsteveogrande

You should not edit sixel_impl.c manually, but regenerate it with:

cython sixel/converter.py -o sixel/sixel_cimpl.c

As seen in the Makefile.

Also the StringIO import should be just the one from the Python 3 standard library, without the balancing act.

For a working fork of this, check out my repo: https://github.com/lubosz/PySixel

lubosz avatar Oct 16 '23 09:10 lubosz