Re: [Python-projects] [TIP] Teaching pylint about keyword placeholders in string formatting

2009-07-15 Thread Aurélien Campéas
On Wed, Jul 15, 2009 at 09:22:11AM -0500, s...@pobox.com wrote: > > Nicolas> Here is the ticket: > Nicolas> https://www.logilab.net/elo/ticket/9634 > > Is it possible to get read-only access to the tracker? It's prompting me > for a login which I don't have. > > Thx, that should be htt

Re: Jython on Google AppEngine.

2009-04-10 Thread Aurélien Campéas
Le 9/04/09 23:51, Tino Wildenhain a écrit : Jason Scheirer wrote: On Apr 9, 9:12 am, Alan Kennedy wrote: Hi all, You may be interested to know that you can now run jython 2.2 out of the box on Google AppEngine, thanks to their new java support. ... Finally! A way to run Python on App Engin

Re: How to Teach Python "Variables"

2007-11-25 Thread Aurélien Campéas
none a écrit : > Hello, > > IIRC, I once saw an explanation how Python doesn't have "variables" > in the sense that, say, C does, and instead has bindings from names to > objects. Does anyone have a link? > > Thanks, > > Ami That's something I've often heard and I don't get it

Re: basic if stuff- testing ranges

2007-11-25 Thread Aurélien Campéas
Donn Ingle a écrit : > Sheesh, I've been going spare trying to find how to do this short-hand: > if 0 > x < 20: print "within" you mean : 0 < x < 20 ? or x in xrange(1,20) ? > > So that x must be > 0 and < 20. > > I usually do: > if x > 0 and x < 20: print "within" > > What's the rule? Does

Re: Questions about remembering and caching function arguments

2007-11-12 Thread Aurélien Campéas
thebjorn a écrit : > On Nov 12, 1:05 am, "Anand Patil" <[EMAIL PROTECTED]> > wrote: >> Hi all, >> >> I have two questions about a class, which we'll call MyWrapperClass, >> in a package to which I'm contributing. >> >> 1) MyWrapperClass wraps functions. Each instance has an attribute >> called 'val

Re: Python-URL! - weekly Python news and links (Nov 12)

2007-11-12 Thread Aurélien Campéas
Laszlo Nagy a écrit : > Gabriel Genellina wrote: >> QOTW: "AOP is a programming paradigm in the same way indie is a genre of >> film." - Carl Banks >> http://groups.google.com/group/comp.lang.python/msg/224e922a3e1a8638 >> > I was following links and hit PEP 246 here: > > http://www.python