[albatross-users] Albatross 1.10 pre1 release
Matt Goodall
matt at pollenation.net
Tue Jun 10 07:35:40 EST 2003
The apply() builtin is something I've been meaning to look at for ages.
I keep seeing it in framework type code and understood what it must be
doing but I have never actually had a need to use it. It turns out I've
been doing it "right" by avoiding it all the time without realising :).
IIRC, I just tried calling the function object in the way I expected it
to work. It worked so I carried on using it ... isn't Python wonderful
sometimes.
Thanks for enlightening me Andrew.
- Matt
On Mon, 2003-06-09 at 08:46, Andrew McNamara wrote:
> > * The FAQ says that Python 1.5.2 or later is required but, in at
> > least cgiapp and apacheapp, it looks like you've stopped using
> > the string module in favour of the string object's methods.
> > IIRC, string only became a first class object in 2.0.
>
> It should be mentioned that the intention for 1.10 is to drop support for
> 1.5.2. One particular reason to do this is that apply() is now deprecated,
> and while you don't normally see any difference, the warning machinery is
> invoked for every call, and it makes apply(fn, args) more than 300 times
> slower than the new-style fn(*args). See this thread:
>
> http://groups.google.com.au/groups?th=fbe9c932c8b5ad91
More information about the Albatross-users
mailing list