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/2002-May/024489.html below:

[Python-Dev] Allowing Unicode literals even without Unicode support?

[Python-Dev] Allowing Unicode literals even without Unicode support?Guido van Rossum guido@python.org
Tue, 28 May 2002 15:04:36 -0400
I implemented code that accepts u"..." literals when Unicode is
disabled, as long as they don't contain \u, \U or \N escapes.  I
didn't implement a test for regular non-ASCII characters.

> 2) Some library modules just don't seem to function without unicode.
> Current bad boys seem to include gettext, urllib (well, this just got
> fixed I think), minidom, pyexpat and the email package.  I could
> imagine the xml modules and the email package just plain not being
> supported w/o unicode.  gettext, too, I guess.

I fixed urllib, and made a fix to the email package so that at least
it won't fail on import.  The test suite still fails though.

> In which case:
> 
> 3) regrtest should probably be taught not to run test_unicode + close
> friends in --disable-unicode builds.
> 
> Anyone feel like digging into any of the above?

As was said before, let whoever cares about this do it.

--Guido van Rossum (home page: http://www.python.org/~guido/)




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