On 2008-03-02 23:11, Greg Ewing wrote:
> M.-A. Lemburg wrote:
>> Why not also make unicode() the default type constructor and only
>> keep str() as alias to simplify porting (perhaps with a warning) ?
> 
> -1 on making us type 7 characters instead of
> 3 all over the place.

Oh well... how about "text()" ?

>> The term "string" is just too overloaded with all kinds of
>> misinterpretations. The term "string" just refers to a string of
>> bytes - a variable length array so to speak.
> 
> I disagree -- "string" has come to mean "string of
> characters" unless otherwise qualified. Using one
> to hold non-characters is just an aberration that
> was necessary in Python 2 because there wasn't much
> alternative.

Buffer objects have been around for years and for exactly
this purpose.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Mar 03 2008)
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

:::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::


    eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
     D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
            Registered at Amtsgericht Duesseldorf: HRB 46611
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to