Re: [Webware-devel] cvs update

2001-06-12 Thread Geoff Talvola
At 12:00 PM 6/12/01 -0400, Chuck Esterbrook wrote: >At 11:55 AM 6/12/2001 -0400, Geoff Talvola wrote: >>I improved the automatic emailing on exceptions in WebKit. It now >>includes the appropriate headers to make my email program happy. > >Just out of curiosity, what were those? And type of e-ma

Re: [Webware-devel] cvs update

2001-06-12 Thread Chuck Esterbrook
At 11:55 AM 6/12/2001 -0400, Geoff Talvola wrote: >I improved the automatic emailing on exceptions in WebKit. It now >includes the appropriate headers to make my email program happy. Just out of curiosity, what were those? And type of e-mail server? -Chuck __

[Webware-devel] cvs update

2001-06-12 Thread Geoff Talvola
One of the PSP example pages was broken -- I fixed it. I improved the automatic emailing on exceptions in WebKit. It now includes the appropriate headers to make my email program happy. -- - Geoff Talvola [EMAIL PROTECTED] ___ Webware-devel mai

RE: [Webware-devel] DBPool

2001-06-12 Thread Jeff Johnson
> > self.application().foo should work fine for a 'foo' that you > create. This > is ordinary Python after all. > > Perhaps there was another problem where the attribute hadn't > been set yet? > Oops, I must have been smokin the crack rock that day. I was using app.valueForKey('myCache',None) i

RE: [Webware-devel] DBPool

2001-06-12 Thread Chuck Esterbrook
At 10:20 AM 6/12/2001 -0400, Jeff Johnson wrote: >I can't even remember how I found valueForKey() in the first place. I >wanted to just refer to dbPool with self.application().dbPool but it >doesn't work so I used valueForKey(). What's the correct way to do >this? > >Hey, I just realized that Ge

RE: [Webware-devel] DBPool

2001-06-12 Thread Jeff Johnson
> At 01:18 PM 6/11/2001 -0400, Jeff Johnson wrote: > >If this is right, should some of it be added to the docstring for > >DBPool? Currently it tells how to create the dbPool but not how to > >make it persist beyond a single servlet call. > > We're at the intersection of a MiscUtils class and how

RE: [Webware-devel] DBPool

2001-06-12 Thread Jeff Johnson
> > Another approach is to put your initialization code into a > regular Python > module. Then you just import it and use the variable. This > works because > modules only get imported once, plus the imports are guaranteed to be > thread-safe. For example: > > MyDBPool.py: > from MiscUtils.DBPo