Re: Re: What does python 3000 mean for zope?

"Fred Drake" <[email protected]>
Newsgroups gmane.comp.web.zope.zope3
Message-ID <[email protected]>
On 8/31/07, Stephan Richter <[email protected]> wrote:
> That's is what I am most worried about. I really need to look into this to see
> how much things changed. Maybe not as much as we tend to think.

I think the changes will be substantial, both for Python code and for
C extensions.

A biggie is going to be the replacement of immutable str for binary
data; that gets replaced with a mutable bytes object.  It'll be good
to have, but the loss of an immutable sequence-of-bytes type seems
like a problem to me.

On the other hand, we gain ordinary string literals being Unicode.

I'm not sure what will happen with the standard library; it's just too
early to say.  I don't actually expect huge changes there, aside from
changes required by the str->bytes replacement.


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.