package python2.6
forwarded 601457 http://bugs.python.org/issue7922
thanks

On 26-Oct-2010, Jakub Wilk wrote:
> If 2to3's diff contains non-ASCII characters and its output is
> redirect to a file, it fails:

The report upstream at <URL:http://bugs.python.org/issue7922> gives
this workaround <URL:http://bugs.python.org/issue7922#msg99302>:

    It's just that whatever python guesses your terminal encoding is
    (try print(sys.stdin.encoding)) might not be able to handle
    whatever characters are in the source file, so we just don't print
    it. You can change the default encoding with the PYTHONIOENCODING
    env var.

How does that affect the status of this Debian bug report?

-- 
 \     “Nature is trying very hard to make us succeed, but nature does |
  `\       not depend on us. We are not the only experiment.” —Richard |
_o__)                                   Buckminster Fuller, 1978-04-30 |
Ben Finney <[email protected]>

Attachment: signature.asc
Description: Digital signature

Reply via email to