Re: [Python-Dev] Draft PEP: Deprecate codecs.StreamReader and codecs.StreamWriter

2011-07-06 Thread Vinay Sajip
Benjamin Peterson python.org> writes: > > 2011/7/6 Nick Coghlan gmail.com>: > > The API of the resulting object is the same (i.e. they're file-like > > objects). The behavioural differences are due to cases where the > > codec-specific classes are currently broken. > > Yes, but as we all know

Re: [Python-Dev] Draft PEP: Deprecate codecs.StreamReader and codecs.StreamWriter

2011-07-06 Thread Benjamin Peterson
2011/7/6 Nick Coghlan : > On Thu, Jul 7, 2011 at 11:16 AM, Benjamin Peterson > wrote: >> 2011/7/6 Victor Stinner : >>> codecs.open() will be changed to reuse the builtin open() function >>> (TextIOWrapper). >> >> This doesn't strike me as particularly backwards compatible, since >> you've just en

Re: [Python-Dev] Draft PEP: Deprecate codecs.StreamReader and codecs.StreamWriter

2011-07-06 Thread Nick Coghlan
On Thu, Jul 7, 2011 at 11:16 AM, Benjamin Peterson wrote: > 2011/7/6 Victor Stinner : >> codecs.open() will be changed to reuse the builtin open() function >> (TextIOWrapper). > > This doesn't strike me as particularly backwards compatible, since > you've just enumerated the differences between St

Re: [Python-Dev] Draft PEP: Deprecate codecs.StreamReader and codecs.StreamWriter

2011-07-06 Thread Benjamin Peterson
2011/7/6 Victor Stinner : > codecs.open() will be changed to reuse the builtin open() function > (TextIOWrapper). This doesn't strike me as particularly backwards compatible, since you've just enumerated the differences between StreamWriter/Reader and TextIOWrapper. -- Regards, Benjamin __

[Python-Dev] Draft PEP: Deprecate codecs.StreamReader and codecs.StreamWriter

2011-07-06 Thread Victor Stinner
Hi, Last may, I proposed to deprecate open() function, StreamWriter and StreamReader classes of the codecs module. I accepted to keep open() after the discussion on python-dev. Here is a more complete proposition as a PEP. It is a draft and I expect a lot of comments :) Victor --

Re: [Python-Dev] PEP 3101 implementation vs. documentation

2011-07-06 Thread Ben Wolfson
FWIW, new patches have been attached to the bug report (http://bugs.python.org/issue12014), one of which is intended to bring behavior in line with the documentation, and the other of which is intended to implement Greg Ewing's proposal to allow only identifiers (or integers) in the arg_name, attri

[Python-Dev] Python Launcher for Windows (PEP 397) needs testing!

2011-07-06 Thread Vinay Sajip
The C implementation of the PEP 397-compatible Python Launcher for Windows has come along nicely in the last few days, and now reached a point where it would benefit from some testing by interested python-dev members. Points of note: 1. As well as source available on https://bitbucket.org/vinay.s

Re: [Python-Dev] cpython: Remove mention of medical condition from the test suite.

2011-07-06 Thread Antoine Pitrou
On Wed, 06 Jul 2011 09:13:58 +0200 Stefan Behnel wrote: > > > those who are interested can sign up to the diversity list and read/post to > > the original thread here: > > > > http://mail.python.org/mailman/private/diversity/2011-July/002509.html > > Speaking of "singling out", I've been wonderi

Re: [Python-Dev] cpython: Remove mention of medical condition from the test suite.

2011-07-06 Thread Stefan Behnel
Georg Brandl, 06.07.2011 09:08: Am 06.07.2011 08:51, schrieb Stefan Behnel: Georg Brandl, 06.07.2011 07:35: Well, it was stated that even non-joking use of such words can offend (the example given was "your argument is blind to (these facts)"). I consider use in jokes to be more serious, since

Re: [Python-Dev] cpython: Remove mention of medical condition from the test suite.

2011-07-06 Thread Georg Brandl
Am 06.07.2011 08:51, schrieb Stefan Behnel: > Georg Brandl, 06.07.2011 07:35: >> Well, it was stated that even non-joking use of such words can offend >> (the example given was "your argument is blind to (these facts)"). >> I consider use in jokes to be more serious, since it's careless use. >> Sor