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/2003-February/033237.html below:

[Python-Dev] Unicode source code

[Python-Dev] Unicode source code [Python-Dev] Unicode source codeJust van Rossum just@letterror.com
Sun, 9 Feb 2003 19:59:06 +0100
I wrote:
> Hm. What I'm looking into now is to simply define a PyCompilerFlags
> flag called PyCF_SOURCE_IS_UTF8. eval() and compile() will then
> convert a unicode string to utf-8 and set this flag. This seems a
> very low-impact solution. Does this make sense?

Whether it makes sense I don't know <wink>, but it _does_ work. I've
uploaded a patch, including test for eval() and compile():

  http://python.org/sf/683515

Just



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