Bug#415968: closed by Matthias Klose d...@debian.org (Re: Bug#415968: Not a bug)

2010-02-15 Thread Enrico Zini
On Mon, Feb 15, 2010 at 05:24:07PM +, Debian Bug Tracking System wrote:

 tags 415968 + wontfix
 thanks
 
 On 13.02.2010 22:20, Martin v. Löwis wrote:
 This is not a bug in Python, but in the individual scripts. Scripts
 should not rely on being able to write Unicode strings to stdout.
 Instead, they need to encode strings explicitly, according to whatever
 protocol is defined for whatever file they send the data to. In absence
 of a more specific guidance from the user (or the protocol that they
 follow), they should use locale.getpreferredencoding().
 
 I propose to close this as won't fix. Python 3 has resolved this issue
 in a different way, explicitly distinguishing between text files (which
 get encoded in the locale's encoding unless specified differently), and
 binary files (which don't support writing Unicode to them).

Fine with me, tag it wontfix, close it, archive the bug.

However, plese forgive me but I just can't stand silent and read This
is not a bug in Python. I find that phrase offensive. I understand
that's the general consensus among many high profile Python developers.
I find that consensus offensive.

I have to object, just for the records. Now that I have objected, let
this bug report die: that's fine with me.


Ciao,

Enrico

-- 
GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini enr...@enricozini.org



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100215213324.ga9...@enricozini.org



Bug#415968: Not a bug

2010-02-13 Thread Martin v. Löwis
This is not a bug in Python, but in the individual scripts. Scripts
should not rely on being able to write Unicode strings to stdout.
Instead, they need to encode strings explicitly, according to whatever
protocol is defined for whatever file they send the data to. In absence
of a more specific guidance from the user (or the protocol that they
follow), they should use locale.getpreferredencoding().

I propose to close this as won't fix. Python 3 has resolved this issue
in a different way, explicitly distinguishing between text files (which
get encoded in the locale's encoding unless specified differently), and
binary files (which don't support writing Unicode to them).



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org