Skip to content

enable read of README.rst without Unicode error in py3#128

Open
topiaruss wants to merge 1 commit intogarnaat:developfrom
topiaruss:develop
Open

enable read of README.rst without Unicode error in py3#128
topiaruss wants to merge 1 commit intogarnaat:developfrom
topiaruss:develop

Conversation

@topiaruss
Copy link

Fixes #127

# -*- coding: utf-8 -*-

from kappa import __version__
import codecs
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

io.open is recommended for python >= 2.6.
I often use, from io import open to assure that python2 is using the python3 compatible open() which includes encoding specification.

https://mail.python.org/pipermail/python-list/2015-March/687124.html

@nooperpudd
Copy link

when to merge this ?

@davesave
Copy link

davesave commented Jan 1, 2018

soon please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants