Menu

Code analysis bug

2011-08-02
2013-03-15
  • Bernd Schmidt

    Bernd Schmidt - 2011-08-02

    Hi!

    Since I updated PyDev the Code analysis shows error on valid Python lines like
    def (a, *b):

    It breaks on parsing the "*" saying "Expected :)" . Actually it doesn't always do that and copy-pasting the same text into a new file may not show an error in the new file. The program works.

    Moreover PyDev started complaining about "from a import b" (Unresolved import) where "b" actually does really exist and the Python program runs fine.

    I tried refreshing the projects, but I don't know what else to try.

    Any suggestions?

     
  • Ryan Seiff

    Ryan Seiff - 2011-08-12

    Do you have a file or code snippet that causes the error? I don't have enough information from your above post to help.

     
  • Bernd Schmidt

    Bernd Schmidt - 2011-08-16

    It's hard to show a code snippet since as I said it (usually) works if I copy it to a new file. It must be some settings problem.

    Anyway, the errors disappeared. I suspect it is because I had an old version of Python in the grammar setting.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.