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.

What is your take on the use of super in TG.  And of this explanation
of why it is bad (link again):

http://fuhm.net/super-harmful/

Randall


--~--~---------~--~----~------------~-------~--~----~
 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