News for hackers. Stuff that matters.
Re:Why Python 3 Exists by s73v3r on Thursday December 17, 2015 @01:10PM (#10753145)
Why? What possible reason would there be to use the old behavior, except for laziness?
Re:Why Python 3 Exists by squeaky-clean on Thursday December 17, 2015 @02:45PM (#10753943)
Because I'd like to be able to use the googleads Python client library within Python 3 without needing to fix 62,000 lines of code? I guess you could call that laziness if you want.
Re:Why Python 3 Exists by takeda on Thursday December 17, 2015 @09:43PM (#10756284)
You just simply use it, if specific argument require python 2 sting you simply call bytes() on it.

For example

old_function(bytes(myarg))

if it needs to be a literal:

old_function(b"literal")

That's what I do, and works for me so far.

Re:Why Python 3 Exists by daveguy on Thursday December 17, 2015 @01:14PM (#10753171)
Nice. Thanks for attributing a negative personality trait as the only reason someone would prefer any other way.
Re:Why Python 3 Exists by chc on Thursday December 17, 2015 @01:40PM (#10753396)
I don't know if it's been edited since you posted this, but at the moment, the comment is a question asking why somebody would want this other than laziness.
Re:Why Python 3 Exists by daveguy on Thursday December 17, 2015 @02:09PM (#10753657)
True. I guess some would consider this a positive personality trait in a programmer. I think that's only for system design though (lazy for minimizing future effort required).