[Python-Dev] CPython optimization: storing reference counters outside of objects

2011-05-21 Thread Artur Siekielski
Hi. The problem with reference counters is that they are very often incremented/decremented, even for read-only algorithms (like traversal of a list). It has two drawbacks: 1. CPU cache lines (64 bytes on X86) containing a beginning of a PyObject are very often invalidated, resulting in loosing man

Re: [Python-Dev] Stable buildbots update

2011-05-21 Thread Tarek Ziadé
On Sat, May 21, 2011 at 4:37 PM, Antoine Pitrou wrote: > > Hello, > > We recently got a couple of new stable buildbots: > - R. David Murray's "x86 Gentoo" machine, which builds in non-debug >  mode and therefore checks that release Pythons work fine > - Stefan Krah's "AMD64 FreeBSD 8.2" machine >

Re: [Python-Dev] The socket HOWTO

2011-05-21 Thread Georg Brandl
On 05/21/11 18:01, Senthil Kumaran wrote: > On Sat, May 21, 2011 at 05:37:05PM +0200, Georg Brandl wrote: >> > >> > I would like to suggest that we remove the socket HOWTO (currently at >> > http://docs.python.org/dev/howto/sockets.html) >> >> +1, or a big rewrite. >> > > I favor a rewrite over

Re: [Python-Dev] The socket HOWTO

2011-05-21 Thread Senthil Kumaran
On Sat, May 21, 2011 at 05:37:05PM +0200, Georg Brandl wrote: > > > > I would like to suggest that we remove the socket HOWTO (currently at > > http://docs.python.org/dev/howto/sockets.html) > > +1, or a big rewrite. > I favor a rewrite over removal. I have read it once/twice and have never rev

Re: [Python-Dev] The socket HOWTO

2011-05-21 Thread Ross Lagerwall
On Sat, 2011-05-21 at 17:07 +0200, Antoine Pitrou wrote: > Hello, > > I would like to suggest that we remove the socket HOWTO (currently at > http://docs.python.org/dev/howto/sockets.html) > > My main issue with this document is that it doesn't seem to have > a well-defined destination: > - peopl

Re: [Python-Dev] The socket HOWTO

2011-05-21 Thread Eli Bendersky
> I would like to suggest that we remove the socket HOWTO (currently at > http://docs.python.org/dev/howto/sockets.html) > > My main issue with this document is that it doesn't seem to have > a well-defined destination: > - people who know sockets won't learn anything from it > - but people who don

Re: [Python-Dev] The socket HOWTO

2011-05-21 Thread Georg Brandl
On 05/21/11 17:07, Antoine Pitrou wrote: > > Hello, > > I would like to suggest that we remove the socket HOWTO (currently at > http://docs.python.org/dev/howto/sockets.html) +1, or a big rewrite. Georg ___ Python-Dev mailing list Python-Dev@python.o

[Python-Dev] The socket HOWTO

2011-05-21 Thread Antoine Pitrou
Hello, I would like to suggest that we remove the socket HOWTO (currently at http://docs.python.org/dev/howto/sockets.html) My main issue with this document is that it doesn't seem to have a well-defined destination: - people who know sockets won't learn anything from it - but people who don't k

[Python-Dev] Stable buildbots update

2011-05-21 Thread Antoine Pitrou
Hello, We recently got a couple of new stable buildbots: - R. David Murray's "x86 Gentoo" machine, which builds in non-debug mode and therefore checks that release Pythons work fine - Stefan Krah's "AMD64 FreeBSD 8.2" machine - Bill Janssen's "AMD64 Snow Leopard" machine Many stable buildbots

Re: [Python-Dev] Hello!

2011-05-21 Thread Antoine Pitrou
On Fri, 20 May 2011 19:01:26 +0200 Charles-François Natali wrote: > Hi, > > My name is Charles-François Natali, I've been using Python for a > couple years, and I've recently been granted commit priviledge. > I just wanted to say hi to everyone on this list, and let you know > that I'm really ha

Re: [Python-Dev] cpython: Added SSL test for HTTPHandler.

2011-05-21 Thread Antoine Pitrou
On Sat, 21 May 2011 12:32:21 +0200 vinay.sajip wrote: > +if secure: > +import ssl > +fd, fn = tempfile.mkstemp() > +os.close(fd) > +with open(fn, 'w') as f: > +f.write(self.PEMFILE) > +s