Re: a huge shared read-only data in parallel accesses -- How? multithreading? multiprocessing?

2010-01-03 Thread garyrob
One thing I'm not clear on regarding Klauss' patch. He says it's applicable where the data is primarily non-numeric. In trying to understand why that would be the case, I'm thinking that the increased per-object memory overhead for reference-counting would outweigh the space gains from the shared m

pyprocessing and exceptions

2009-04-15 Thread garyrob
Hi, We're still using Python 2.5 so this question is about the pyprocessing module rather than the multiprocessing module, but I'm guessing the answer is the same. I tend to use the Pool() object to create slave processes. If something goes wrong in the slave, an exception is raised there, which

Re: what's wrong with "lambda x : print x/60,x%60"

2005-12-21 Thread garyrob
> I don't understand why the critics of lambda don't understand that > having to use so many temp variables, for either numbers or functions, > can work against both concision and clarity. I agree with this completely. My company has a rather large application written in Python (http://www.goombah

MS Compiler to build Python 2.3 extension

2005-06-29 Thread garyrob
Hello, I have no Microsoft compilers on my hard disk. I recenly built a C API Python extension for Python 2.3 on OS X, and now I need to build it for Windows. When I start Python 2.3 on Windows, it says it was built with "MS C v.1200". I'm not sure how that maps to current Microsoft compiler prod