[Python-3000] New builtin exceptions classes?

2007-03-22 Thread Frank Benkstein
Hi, I'm new to this list and interested in Python 3000 development. The following is not really a proposal that is ready to be implemented. I'm merely interested if this is a problem others want to be solved, too, and if it would be possible to get such a thing into Python 3000. IMHO Exceptions

[Python-3000] IPv6 address tuple

2007-03-22 Thread Erno Kuusela
Hello, Would it be out of the question to change the IPv6 address 4-tuple to a 2-tuple (as used with IPv4) in Python 2.0? This is a source of many compatibility problems, and the additional flowinfo and scope elements from the IPv6 tuple are practically never used by normal applications. -- ern

Re: [Python-3000] Question about PEP 3001 and fixing API flaws

2007-03-22 Thread Jack Diederich
On Wed, Mar 21, 2007 at 01:38:32PM -0600, Steven Bethard wrote: > On 3/14/07, BJörn Lindqvist <[EMAIL PROTECTED]> wrote: > > For another example, take the Telnet class in the telnetlib module. It > > has a method set_option_negotiation_callback() which takes a function > > that will be called for e

Re: [Python-3000] New builtin exceptions classes?

2007-03-22 Thread Brett Cannon
On 3/22/07, Frank Benkstein <[EMAIL PROTECTED]> wrote: > Hi, > > I'm new to this list and interested in Python 3000 development. > > The following is not really a proposal that is ready to be implemented. > I'm merely interested if this is a problem others want to be solved, > too, and if it would

Re: [Python-3000] IPv6 address tuple

2007-03-22 Thread Brett Cannon
On 22 Mar 2007 19:47:50 +0200, Erno Kuusela <[EMAIL PROTECTED]> wrote: > Hello, > > Would it be out of the question to change the IPv6 address 4-tuple to > a 2-tuple (as used with IPv4) in Python 2.0? This is a source of many > compatibility problems, and the additional flowinfo and scope elements

Re: [Python-3000] New builtin exceptions classes?

2007-03-22 Thread Martin v. Löwis
Frank Benkstein schrieb: > IMHO Exceptions should carry more information about why and where the > exception happened. A good example of an exception class carrying that > kind of information is IOError with its 'filename' and 'errno' > attributes (although these could be documented better). It wou

Re: [Python-3000] IPv6 address tuple

2007-03-22 Thread Martin v. Löwis
> Would it be out of the question to change the IPv6 address 4-tuple to > a 2-tuple (as used with IPv4) in Python 2.0? This is a source of many > compatibility problems, and the additional flowinfo and scope elements > from the IPv6 tuple are practically never used by normal applications. As a sta