No, I just didn't think of it.

> -----Original Message-----
> From: Chuck Esterbrook [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 12, 2001 8:21 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Webware-devel] Re: Session invalidate
> 
> 
> At 08:04 PM 8/12/2001 -0400, Jay Love wrote:
> >Done.
> >
> >I also added dictionary style access to Session.  Also, 
> >Application.isSessionIdProblematic wasn't checking the 
> session objects 
> >timeout and was using the default configuration setting.  I 
> fixed that.
> >
> >Jay
> 
> Is there any reason to do this:
> 
>          def __getitem__(self, name):
>                  return self.value(name)
> 
>          def __setitem__(self, name, value):
>                  self.setValue(name, value)
> 
>          def __delitem__(self, name):
>                  self.delValue(self, name)
> 
> 
> rather than this:
> 
>          __getitem__ = value
>          __setitem__ = setValue
>          __delitem__ = delValue
> 
> 
> The second is faster and smaller.
> 
> 
> -Chuck
> 
> 
> _______________________________________________
> Webware-devel mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/webware-devel
> 


----------------------------------------------------------------------------

This e-mail and any attachments may be confidential or legally privileged.
If you received this message in error or are not the intended recipient, you
should destroy the e-mail message and any attachments or copies, and you are
prohibited from retaining, distributing, disclosing or using any information
contained herein.  Please inform us of the erroneous delivery by return
e-mail. 

Thank you for your cooperation.

----------------------------------------------------------------------------



_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to