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

option -e under python3 #173

Closed
lab156 opened this issue Jul 28, 2014 · 2 comments
Closed

option -e under python3 #173

lab156 opened this issue Jul 28, 2014 · 2 comments
Labels

Comments

@lab156
Copy link

lab156 commented Jul 28, 2014

I had to change the file

/usr/lib/python3.4/site-packages/cheat/utils.py

specifically I changed the original raw_input command to new python's 3 input.

Edit:

In the same file, I also changed the last line. Originally it was something like print >> std.err ...
had to change it to the python's 3 sys.stderr.write(message).

@chrisallenlane
Copy link
Member

Hi @lab156

Sorry for the delay - work has been nuts.

Are these changes also backward-compatible with Python 2? If so, is there any chance that I could coax you into submitting a PR containing the fix? I'd love to resolve this if it's an issue that others are having as well.

@chrisallenlane
Copy link
Member

Closing as resolved by @erikcox with https://github.com/chrisallenlane/cheat/pull/186.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants