aitjcize / cppman

C++ 98/11/14 manual pages for Linux/MacOS
GNU General Public License v3.0
1.27k stars 79 forks source link

cppman failed in python 3.3 #39

Closed BrytonLee closed 9 years ago

BrytonLee commented 9 years ago

cppman is not compatibility with python 3.3, there are two man issuses:

  1. print is function in python 3.3.
  2. except XXError, e: and except (XXError, YYError), e: should be change to except XXError as e: except (XXError, YYError) as e:
aitjcize commented 9 years ago

Thanks, I have plans to port cppman to python 3 soon. You are welcome to help :)

czchen commented 9 years ago

I am working on it in https://github.com/czchen/cppman/tree/feature/python3. It still has problem in relative import.

aitjcize commented 9 years ago

Thanks! I've also tried several attempt on this, but there seems to be a lot of problem regard to the difference in python3 buf and str.

czchen commented 9 years ago

I sent a PR for python3 in here, please help to test it. Maybe it shall be merged to another branch first and let other to test it before merging to master.

aitjcize commented 9 years ago

Yes I already tried it. Let me comment on that PR.

aitjcize commented 9 years ago

Fixed