Apparently the use of an import as a metaclass isn't recognized by pydev. The attached example file gets a warning even though the import is necessary for the "class XXX(metaclass=ABCMeta):" declaration.
Example of problem.
Hi Steven,
It's working for me... have you set your project to use the Python 3 grammar (the default is Python 2 if you don't set it).
To configure it, go to the pydev package explorer, right click project > properties > pydev - interpreter/grammar and set your grammar to Python 3.
I had configured for 3.2.3. That was what I had when I got the error.
Can you send the following information so that I can try to diagnose it better:
1. Screenshot of the error (editor and problems view) 2. Screenshot of your project configuration (right click project > properties > pydev interpreter - grammar) 3. screenshot of your interpreter configuration: window > preferences > pydev > interpreter - python
Also, please take a look at your error log to see if there's something related there... see: http://pydev.org/faq.html#PyDevFAQ-HowdoIReportaBUG%3F for details on getting it.
Closed duplicate: https://sourceforge.net/tracker/?func=detail&aid=3519152&group_id=85796&atid=577329
Example of problem.
Hi Steven,
It's working for me... have you set your project to use the Python 3 grammar (the default is Python 2 if you don't set it).
To configure it, go to the pydev package explorer, right click project > properties > pydev - interpreter/grammar and set your grammar to Python 3.
I had configured for 3.2.3. That was what I had when I got the error.
Can you send the following information so that I can try to diagnose it better:
1. Screenshot of the error (editor and problems view)
2. Screenshot of your project configuration (right click project > properties > pydev interpreter - grammar)
3. screenshot of your interpreter configuration: window > preferences > pydev > interpreter - python
Also, please take a look at your error log to see if there's something related there... see: http://pydev.org/faq.html#PyDevFAQ-HowdoIReportaBUG%3F for details on getting it.
Closed duplicate: https://sourceforge.net/tracker/?func=detail&aid=3519152&group_id=85796&atid=577329