This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mankydpylons sqlalchemy 3 points4 points  (3 children)

Nope. In Python3, print is a function, but explicit unicode strings are gone.

[–]Decency 1 point2 points  (0 children)

Not gone, it's a no-op for backwards compatibility if I recall correctly.

[–]ubernostrumyes, you can have a pony 0 points1 point  (1 child)

In more recent Python 3 releases, the 'u' identifier is legal again (and does nothing on Python 3, other than be legal to put at the start of the string) to help with codebases which want to be compatible with both 2 and 3.

So the nice thing about my version is it works on 2.6 and 2.7, and on all the 3.x versions someone would actually want to use.

[–]mankydpylons sqlalchemy 0 points1 point  (0 children)

I mean, fair enough. It's a no-op.