Re: [Python-Dev] [Python-checkins] r64407 - python/trunk/Doc/library/multiprocessing.rst

2008-06-20 Thread A.M. Kuchling
On Thu, Jun 19, 2008 at 05:16:38PM -0400, Jesse Noller wrote: Where would that chapter end up (source-wise) I think a few of us might have additional things to add ;) This would be Doc/library/ipc.rst. The chapter is 'Interprocess Communication and Networking'. Is anyone else finding it

Re: [Python-Dev] C API for gc.enable() and gc.disable()

2008-06-20 Thread Kevin Jacobs [EMAIL PROTECTED]
+1 on a C API for enabling and disabling GC. I have several instances where I create a large number of objects non-cyclic objects where I see huge GC overhead (30+ seconds with gc enabled, 0.15 seconds when disabled). +1000 to fixing the garbage collector to be smart enough to self-regulate

Re: [Python-Dev] C API for gc.enable() and gc.disable()

2008-06-20 Thread Antoine Pitrou
Hi, Kevin Jacobs jacobs at bioinformed.com bioinformed at gmail.com writes: +1 on a C API for enabling and disabling GC.  I have several instances where I create a large number of objects non-cyclic objects where I see huge GC overhead (30+ seconds with gc enabled, 0.15 seconds when

Re: [Python-Dev] C API for gc.enable() and gc.disable()

2008-06-20 Thread Kevin Jacobs [EMAIL PROTECTED]
On Fri, Jun 20, 2008 at 10:25 AM, Antoine Pitrou [EMAIL PROTECTED] wrote: Kevin Jacobs jacobs at bioinformed.com bioinformed at gmail.com writes: +1 on a C API for enabling and disabling GC. I have several instances where I create a large number of objects non-cyclic objects where I see

Re: [Python-Dev] C API for gc.enable() and gc.disable()

2008-06-20 Thread Amaury Forgeot d'Arc
2008/6/20 Kevin Jacobs [EMAIL PROTECTED] [EMAIL PROTECTED]: On Fri, Jun 20, 2008 at 10:25 AM, Antoine Pitrou [EMAIL PROTECTED] wrote: Kevin Jacobs jacobs at bioinformed.com bioinformed at gmail.com writes: +1 on a C API for enabling and disabling GC. I have several instances where I

Re: [Python-Dev] [Python-checkins] r64407 - python/trunk/Doc/library/multiprocessing.rst

2008-06-20 Thread Bill Janssen
Is anyone else finding it increasingly odd that subprocess, signal, socket/ssl, and syncore are in the same chapter? I'm tempted to move socket, ssl, asyncore+asynchat into a 'networking' chapter, and then also move SocketServer from the 'Internet Protocols' chapter into this new chapter.

[Python-Dev] Summary of Python tracker Issues

2008-06-20 Thread Python tracker
ACTIVITY SUMMARY (06/13/08 - 06/20/08) Python tracker at http://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue number. Do NOT respond to this message. 1917 open (+28) / 13057 closed (+19) / 14974 total (+47) Open issues with patches: 581

Re: [Python-Dev] C API for gc.enable() and gc.disable()

2008-06-20 Thread Adam Olsen
On Fri, Jun 20, 2008 at 9:44 AM, Amaury Forgeot d'Arc [EMAIL PROTECTED] wrote: 2008/6/20 Kevin Jacobs [EMAIL PROTECTED] [EMAIL PROTECTED]: On Fri, Jun 20, 2008 at 10:25 AM, Antoine Pitrou [EMAIL PROTECTED] wrote: Kevin Jacobs jacobs at bioinformed.com bioinformed at gmail.com writes: +1

Re: [Python-Dev] r64407 - python/trunk/Doc/library/multiprocessing.rst

2008-06-20 Thread A.M. Kuchling
On Fri, Jun 20, 2008 at 08:55:13AM -0700, Bill Janssen wrote: Is anyone else finding it increasingly odd that subprocess, signal, socket/ssl, and syncore are in the same chapter? I'm tempted to move socket, ssl, asyncore+asynchat into a 'networking' chapter, and then also move

Re: [Python-Dev] r64407 - python/trunk/Doc/library/multiprocessing.rst

2008-06-20 Thread Bill Janssen
On Fri, Jun 20, 2008 at 08:55:13AM -0700, Bill Janssen wrote: Is anyone else finding it increasingly odd that subprocess, signal, socket/ssl, and syncore are in the same chapter? I'm tempted to move socket, ssl, asyncore+asynchat into a 'networking' chapter, and then also move

Re: [Python-Dev] [Python-checkins] r64424 - in python/trunk: Include/object.h Lib/test/test_sys.py Misc/NEWS Objects/intobject.c Objects/longobject.c Objects/typeobject.c Python/bltinmodule.c

2008-06-20 Thread Eric Smith
I thought there was a discussion of this earlier, and the idea was to leave the prior implementation, because that's how it's implemented in 3.0. bin() is a new feature in 2.6, so there's no particular need to make it work like hex() and oct(). Recall that in 3.0, __bin__, __oct__, and

Re: [Python-Dev] r64407 - python/trunk/Doc/library/multiprocessing.rst

2008-06-20 Thread Steve Holden
A.M. Kuchling wrote: On Fri, Jun 20, 2008 at 08:55:13AM -0700, Bill Janssen wrote: Is anyone else finding it increasingly odd that subprocess, signal, socket/ssl, and syncore are in the same chapter? I'm tempted to move socket, ssl, asyncore+asynchat into a 'networking' chapter, and then also

Re: [Python-Dev] r64407 - python/trunk/Doc/library/multiprocessing.rst

2008-06-20 Thread Fred Drake
On Jun 20, 2008, at 5:46 PM, Steve Holden wrote: Perhaps we need a split between networking technologies and network-based applications. Perhaps that would help. I certainly see HTTP as being on the same layer as SMTP and the like, but application protocols that ride on top of HTTP are a

Re: [Python-Dev] Status of Issue 2331 - Backport parameter annotations

2008-06-20 Thread [EMAIL PROTECTED]
I can help. I don't have a patch against the trunk but my first revisions of the patch for annotations did handle things like tuple parameters which are relevant to 2.6. Ah yes, I forgot about nested parameters. I see that 53170 still has nested parameters, but they were removed at some later

Re: [Python-Dev] C API for gc.enable() and gc.disable()

2008-06-20 Thread Antoine Pitrou
Le vendredi 20 juin 2008 à 17:44 +0200, Amaury Forgeot d'Arc a écrit : In short: the gc is tuned for typical usage. If your usage of python is specific, use gc.set_threshold and increase its values. It's fine for people in the know who take the time to test their code using various gc