Search the web
Sign In
New User? Sign Up
PhillyPug · Python Users Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: Yahoo! Groups: Welcome to PhillyPug. Visit today!   Message List  
Reply | Forward Message #279 of 364 |
Re: [PhillyPug] Re: Yahoo! Groups: Welcome to PhillyPug. Visit today!

> Yes, the vendor we're working with said that they're not sure what
> their migration path will be for the next release of Jython - they
> have said they're able to get good performance out of the current
> Jython via bytecode compilation for the JVM. They're not sure if
> they'll be able to use the same techniques for the newer version.
>
> Do you know what the differences are between 2.2 and 2.5/2.6 (let
> alone 3.0)?

2.6 will continue down the path of 2.5, so there won't be major changes
from 2.5.

3.0 is really redesigning a lot of things in the language. All strings will
be unicode. `print` will be a function rather than a statement, new
features for classes, more consistent datatypes, new data types "bytes"
objects for instance, there's lots of stuff that seems basic--it's just
largely incompatible with 2.x.

I suppose the biggest changes from 2.2 -> 2.5 are things like
the decorator syntax (@function), "new style" classes, support for
metaclasses, generator expressions (yield statement/ "coroutines").
There's also been lots of things integrated into the standard library.
2.5 also has context managers, which I've never used, but can be
used kind of like dynamic-wind in scheme. (I know there's a CL
equivalent but it escapes me). I don't remember if 2.2 has a
finally clause with it's try-catch. I think it went away at one point and
came back, but I could be mistaken...

> I hope that the list-comprehension-like features are in
> 2.2, that's something that I'm looking forward to (ever since I read:
> http://norvig.com/spell-correct.html).

You get at least list comprehensions [x for x in range(1,100)], but you
don't get comprehensions for sets, and some other stuff I'm sure I'm
forgetting.

I take stuff for granted now, but can't remember when things were
available to me.

--
Andrew Gwozdziewycz
apgwoz@...
http://www.apgwoz.com | http://www.photub.com



Fri Jun 6, 2008 3:47 pm

jyrixx
Offline Offline
Send Email Send Email

Forward
Message #279 of 364 |
Expand Messages Author Sort by Date

... I've got a hard copy of that from a friend that I work with (Shawn Milochik). ... Yes, the vendor we're working with said that they're not sure what their...
Kyle R. Burton
kylerburton
Offline Send Email
Jun 6, 2008
2:44 pm

Hi. I'm Shawn Milochik. I live in Reading and work in King of Prussia. I have answered the basic questions below, and hope to get to know everyone in the group...
Shawn Milochik
shawnmilo
Offline Send Email
Jun 6, 2008
3:14 pm

... -- Andrew Gwozdziewycz apgwoz@... http://www.apgwoz.com | http://www.photub.com...
Andrew Gwozdziewycz
jyrixx
Offline Send Email
Jun 6, 2008
3:47 pm

Sorry, didn't mean to send that extra email with nothing in it. GMail gave me two send buttons and I hit the wrong one. -- Andrew Gwozdziewycz apgwoz@......
Andrew Gwozdziewycz
jyrixx
Offline Send Email
Jun 6, 2008
3:48 pm

... 2.6 will continue down the path of 2.5, so there won't be major changes from 2.5. 3.0 is really redesigning a lot of things in the language. All strings...
Andrew Gwozdziewycz
jyrixx
Offline Send Email
Jun 6, 2008
3:47 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help