This project has moved. For the latest updates, please go here.

Intelisense not working on package extensions built with boost python.

May 30, 2012 at 1:22 PM
Edited May 30, 2012 at 1:23 PM

Hi there,

I've managed to get CPython modules built with boost python working with intelisense in PTVS. However it would be ideal to create a single extension that is a package of all those modules.

I've been able to create this package by following the following example.

Which binds everything correctly.

However if I create the package like this, intelisense knows the name of the package, and the names of the modules it contains, but it contains incorrect information about the contents of those modules.

For example I can execute the following command:

python -c "import Bindings; print(dir(Bindings.mymodule))"


Which shows that 'mymodule' contains the following

['__doc__', '__name__', '__package__', '__path__', 'func']


However the intelisense popup for 'mymodule' contains the following instead


For now, I'm going to compile each module out as a seperate dll. But if anyone knows how to fix this issue it would save us a huge amount of time.