Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3不兼容unicode #43

Closed
zsg555 opened this issue Jul 17, 2020 · 4 comments
Closed

python3不兼容unicode #43

zsg555 opened this issue Jul 17, 2020 · 4 comments

Comments

@zsg555
Copy link

zsg555 commented Jul 17, 2020

#log.py
def _fail_handle(msg, e):
    if not isinstance(msg, unicode):
        msg = msg.decode('utf8')
    print('{0}\nerror:{1}'.format(msg, e))
@mythmgn
Copy link
Member

mythmgn commented Jul 17, 2020

@zsg555 收到, 已fix.

@mythmgn
Copy link
Member

mythmgn commented Jul 17, 2020

0fe89d7

@mythmgn mythmgn closed this as completed Jul 17, 2020
@mythmgn
Copy link
Member

mythmgn commented Jul 17, 2020

pip install -U cup

版本3.2.20, 谢谢提供的py3兼容性问题线索

@wanmail
Copy link

wanmail commented Aug 4, 2021

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

No branches or pull requests

3 participants