Live data from Hacker News

Python 2.x vs 3.x use survey

surveymonkey.com

1–10 of 119 posts

Re: Python 2.x vs 3.x use survey

#2
Missing a question. "Would you switch to python 3 if they brought back the print statement"

Edit: I really just like the statement for the interpreter, and IPython Notebook. To me the statement syntax feels less like programming, and more like using a computer.

Re: Python 2.x vs 3.x use survey

#3

Missing a question. "Would you switch to python 3 if they brought back the print statement" Edit: I really just like the statement for the interpreter, and IPython Notebook. To me the statement syntax feels less like programming, and more like using a computer.

Is there some story behind it? It looks like the smallest issue out of the whole migration. (especially with from __future__ import print_function)

Re: Python 2.x vs 3.x use survey

#4
post #3

Missing a question. "Would you switch to python 3 if they brought back the print statement" Edit: I really just like the statement for the interpreter, and IPython Notebook. To me the statement syntax feels less like programming, and more like using a computer.

Is there some story behind it? It looks like the smallest issue out of the whole migration. (especially with from __future__ import print_function)

I think people would prefer "from __past__ import print_statement" in 3.x.

Re: Python 2.x vs 3.x use survey

#5
post #4
post #3

Earlier quoted context omitted.

Is there some story behind it? It looks like the smallest issue out of the whole migration. (especially with from __future__ import print_function)

I think people would prefer "from __past__ import print_statement" in 3.x.

Why the hell?

Re: Python 2.x vs 3.x use survey

#7
post #4
post #3

Earlier quoted context omitted.

Is there some story behind it? It looks like the smallest issue out of the whole migration. (especially with from __future__ import print_function)

I think people would prefer "from __past__ import print_statement" in 3.x.

That's why I'm asking really - not only those two would be pretty much equivalent, there's really nothing that can be expressed with one, but not the other. I mean that's kind of like saying "would you use it if they called the binary snake instead of python3" - what's the reason apart from personal preference for the syntax?

Re: Python 2.x vs 3.x use survey

#10

Missing a question. "Would you switch to python 3 if they brought back the print statement" Edit: I really just like the statement for the interpreter, and IPython Notebook. To me the statement syntax feels less like programming, and more like using a computer.

I don't mind the print statement/function thing but I am bothered by the pain when dealing with byte strings. I use Python to talk to hardware that doesn't speak unicode, the contortions I have to go through to get byte strings to behave correctly on py3 are frustrating. I have no problem with the default string being unicode, but why can't byte strings be implemented like the unicode strings were done on py2.x?
Post reply on HN