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

2013-03-29 Thread rusi
On Mar 30, 2:04 am, Nick Gnedin wrote: > 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

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

2013-03-29 Thread Steven D'Aprano
On Fri, 29 Mar 2013 16:04:24 -0500, Nick Gnedin wrote: > 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 standal

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

2013-03-29 Thread MRAB
On 29/03/2013 21:04, Nick Gnedin wrote: 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

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