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/2010-December/107051.html below:

[Python-Dev] r87518 - python/branches/py3k/Parser/tokenizer.c

[Python-Dev] r87518 - python/branches/py3k/Parser/tokenizer.c [Python-Dev] r87518 - python/branches/py3k/Parser/tokenizer.cVictor Stinner victor.stinner at haypocalc.com
Tue Dec 28 12:01:43 CET 2010
Le mardi 28 décembre 2010 à 10:12 +0100, Georg Brandl a écrit :
> >> > Author: victor.stinner
> >> > Date: Mon Dec 27 21:12:13 2010
> >> > New Revision: 87518
> >> > 
> >> > Log:
> >> > Issue #10778: decoding_fgets() decodes the filename from the filesystem
> >> > encoding instead of UTF-8.
> > 
> >> Hmm, and in case decoding fails, we return a Unicode error (without context)
> >> instead of a syntax error?

I created an issue for this problem, but also to prepare the full
support of unicode in the import machinery. I patched the import
machinery of Python 3 to support undecodable bytes, but Python 3 doesn't
support unencodable characters on Windows (see issue #3080).

http://bugs.python.org/issue10785

Victor

More information about the Python-Dev mailing list

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