Re: [Python-Dev] Modifying Grammar/grammar and other foul acts

2010-03-09 Thread Jeremy Hylton
On Sat, Mar 6, 2010 at 11:27 AM, Gregg Lind gregg.l...@gmail.com wrote: Python-devs, I'm writing to you for some help in understanding the Python grammar.  As an excuse to deep dive into Python's tokenizer / grammar, I decided (as a hideous, hideous joke) to want to allow braces where colons

[Python-Dev] Python 2.6.5 rc 2

2010-03-09 Thread Barry Warsaw
Hi Python hackateers! It looks like we finally have no more release blockers for 2.6.5rc2. I would like to tag the tree tonight for rc2 so that Martin can build the Windows installer for a release tomorrow. I am also moving the final release back to Friday March 19. -Barry signature.asc

Re: [Python-Dev] Building thread-safe sqlite3 with Python 2.6.5rc1

2010-03-09 Thread Darren Govoni
That worked great Oleg! Thank you! On Tue, 2010-03-09 at 01:52 +0300, Oleg Broytman wrote: On Mon, Mar 08, 2010 at 05:28:10PM -0500, Darren Govoni wrote: ProgrammingError: SQLite objects created in a thread can only be used in that same thread.The object was created in thread id -1217128768

[Python-Dev] FWD: http://www.python.org/dev/patches/

2010-03-09 Thread Aahz
- Forwarded message from Bob Vadnais b...@boblicious.com - Date: Tue, 09 Mar 2010 00:37:33 -0500 From: Bob Vadnais b...@boblicious.com To: webmas...@python.org Subject: http://www.python.org/dev/patches/ Submit documentation patches the same way. When adding the patch, be sure

Re: [Python-Dev] [PEP 3148] futures - execute computations asynchronously

2010-03-09 Thread Antoine Pitrou
Le Mon, 08 Mar 2010 21:11:45 -, exar...@twistedmatrix.com a écrit : Getting rid of the process-global state like this simplifies testing (both testing of the executors themselves and of application code which uses them). It also eliminates the unpleasant interpreter shutdown/module

Re: [Python-Dev] [PEP 3148] futures - execute computations asynchronously

2010-03-09 Thread Terry Reedy
On 3/8/2010 4:39 PM, Greg Ewing wrote: Terry Reedy wrote: Looking more close, I gather that the prime results will be printed 'in order' (waiting on each even if others are done) while the url results will be printed 'as available'. Seems to me that if you care about the order of the results,

Re: [Python-Dev] argparse ugliness

2010-03-09 Thread R. David Murray
On Mon, 08 Mar 2010 15:35:46 -0600, Robert Kern robert.k...@gmail.com wrote: On 2010-03-08 15:20 PM, Greg Ewing wrote: Mark Russell wrote: Boolean flags are a common enough case that I'd be inclined to add a wrapper method, parser.add_bool_argument('--plot') +1, this looks good.

Re: [Python-Dev] argparse ugliness

2010-03-09 Thread Robert Kern
On Tue, Mar 9, 2010 at 11:31, R. David Murray rdmur...@bitdance.com wrote: On Mon, 08 Mar 2010 15:35:46 -0600, Robert Kern robert.k...@gmail.com wrote: On 2010-03-08 15:20 PM, Greg Ewing wrote: Mark Russell wrote: Boolean flags are a common enough case that I'd be inclined to add a wrapper

Re: [Python-Dev] [PEP 3148] futures - execute computations asynchronously

2010-03-09 Thread Dj Gilcrease
On Mon, Mar 8, 2010 at 2:11 PM, exar...@twistedmatrix.com wrote: Getting rid of the process-global state like this simplifies testing (both testing of the executors themselves and of application code which uses them).  It also eliminates the unpleasant interpreter shutdown/module globals