A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-September/009438.html below:

[Python-Dev] Python 1.5.2 modules need porting to 2.0 because of unicode

[Python-Dev] Python 1.5.2 modules need porting to 2.0 because of unicode - comments please [Python-Dev] Python 1.5.2 modules need porting to 2.0 because of unicode - comments pleaseFredrik Lundh fredrik@pythonware.com
Tue, 19 Sep 2000 11:38:01 +0200
mal wrote:

> > So in essence, I suggest that the Unicode object does not implement
> > the buffer interface. If that has any undesirable consequences (which
> > ones?), I suggest that 'binary write' operations (sockets, files)
> > explicitly check for Unicode objects, and either reject them, or
> > invoke the system encoding (i.e. ASCII).
> 
> It's too late for any generic changes in the Unicode area.

it's not too late to fix bugs.

> The right thing to do is to make the *tools* Unicode aware, since
> you can't really expect the Unicode-string integration mechanism 
> to fiddle things right in every possible case out there.

no, but people may expect Python to raise an exception instead
of doing something that is not only non-portable, but also clearly
wrong in most real-life cases.

</F>



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4