huge amounts of pure Python code broken by Python 2.5?

Klaas mike.klaas at gmail.com
Mon Feb 12 17:07:47 EST 2007


On Feb 10, 5:59 am, Brian Blais <bbl... at bryant.edu> wrote:
> Klaas wrote:
> > I have converted our 100 kloc from 2.4 to 2.5.  It was relatively
> > painless, and 2.5 has features we couldn't live without.
>
> Just out of curiosity, what features in 2.5 can you not live without?  I just
> migrated to 2.5, but haven't had much time to check out the cool new features.

Most important being the finalization of generators, which allowed me
to implement remote-rpc-yield elegantly.  It would have been possible
to do this using iterator classes, I admit.

with statements have also been a wonderful addition -- like decorators
for code blocks!

-Mike




More information about the Python-list mailing list