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.
There is an easy and simple way how to "emulate" abstract classes in python, see the attached source file. I have no problem with code completion inside or outside abstract class body using pyDev, the screenshots attached. While invoking code completion using NBPython, there is something wrong while ide is parsing file, it shows error annotation icon and underlined row. Steps to reproduce: - open testers.py source file - add new line to method setInfo(), type "self." and invoke code completion - delete changes and go to at the and of last line - add "." and invoke code completion
Created attachment 72376 [details] testers.py
Created attachment 72377 [details] abstract-01-pydev.jpg
Created attachment 72378 [details] abstract-02-pydev.jpg
Created attachment 72379 [details] abstract-01-nbpython.jpg
Created attachment 72381 [details] abstract-02-nbpython.jpg
Product Version: NetBeans IDE 6.5 RC1 (Build 20081020164434) Java: 1.6.0_10-rc2; Java HotSpot(TM) Client VM 11.0-b15 Python: jython 2.5a3+ System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
No need to invoke code completion dialog, it shows errors while typing "." char.
Not sure it is still relevant with the current version. Closing this as old bug. If this is still a thing, please reopen and accept my apologies.
Thanks for your evaluation Julien. Closing then.