Menu

#800 Autocompleation doesn't work fully.

open
5
2008-10-17
2008-10-17
No

- System (Mac Leopard)
- Eclipse version (Version: 3.4.1)
- Pydev version (1.3.22)

Really strange bug. I did a movie so that you get an idea.
Description:
I have 2 Classes:
SuperClass
PlainClass (extends SuperClass)
When I have a SuperClass that has not got any methods -> autocompleation doesn't work in PlainClass (not for all object)

When I have at least 1 method in SuperClass -> autocompleation works fully in PlainClass.

SourceCodes:

import logging
import logging.config

class SuperObject(object):

#singeltones
cp = ConfProv.ConfigurationProvider()
logging.config.fileConfig("conf/logging.conf")
log = logging.getLogger()

#remove / comment this method and try to use "log" in class that extends this class
def logasaadasdas(self):
pass
--------------------------------------------------------------------------

import SuperObject

class MyTestClass(SuperObject.SuperObject):

def doIt(self):
self.log.debug("test")

if __name__ == "__main__":
MyTestClass().doIt()

Discussion

  • Anton Shishkov

    Anton Shishkov - 2008-10-17

    "Uploaded file must be no larger than 256k."
    write your e mail I will sent the movie to you, or where can I upload the clip?

    Clip is 5 MBs.

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-10-17

    Can you add it to rapidshare and provide a link for it? (or to some other upload service?)

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-10-17

    Just to note, I've been able to reproduce it here (so, maybe the video isn't needed)