Re: question about python statements

2008-05-13 Thread Terry Reedy
"Ohad Frand" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | Hi | Thanks a lot for your reply | I think the main uses for it is to study the language and to see that I | didn't miss anything else or that something is changed from one version | to another. The language manual lists

RE: question about python statements

2008-05-13 Thread Ohad Frand
erron [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 13, 2008 11:11 AM To: Ohad Frand Cc: python-list@python.org Subject: Re: question about python statements Ohad Frand wrote: > Hi Gary > > Sorry that I was not clear, I hope that this time I will explain myself > better. > > I can

Re: question about python statements

2008-05-13 Thread Gary Herron
st as you did in your example above? Just out of curiosity, *why* do you want this list. Perhaps is we knew that, we could think of a programmatic way to construct the list you want. The biggest challenge at the moment is that we have no idea what you mean by statement, but it is certainly n

RE: question about python statements

2008-05-13 Thread Ohad Frand
put', 'reduce', 'reload'...] But I don't know how to generate the next list of builtin python statements: ['assert','break','class','continue','def','del','elif','else','except', &#

Re: question about python statements

2008-05-12 Thread Terry Reedy
"George Sakkis" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On May 12, 7:35 pm, "Terry Reedy" <[EMAIL PROTECTED]> wrote: > "Ohad Frand" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > | I am looking for a way to programmically get a list of all python > | existin

Re: question about python statements

2008-05-12 Thread George Sakkis
On May 12, 7:35 pm, "Terry Reedy" <[EMAIL PROTECTED]> wrote: > "Ohad Frand" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > | I am looking for a way to programmically get a list of all python > | existing statements that I cannot access by __builtins__ or locals() > | (like ["asse

Re: question about python statements

2008-05-12 Thread Terry Reedy
"Ohad Frand" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | I am looking for a way to programmically get a list of all python | existing statements that I cannot access by __builtins__ or locals() | (like ["assert","break","class",...]) You appear to want the keywords that begin s

Re: question about python statements

2008-05-12 Thread Gary Herron
Ohad Frand wrote: Hi I am looking for a way to programmically get a list of all python existing statements that I cannot access by __builtins__ or locals() (like ["assert","break","class",…]) Thanks, Ohad -- http://