Re: [Python-Dev] Ask a question for a script about re.findall Modlue

2010-05-22 Thread Hagen Fürstenau
Your problem is easily explained however: the second argument to p.findall() should be an offset, not a flag set. (You are confusing re.findall() and p.findall().) I filed a doc bug for this: http://bugs.python.org/issue8785 Cheers, Hagen signature.asc Description: OpenPGP digital

Re: [Python-Dev] PEP 3148 ready for pronouncement

2010-05-22 Thread Brian Quinlan
On May 22, 2010, at 5:30 AM, Dj Gilcrease wrote: On Fri, May 21, 2010 at 8:26 AM, Brian Quinlan br...@sweetapp.com wrote: Except that now isn't the time for that discussion. This PEP has discussed on-and-off for several months on both stdlib-sig and python-dev. I think any time till the

Re: [Python-Dev] PEP 3148 ready for pronouncement

2010-05-22 Thread R. David Murray
On Sat, 22 May 2010 19:12:05 +1000, Brian Quinlan br...@sweetapp.com wrote: On May 22, 2010, at 5:30 AM, Dj Gilcrease wrote: On Fri, May 21, 2010 at 8:26 AM, Brian Quinlan br...@sweetapp.com wrote: Except that now isn't the time for that discussion. This PEP has discussed on-and-off

Re: [Python-Dev] PEP 3148 ready for pronouncement

2010-05-22 Thread Jesse Noller
On Sat, May 22, 2010 at 9:59 AM, R. David Murray rdmur...@bitdance.com wrote: On Sat, 22 May 2010 19:12:05 +1000, Brian Quinlan br...@sweetapp.com wrote: On May 22, 2010, at 5:30 AM, Dj Gilcrease wrote: On Fri, May 21, 2010 at 8:26 AM, Brian Quinlan br...@sweetapp.com wrote: Except that

Re: [Python-Dev] PEP 3148 ready for pronouncement

2010-05-22 Thread Guido van Rossum
On Sat, May 22, 2010 at 7:09 AM, Jesse Noller jnol...@gmail.com wrote: On Sat, May 22, 2010 at 9:59 AM, R. David Murray rdmur...@bitdance.com wrote: On Sat, 22 May 2010 19:12:05 +1000, Brian Quinlan br...@sweetapp.com wrote: On May 22, 2010, at 5:30 AM, Dj Gilcrease wrote: On Fri, May 21,

Re: [Python-Dev] PEP 3148 ready for pronouncement

2010-05-22 Thread R. David Murray
On Sat, 22 May 2010 10:09:37 -0400, Jesse Noller jnol...@gmail.com wrote: On Sat, May 22, 2010 at 9:59 AM, R. David Murray rdmur...@bitdance.com wr= ote: On Sat, 22 May 2010 19:12:05 +1000, Brian Quinlan br...@sweetapp.com wr= ote: On May 22, 2010, at 5:30 AM, Dj Gilcrease wrote: On Fri,

Re: [Python-Dev] PEP 3148 ready for pronouncement

2010-05-22 Thread Brian Quinlan
On 22 May 2010, at 23:59, R. David Murray wrote: On Sat, 22 May 2010 19:12:05 +1000, Brian Quinlan br...@sweetapp.com wrote: On May 22, 2010, at 5:30 AM, Dj Gilcrease wrote: On Fri, May 21, 2010 at 8:26 AM, Brian Quinlan br...@sweetapp.com wrote: Except that now isn't the time for that

Re: [Python-Dev] PEP 3148 ready for pronouncement

2010-05-22 Thread Jeffrey Yasskin
I think the PEP's overall API is good to go. On Sat, May 22, 2010 at 4:12 PM, Brian Quinlan br...@sweetapp.com wrote: On 22 May 2010, at 23:59, R. David Murray wrote: If there is still discussion then perhaps the PEP isn't ready for pronouncement yet.  At some point someone can decide it is

Re: [Python-Dev] PEP 3148 ready for pronouncement

2010-05-22 Thread Jeffrey Yasskin
On Sat, May 22, 2010 at 4:12 PM, Brian Quinlan br...@sweetapp.com wrote: Rename executor = executer -1 for consistency with Java. Rename submit to apply apply focuses attention on the function object, while submit focuses attention, properly I think, on the fact that you're handing something

Re: [Python-Dev] PEP 3148 ready for pronouncement

2010-05-22 Thread Brian Quinlan
Hey all, Jesse, the designated pronouncer for this PEP, has decided to keep discussion open for a few more days. So fire away! Cheers, Brian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] PEP 3148 ready for pronouncement

2010-05-22 Thread Brian Quinlan
On May 23, 2010, at 9:43 AM, Jeffrey Yasskin wrote: I think the PEP's overall API is good to go. On Sat, May 22, 2010 at 4:12 PM, Brian Quinlan br...@sweetapp.com wrote: On 22 May 2010, at 23:59, R. David Murray wrote: If there is still discussion then perhaps the PEP isn't ready for

Re: [Python-Dev] PEP 3148 ready for pronouncement

2010-05-22 Thread Jesse Noller
On Sat, May 22, 2010 at 8:47 PM, Brian Quinlan br...@sweetapp.com wrote: Hey all, Jesse, the designated pronouncer for this PEP, has decided to keep discussion open for a few more days. So fire away! Man, everyone's faster on the email thing lately than me :) Yes, I spoke to Brian, and

Re: [Python-Dev] PEP 3148 ready for pronouncement

2010-05-22 Thread Brian Quinlan
On May 23, 2010, at 10:06 AM, Jeffrey Yasskin wrote: On Sat, May 22, 2010 at 4:12 PM, Brian Quinlan br...@sweetapp.com wrote: Rename executor = executer -1 for consistency with Java. -1 pending an explanation of why executer is better Rename submit to apply apply focuses attention

Re: [Python-Dev] PEP 3148 ready for pronouncement

2010-05-22 Thread Glyph Lefkowitz
On May 22, 2010, at 8:47 PM, Brian Quinlan wrote: Jesse, the designated pronouncer for this PEP, has decided to keep discussion open for a few more days. So fire away! As you wish! The PEP should be consistent in its usage of terminology about callables. It alternately calls them