I've been working on code that works a lot like string.Template and in
the process, I stumbled on re.Scanner. I have two questions.
1) Is re.Scanner ever going to be official? Can I count on it being
in future versions of python? It's been there for a really long time,
so I assume so, but someth
> Have you tried this? I believe it doesn't even work; types defined in
> C++ are supposed to be immutable. Try adding a new method to list or
> dict.
I noticed that and I was trying to figure out if I could create a new
metatype which would add a __dict__ and a method (called add_method or
somethi
Another thing about monkeypatching is that it seems like the best way
to write an extension class where you want half to be in C/C++ and
half in Python. I'm in the middle of working on such a class and
there are plenty of members that just don't need to be in C++.
Is there a better/preferred idio
> Wouldn't it be nicer to have a facility that let you send messages
> between processes and manage concurrency properly instead? You'll need
> most of this anyway to do multithreading sanely, and the benefit to the
> multiple process model is that you can scale to multiple machines, not
> just pr