Version upgrade blocked mentally

2008-11-29 Thread Adam E
I have read in my copy of Programming Python that all strings will be Unicode and there will be a byte type. This is mentally keeping me from upgrading to 2.6 . I'm curious, but are there still some who prefer Python 2.5? I don't mind constructive criticsm. --

Re: Version upgrade blocked mentally

2008-11-29 Thread Albert Hopkins
On Sat, 2008-11-29 at 12:32 -0800, Adam E wrote: I have read in my copy of Programming Python that all strings will be Unicode and there will be a byte type. This is mentally keeping me from upgrading to 2.6 . Care to explain? Actually what you describe is a change change takes place in

Re: Version upgrade blocked mentally

2008-11-29 Thread Scott David Daniels
Adam E wrote: I have read in my copy of Programming Python that all strings will be Unicode and there will be a byte type. Actually that change is scheduled for 3.0. As a tool for simplifying conversions and compatible code, the name bytes is provided in 2.6 as a synonym of str. This allows

Re: Version upgrade blocked mentally

2008-11-29 Thread Jean-Paul Calderone
On Sat, 29 Nov 2008 13:40:00 -0800, Scott David Daniels [EMAIL PROTECTED] wrote: Adam E wrote: I have read in my copy of Programming Python that all strings will be Unicode and there will be a byte type. Actually that change is scheduled for 3.0. Yes, but it's available in 2.6 as well:

Re: Version upgrade blocked mentally

2008-11-29 Thread Martin v. Löwis
I have read in my copy of Programming Python that all strings will be Unicode and there will be a byte type. Actually that change is scheduled for 3.0. Yes, but it's available in 2.6 as well: from __future__ import unicode_literals type('') type 'unicode' That's different,