Linked by Eugenia Loli on Tue 19th Sep 2006 17:38 UTC, submitted by TheMonoTone
General Development "It's been nearly 20 months since the last major release of the Python programming language, and version 2.5 is probably the most significant new release of Python since 2.2. The latest release includes a variety of additions to the standard library, language extensions, and performance optimizations." More links here.
Thread beginning with comment 163667
To read all comments associated with this story, please click here.
currying now supported
by RandomGuy on Tue 19th Sep 2006 18:35 UTC
RandomGuy
Member since:
2006-07-30

http://docs.python.org/dev/whatsnew/pep-309.html

It seems currying (partial function application) is now supported by a module or am I missing anything?
I'd say it is an important change but not listed on the highlights page.
Could it be because Guido doesn't like functional programming all that much?

Reply Score: 1

RE: currying now supported
by bytecoder on Tue 19th Sep 2006 21:14 in reply to "currying now supported"
bytecoder Member since:
2005-11-27

That's really only slighter shorter than using a lambda, so it's not as though it was never "supported," per se.

server_log = lambda m: log(m, "server")

Reply Parent Score: 1

RE[2]: currying now supported
by RandomGuy on Tue 19th Sep 2006 21:48 in reply to "RE: currying now supported"
RandomGuy Member since:
2006-07-30

Ok, thanks. I'm not (yet) into python so I didn't know.
All I heard was some random rambling about Guido not liking functional programming.

But I'll definately give python a shot after I have managed to work through the pile of physics books in front of me. It'll be the day when perl6 is ready, you know ;-)

Reply Parent Score: 1