Python 3 syntax inspections not working(?)

Dear all,

I've recently bought PyCharm and I'm very happy with it overall but I can't seem to get code inspections to work properly. I'm working with a dev version of Python (3.3) on Mac OS X and have set the 'Code compatibility inspection' to Py 3.0 to 3.2 but if I use Python3-specific statements like 

print("Hello, world", end=" ")

PyCharm complains about an 'unresolved reference to end' and a number of others (see image below). Am I missing something obvious?

Best regards,

Greg

Screen shot 2011-04-28 at 09.58.48.png



Attachment(s):
Screen shot 2011-04-28 at 09.58.48.png
1 comment

Hello Greg,

The basic error highlighting is controlled by the language level of the selected

interpreter, not by the settings of the "code compatibility" inspection.

Unfortunately we don't currently detect Python 3.3 as a valid version of

Python.

This issue will be resolved in the PyCharm 1.5 update.

I've recently bought PyCharm and I'm very happy with it overall but I

can't seem to get code inspections to work properly. I'm working with

a dev version of Python (3.3) on Mac OS X and have set the 'Code

compatibility inspection' to Py 3.0 to 3.2 but if I use

Python3-specific statements like

print("Hello, world", end=" ")

PyCharm complains about an 'unresolved reference to end' and a number

of others (see image below). Am I missing something obvious?

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

Please sign in to leave a comment.