I\'m using omnifunc=pythoncomplete. When autocompleting a word (e.g., os.), I get the list of eligible class members and functions, as
omnifunc=pythoncomplete
os.
I know this question is very old, but after days of looking for a "clean" solution I just found the CompleteDone autofunction that does the job:
au CompleteDone * pclose