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

Already on GitHub? Sign in to your account

Unify pygprint between 2.x and 3.x #10

Open
furrykef opened this Issue Apr 23, 2012 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

furrykef commented Apr 23, 2012

Is there any reason why pygprint has to behave differently under 2.x? I looked at the code and it seems entirely arbitrary, done for no reason other than that Python 2's own print statement doesn't support such arguments. In fact, you can even get Python 3's print function with its fancy-pants arguments in Python 2.6+ if you use from __future__ import print_function -- though even if that weren't the case, I don't see any reason to remove functionality from pygprint in 2.x, since it wouldn't cause any compatibility issues.

I really don't see why there isn't a python 2 and python 3 version if there is going to be differences.

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