I am not really the one to answer this in depth but before this goes
too far.  I am pretty sure it only runs twice in debug mode because
there is one process to watch the other process and restart it if code
changes.  It was talked about on here a while back so maybe search for
it if you want more info. It should be off by default in prod.  Also,
Sorry but I know nothing about super's validity.

-Ian

On 11/14/06, iain duncan <[EMAIL PROTECTED]> wrote:
>
> On Tue, 2006-14-11 at 21:51 -0800, Randall wrote:
> > A problem I never figured out was why some of my code gets called
> > twice.
> >
> > http://groups.google.com/group/turbogears/browse_thread/thread/c215cec6bf247841/8fb85d3bc7b53c16?lnk=gst&q=twice&rnum=1#8fb85d3bc7b53c16
> >
> > I recently ran across this website, http://fuhm.net/super-harmful/
> > that explains why using super is harmful.  What caught my attention is
> > the section titled "Subclasses must use super if their superclasses
> > do".  I noted there are similar instances in forms.py as shown in the
> > example, which may explain why my code gets called twice.  I don't know
> > for sure that's the cause of my problem, but at any rate, I'm skeptical
> > of super's usage now.
>
> Would this explain why I get log messages in doubles from CherryPY?
> That's a bit of a concern for Paypal notification handshaking, it's
> going to be a pain if I'm constantly doubling every outgoing handshake.
>
> Iain
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to