Re: [Python-Dev] builtin filter function

2005-07-19 Thread Ruslan Spivak
В Втр, 19/07/2005 в 17:45 -0700, Guido van Rossum пишет: > On 7/19/05, Ruslan Spivak <[EMAIL PROTECTED]> wrote: > > I was reading source code for bltinmodule.c and found probably erroneus > > stuff in filter function. I'm newbie to python inners and don't know if > > attached code is worth for a pa

Re: [Python-Dev] while:

2005-07-19 Thread Facundo Batista
On 7/20/05, Martin Blais <[EMAIL PROTECTED]> wrote: > it got me wondering, wouldn't it be nice if > >while: > ... > > behaved as: > >while True: -1 Explicit is better than implicit. Regards, .Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/

Re: [Python-Dev] while:

2005-07-19 Thread Manuel Amador
El mié, 20-07-2005 a las 13:26 +1000, Anthony Baxter escribió: > On Wednesday 20 July 2005 13:13, Martin Blais wrote: > > it got me wondering, wouldn't it be nice if > > > >while: > > ... > > > > behaved as: > > > >while True: > > ... > > -1 > > I don't expect if: or for: to m

Re: [Python-Dev] while:

2005-07-19 Thread Anthony Baxter
On Wednesday 20 July 2005 13:13, Martin Blais wrote: > it got me wondering, wouldn't it be nice if > >while: > ... > > behaved as: > >while True: > ... -1 I don't expect if: or for: to mean anything, so why should while: ? I don't see any advantages to it (saving 5 keypresses?

[Python-Dev] while:

2005-07-19 Thread Martin Blais
Hi Today I typed something funny in the interactive interpreter: >>> while: File "", line 1 while: ^ SyntaxError: invalid syntax it got me wondering, wouldn't it be nice if while: ... behaved as: while True: ... Since they appeared, I started using "while T

Re: [Python-Dev] builtin filter function

2005-07-19 Thread Guido van Rossum
On 7/19/05, Ruslan Spivak <[EMAIL PROTECTED]> wrote: > I was reading source code for bltinmodule.c and found probably erroneus > stuff in filter function. I'm newbie to python inners and don't know if > attached code is worth for a patch submission. > > I would appreciate if someone could take a l

Re: [Python-Dev] builtin filter function

2005-07-19 Thread Reinhold Birkenfeld
Reinhold Birkenfeld wrote: > Ruslan Spivak wrote: >> Hello. >> >> I was reading source code for bltinmodule.c and found probably erroneus >> stuff in filter function. I'm newbie to python inners and don't know if >> attached code is worth for a patch submission. >> >> I would appreciate if someon

Re: [Python-Dev] builtin filter function

2005-07-19 Thread Ruslan Spivak
В Срд, 20/07/2005 в 00:27 +0200, Reinhold Birkenfeld пишет: > Ruslan Spivak wrote: > > Hello. > > > > I was reading source code for bltinmodule.c and found probably erroneus > > stuff in filter function. I'm newbie to python inners and don't know if > > attached code is worth for a patch submissio

Re: [Python-Dev] builtin filter function

2005-07-19 Thread Reinhold Birkenfeld
Ruslan Spivak wrote: > Hello. > > I was reading source code for bltinmodule.c and found probably erroneus > stuff in filter function. I'm newbie to python inners and don't know if > attached code is worth for a patch submission. > > I would appreciate if someone could take a look at it and if it'

[Python-Dev] builtin filter function

2005-07-19 Thread Ruslan Spivak
Hello. I was reading source code for bltinmodule.c and found probably erroneus stuff in filter function. I'm newbie to python inners and don't know if attached code is worth for a patch submission. I would appreciate if someone could take a look at it and if it's ok then i'll make submission, oth

Re: [Python-Dev] read only files

2005-07-19 Thread Terry Reedy
"Pranav Bagora" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am getting a permission denied error... > Please help, The Python-dev mailing list (or gmane.comp.python.devel newsgroup) is for development of future Python releases. Please direct help questions to comp.lang.pyt

[Python-Dev] read only files

2005-07-19 Thread Pranav Bagora
Hello, I am getting a permission denied error when i am trying to make changes in some read only files. How can we check and change the properties of a file in the program itself. Please help, Pranav Pranav Bagora Graduate Student SUNY Binghamton. Add:- 261 Main Street Apt No