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 - The plugin is running 3.5, but the syntax checking is 2.
Summary: The plugin is running 3.5, but the syntax checking is 2.
Status: RESOLVED DUPLICATE of bug 229940
Alias: None
Product: python
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Lou Dasaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-26 16:05 UTC by timdotdowney
Modified: 2016-01-28 18:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***