Re: [Python-Dev] object capability; func_closure; __subclasses__

2007-06-27 Thread Phillip J. Eby
At 02:04 AM 6/28/2007 +0100, tav wrote: >rehi all, > >I have been looking at the object capability + Python discussions for >a while now, and was wondering what the use cases for >``object.__subclasses__`` and ``FunctionType.func_closure`` were? > >I don't see __subclasses__ used anywhere in the st

Re: [Python-Dev] csv changed from python 2.4 to 2.5

2007-06-27 Thread Christian K
[EMAIL PROTECTED] wrote: > Christian> I could not find documentation of the following change in > Christian> python2.5. What is the reason for that? > > Without looking through the change history for the module it's unclear to me > why that would have changed. The thing that changed is th

[Python-Dev] object capability; func_closure; __subclasses__

2007-06-27 Thread tav
rehi all, I have been looking at the object capability + Python discussions for a while now, and was wondering what the use cases for ``object.__subclasses__`` and ``FunctionType.func_closure`` were? I don't see __subclasses__ used anywhere in the standard library. And whilst I can see exposing f

Re: [Python-Dev] What's going on with the check-in emails?

2007-06-27 Thread Thomas Wouters
The mail-checkins script broke because of the upgrade of the machine that hosts the subversion repository -- Python 2.3 went away, but two scripts were still using '#!/usr/bin/env python2.3'. They should be fixed now. On 6/27/07, Alexandre Vassalotti <[EMAIL PROTECTED]> wrote: Hi, It seems the

Re: [Python-Dev] What's going on with the check-in emails?

2007-06-27 Thread Brett Cannon
On 6/27/07, Alexandre Vassalotti <[EMAIL PROTECTED]> wrote: > Hi, > > It seems there is a problem with check-in emails -- i.e., none have > been sent since r56057 (and the svn tree is at r56098 right now). > Does someone has a hint what's going on? > I am having issues as well. I just did a slew

Re: [Python-Dev] Return error codes from getaddrinfo.

2007-06-27 Thread Martin v. Löwis
> Is there supposed to be symbolic constants in the errno module > corresponding to getaddrinfo errors? No. On Windows, there is a separate set of error codes, winerror.h If you google for "winerror 11001", you find quickly that it is "host not found". > I want jython to use the same errno symb

Re: [Python-Dev] csv changed from python 2.4 to 2.5

2007-06-27 Thread skip
Christian> I could not find documentation of the following change in Christian> python2.5. What is the reason for that? Without looking through the change history for the module it's unclear to me why that would have changed. The thing that changed is that the get_dialect call now return

Re: [Python-Dev] What's going on with the check-in emails?

2007-06-27 Thread skip
Alexandre> It seems there is a problem with check-in emails -- i.e., Alexandre> none have been sent since r56057 (and the svn tree is at Alexandre> r56098 right now). Does someone has a hint what's going on? I'm not aware of a problem, though I noticed the slowdown in checkin emails

[Python-Dev] What's going on with the check-in emails?

2007-06-27 Thread Alexandre Vassalotti
Hi, It seems there is a problem with check-in emails -- i.e., none have been sent since r56057 (and the svn tree is at r56098 right now). Does someone has a hint what's going on? Thanks, -- Alexandre ___ Python-Dev mailing list Python-Dev@python.org htt

[Python-Dev] Return error codes from getaddrinfo.

2007-06-27 Thread Alan Kennedy
Dear all, I'm seeking enlightenment on the error codes returned by the socket.getaddrinfo() function. Consider the following on python 2.5 on Windows >>> import urllib >>> urllib.urlopen("http://nonexistent";) [snip traceback] IOError: [Errno socket error] (11001, 'getaddrinfo failed') So

Re: [Python-Dev] csv changed from python 2.4 to 2.5

2007-06-27 Thread Nick Craig-Wood
Christian K <[EMAIL PROTECTED]> wrote: > I could not find documentation of the following change in python2.5. What is > the > reason for that? > > Python 2.4.4 (#2, Apr 12 2007, 21:03:11) > [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2 > Type "help", "copyright", "credits" or "license" for m