Re: Yet another comparison of Python Web Frameworks

2007-10-07 Thread genro
On Oct 7, 8:35 am, Michele Simionato <[EMAIL PROTECTED]> wrote: > On Oct 6, 12:57 pm, Bruno Desthuilliers > > > Michele Simionato a écrit : > > > > I looked at the source code and it seems fine to me, but I have > > > not used it directly, not stressed it. I need a > > > production-level WSGI sessi

Re: newbie: self.member syntax seems /really/ annoying

2007-09-12 Thread genro
On Sep 12, 6:21 am, Charles Fox <[EMAIL PROTECTED]> wrote: > I've just started playing around with Python, as a possible > replacement for a mix of C++, Matlab and Lisp. The language looks > lovely and clean with one huge exception: I do a lot of numerical > modeling, so I deal with objects (like

Re: Pythonic way for missing dict keys

2007-07-21 Thread genro
On Jul 19, 6:29 am, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > > Myobject will be instanciated each time, yes. > > > and so if the initialization is expensive you > > will probably see surprises. > > No "surprise" here, but it can indeed be suboptimal if instanciating > myobject is costly.

Re: Expandable 2D Dictionaries?

2007-07-08 Thread genro
On Jul 6, 5:43 pm, Robert Dailey <[EMAIL PROTECTED]> wrote: > Hi, > > I am interested in creating an expandable (dynamic) 2D dictionary. For > example: > > myvar["cat"]["paw"] = "Some String" > > The above example assumes "myvar" is declared. In order for this to > work, I have to know ahead of tim