distutils and libraries

2013-04-23 Thread Nick Gnedin
to just install it, skipping the build step? Many thanks for any help, Nick Gnedin -- http://mail.python.org/mailman/listinfo/python-list

standalone vs embedded interpreter

2013-04-09 Thread Nick Gnedin
Folks, When simply I embed the interpreter: #include "Python.h" int main() { Py_Initialize(); PyRun_InteractiveLoop(stdin,"test"); Py_Finalize(); return 0; } I expect it to behave the same way as if I was running it as a

__doc__ string for getset members

2013-04-07 Thread Nick Gnedin
ng for the result of a call to MemGet(...) is printed, not the doc string supplied in the PyGetSetDef structure. Many thanks for the advice, Nick Gnedin -- http://mail.python.org/mailman/listinfo/python-list

dir() vs print(dir()) in the embedded mode

2013-03-29 Thread Nick Gnedin
Folks, I have a newbie question: I am trying to embed Python into my application. While playing around, I noticed that the behavior of the interpreter in the embedded mode differs from the standalone one. Namely, in the standalone mode if I type dir(), I get a list of build-in symbols. In t