Re: sys.excepthook and threads

2007-04-12 Thread Dr. Peer Griebel
ian schrieb: > Hi, > > sys.excepthook don't work if an exception come in a thread... > It's normal or its a bug ? There are any tip ? look here : > http://spyced.blogspot.com/2005_06_01_archive.html > > Thx I think sys.excepthook is a thread local variable. This means the variable has to b

Partial Classes - Aspects

2006-07-29 Thread Dr. Peer Griebel
I'm currently writing a small toy application to support symbolic algebra. Therefore I implemented some classes Term, Var, Number, Sum, Product, Power. These classes are tightly coupled. So it is not possible to organize them in distinct files. This would result in cyclic imports. To manage the

Re: Working with method-wrapper objects

2005-05-03 Thread Dr. Peer Griebel
Bengt Richter wrote: > On Thu, 28 Apr 2005 11:33:04 +0200, "Dr. Peer Griebel" <[EMAIL PROTECTED]> > wrote: > > >>Peer Dr. Griebel wrote: > > [..] > >>>Why has [].__str__ a different type than object.__str__? >>>Why is object.__str_

Re: Working with method-wrapper objects

2005-04-28 Thread Dr. Peer Griebel
Peer Dr. Griebel wrote: I think I was a little bit unspecific in my last mail. I would like to see some description about method-wrapper and wrapper_descriptor objects. I dont' understand the following behaviour: type([].__str__) type(object.__str__) type(object().__str__) import inspect inspe