-
Notifications
You must be signed in to change notification settings - Fork 50
print should be a function! #223
Comments
After a search I found this comment so I guess you support both syntax? At the very least I would recommend updating your docs and examples to encourage the python 3 syntax, but really I think it'd be better to deprecate the python 2 syntax. |
Hey @jamestwebber, yes the |
Hi @jamestwebber, Yes, print right now supports both modes, and we'll update the docs soon ( We will probably add a "strict Python 3" mode (or "Py2 compatibility mode") for people who don't like this behaviour. (as for myself, I think that deprecating print statement is one of the saddest Python decision ever made...) |
I still type |
(sorry, I just had to)
Python 2 has been deprecated for 1.5 years now. The "make print a function" PEP is 15 years old! I don't think there's any justification for resurrecting this relic in a new language, if you want it to feel like (modern) Python. It will only serve to confuse people.
The text was updated successfully, but these errors were encountered: