Menu

#954 Problem parsing __future__ print

open
Editor (491)
5
2009-08-11
2009-08-11
Tal Weiss
No

I am working with Python 2.6
I imported the print function from the future:
from __future__ import print_function
and it works, but when I write:
print ('.', end = '')
Pydev reports:
Syntax error while detecting tuple.

I attached sample file.

Thanks,

Tal.

Discussion

  • Tal Weiss

    Tal Weiss - 2009-08-11

    Sample file to show the bug

     
  • Tal Weiss

    Tal Weiss - 2009-09-01

    Still happens with 1.4.8.
    Message is:
    """what's the message
    Syntax error while detecting tuple."""