This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 257702

Summary: The plugin is running 3.5, but the syntax checking is 2.
Product: python Reporter: timdotdowney
Component: EditorAssignee: Lou Dasaro <mr_lou_d>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description timdotdowney 2016-01-26 16:05:15 UTC
I am using the following:

    NetBeans 8.1
    Python Plugin for NetBeans
    Python 3.5.1
    The python project is set for python 3.5.1, instead of the default jython 2.7

I have set the default python platform in NetBeans to 3.5.1.

NetBeans editor complains when I write the statement

    print ("_ ", end='')

The error is

    no viable alternative at input '='

It appears that NetBeans editor is checking for 2.7 syntax, instead of 3.5. I am able to run the code correctly, so NetBeans is using 3.5 to execute. 

(When I open the interactive console, it initializes as 3.5.1. It reports errors correctly and runs correctly.)
Comment 1 Lou Dasaro 2016-01-28 18:30:38 UTC
Thank you for your report. Note that we do not officially support Python 3.x yet.
However, It is a high-importance task on our nbPython Jira board...
Marking this bug as Duplicate. Suggest you follow Bug#229940 for notification.
Regards, Lou Dasaro, http://forums.nbPython.org

*** This bug has been marked as a duplicate of bug 229940 ***