The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
[Originally posted by tim]

Should I upgrade? Should I wait?

I've always been the kind of guy who runs out and upgrades everything as soon
as it comes out, but I probably don't know enough about Python to know what's
different (besides IDLE).

What are your thoughts?

Regards,
Tim Murray
import-bot (20211) [Avatar] Offline
#2
Re: Python 1.6 beta 1...
[Originally posted by daryl harms]

> Should I upgrade? Should I wait?
>
> I've always been the kind of guy who runs out and upgrades everything as soon
> as it comes out, but I probably don't know enough about Python to know what's
> different (besides IDLE).
>
> What are your thoughts?
>
> Regards,
> Tim Murray

Hi Tim,

I'm the kind of person who usually waits until new releases have been out a
while before converting (and this is a beta release). So I may not be the
right person for you to ask smilie.

There is a list of changes outlined on the download web page:
http://www.python.org/1.6

As a summary, the major changes from my perspective would be:

1. support for unicode strings;
2. a new, faster regular expression engine;
3. the addition of methods for strings; and
4. openSSL support in the socket, httplib and urllib modules

If you want to get started using unicode strings, then you will want to
upgrade to it. For details on these, see the two links provided off of the
download page, i.e.
http://www.reportlab.com/i18n/python_unicode_tutorial.html
and
http://starship.python.net/crew/lemburg/unicode-proposal.txt

The faster regular expression functionality may also be a reason for you to
want to upgrade as well.

The new methods on strings mostly provide the same functionality that is
currently in the "string" module along with two new things, "startwith" and
"endswith". The "string" module will still be there, however, and with so much
existing code using it, it won't be going away anytime soon.

Due to other things happening this summer, I haven't been able to follow
things very closely. However, with Guido and his team moving over to
BeOpen.com, the 1.6 release has been slowed down. Last I heard, there was some
debate as to whether there would actually be a final official 1.6 release or
whether they end up jumping forward and release 2.0 instead.
See:
http://starship.python.net/crew/amk/python/writing/new-python/
for a current view on the features of 2.0

So, in conclusion, you will of course need to make your own decision. Myself,
I have 1.6b1 downloaded but for production code I'm still using 1.5.2

Cheers,
Daryl
import-bot (20211) [Avatar] Offline
#3
Re: Python 1.6 beta 1...
[Originally posted by tim]

OK, thanks for the explanation. I guess I'll have to consider it more before
I do anything, but this will definitely help me make a decision that I won't
regret later.

Regards,
Tim