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.
When I open a python file containing the 'with' keyword, I get the following error message: File "/tmp/vcs-1430129729590/vcs-1430129729590/setup.py", line 7 SyntaxError: 'with' will become a reserved keyword in Python 2.6 I think the 'with' keyword should be supported and not print an error.
Reporter: Thank you for your report. When reporting an issue, please include the first four lines from Help->About as well as the version of Python/Jython in use, e.g. Product Version: NetBeans IDE 8.0.2 (Build 201411181905) Updates: NetBeans IDE is updated to version NetBeans 8.0.2 Patch 1 Java: 1.7.0_75; Java HotSpot(TM) Client VM 24.75-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_75-b13 Jython 2.7b4
Just retested with the last development version of netbeans: Product Version: NetBeans IDE Dev (Build 201505240001) Java: 1.7.0_79; OpenJDK 64-Bit Server VM 24.79-b02 Runtime: OpenJDK Runtime Environment 1.7.0_79-b14 System: Linux version 3.16.7-21-desktop running on amd64; UTF-8; fr_FR (nb) I don't have this error. I suppose this was solved when updating to jython 2.7.0. Marking as solved.
I concur. Verified.