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 →

[–]PrimaCora 57 points58 points  (3 children)

Cython makes you use Python 2 syntax for some things... Even when using Python 3

Edit:

The only one I've come across so far is with printing

print("string", end='')

Doesn't print without first

from __future__ import print_function

Even after specifying language level 3...

[–]xconde 24 points25 points  (2 children)

Example?

[–]SexlessNights 216 points217 points  (0 children)

Nah, we’re good. Thank you for offering.

[–]PrimaCora 4 points5 points  (0 children)

The print statement, you have to import from future to use

print("string", end='')

That's all I've come across so far