Python file type problem (ok with python 3)

Now a problem with file type “python” (ok with “python3”) :

import sqlite3

connection = sqlite3.connect('data.db')
connection.close()

c #here no suggestion

class DatabaseConnections:
   def...

With python file type, “connection” is not suggested. It is suggested using python3 file type.

The problem only occurs if there’s class in the file (here “DatabaseConnections”)

Also tested with restart safe-mode.

(komodo ide 11.1)

If you can reproduce the issue in safe mode you can file a bug :slight_smile: Thanks for double checking and narrow the issue down!