Boost logo

Boost Users :

From: Jenna Louis (jzlouis_at_[hidden])
Date: 2004-01-15 19:29:04


Are there any patches or plans to add the following features to Boost.Python/Pyste?
 
1. A major usability problem of Boost generated proxies is that IDEs are not able to show any details about the expected parameters. Since Boost already knows everything about the function then it makes sense to at least make some information known about it via a docstring and then these tools can at least show that.
 
2. Another feature would append a docstring with the descriptive text to the specified Class, Function, or Method.
 
3. I often generate modules that require a very specific order of initialization for the proxies it contains. I often have to rearrange the _main.cpp's BOOST_PYTHON_MODULE code as depicted below to get my module to work.
 
This:

BOOST_PYTHON_MODULE(Sim)

{

Export_SzCoordPos();

Export_SzCoordAng();

Export_SzCoord();

Export_SzMath();

Export_SzPolyUtils()

}

To This:
 
  
BOOST_PYTHON_MODULE(Sim)

{

Export_SzCoord();

Export_SzMath();

Export_SzPolyUtils()

Export_SzCoordPos();

Export_SzCoordAng();

}

It would be nice if this list would be generated in the order in which the pyste files are specified on the command line.

 

4. I would like a way to add pickling code to my class from pyste. I realize its not practical to generate this code automatically but I would at least like to be able to inline this in my pyste file. I can already insert code into the proxy with the declaration_code() feature to handle the pickle struct but I also need to be able to add a pickle method i.e.(".def_pickle(world_pickle_suite())" to the class definition I specify.

 

Thanks,

Jenna

---------------------------------
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net