Re: [Python-Dev] Survey on DVCS usage and experience

2009-05-28 Thread Ben Finney
Senthil Kumaran writes: > On Wed, May 27, 2009 at 06:02:57PM -0600, Brian de Alwis wrote: > > > With Python having recently chosen to switch to Mercurial, I hoped > > that any developers who've used a DVCS (and who are over 18 years > > old) might like to participate in our survey and share your

[Python-Dev] Warnings when no file exists.

2009-05-28 Thread Campbell Barton
Hi, there has been a problem in blender3d for 6~ years or so thats eluded me, I decided to look into today. - Whenever the a script raises a warnings python prints out binary garbage in the console. Some users complain when they run python games in blender they get beeps coming from the PC speaker.

[Python-Dev] C/Python API Index removed?

2009-05-28 Thread Campbell Barton
This page used to give an index of the C/Python API functions too http://docs.python.org/genindex-all.html But a week or so ago I noticed all these functions are now missing (I remember they existed in 2.6.1 docs) Was this intentional? Quite a while ago, ~2.5 the C/API docs had their own index wh

Re: [Python-Dev] Survey on DVCS usage and experience

2009-05-28 Thread Senthil Kumaran
On Wed, May 27, 2009 at 06:02:57PM -0600, Brian de Alwis wrote: > With Python having recently chosen to switch to Mercurial, I hoped > that any developers who've used a DVCS (and who are over 18 years > old) might like to participate in our survey and share your Just curious. Why is this age rest

[Python-Dev] Possibility of binary configuration mismatch

2009-05-28 Thread David Abrahams
Hi All, I'm not sure there's anything you can do about this, but I thought I should alert the Python devs that it can happen... http://allmydata.org/trac/tahoe/ticket/704#comment:7 describes a situation where my macports-installed python25 had a pyOpenSSL egg installed in it by something other t

Re: [Python-Dev] question about docstring formatting

2009-05-28 Thread Ben Finney
David Goodger writes: > Even if there were no supporting tools, I think it is useful to > express the intent of a class/method/function in a single line. The > process of distilling the description down can, in itself, be > illuminating. To imitate the Zen: if the code can't be described in a > s

Re: [Python-Dev] [buildbot] some build slaves in bad shape

2009-05-28 Thread Tarek Ziadé
On Fri, May 29, 2009 at 12:39 AM, David Bolen wrote: > David Bolen writes: > >> Ooops, that's mine.  Geez - it's a VM, but has a 10GB C: drive, and >> the actual build slave has its working directory on a separate virtual >> drive.  Wonder what the heck has filled up the system drive.  I'm >> wor

Re: [Python-Dev] [buildbot] some build slaves in bad shape

2009-05-28 Thread David Bolen
David Bolen writes: > Ooops, that's mine. Geez - it's a VM, but has a 10GB C: drive, and > the actual build slave has its working directory on a separate virtual > drive. Wonder what the heck has filled up the system drive. I'm > working on it now though. Well, looks like it was 5+GB of tempo

Re: [Python-Dev] [Python-checkins] r72995 - in python/branches/py3k: Doc/library/contextlib.rst Doc/whatsnew/3.1.rst Lib/contextlib.py Lib/test/test_contextlib.py Misc/NEWS

2009-05-28 Thread Eric Smith
raymond.hettinger wrote: Author: raymond.hettinger Date: Fri May 29 00:20:03 2009 New Revision: 72995 Log: Deprecate contextlib.nested(). The with-statement now provides this functionality directly. Modified: python/branches/py3k/Doc/library/contextlib.rst python/branches/py3k/Doc/whats

Re: [Python-Dev] [buildbot] some build slaves in bad shape

2009-05-28 Thread David Bolen
Tarek Ziadé writes: > - x86 XP-4 (trunk and 3x) is throwing an "no space left on device" > error when it compiles the sqlite module in its temp dir Ooops, that's mine. Geez - it's a VM, but has a 10GB C: drive, and the actual build slave has its working directory on a separate virtual drive. W

Re: [Python-Dev] Making the GIL faster & lighter on Windows

2009-05-28 Thread Phillip Sitbon
The testing patch I submitted to the tracker includes a semaphore as well, and I did take some time to try it out. It seems that it's no better than the event object, either for a single thread or scaled to many threads... so this does appear to indicate that the WaitForXX functions are costly (whi

Re: [Python-Dev] question about docstring formatting

2009-05-28 Thread Ron Adam
Jeremy Hylton wrote: A question came up at work about docstring formatting. It relates to the description of the summary line in PEP 257. http://www.python.org/dev/peps/pep-0257/ """Multi-line docstrings consist of a summary line just like a one-line docstring, followed by a blank line, follo

[Python-Dev] [buildbot] some build slaves in bad shape

2009-05-28 Thread Tarek Ziadé
Hello, I've noticed some problems since this morning with the trunk and 3.x stable buildbots: - x86 XP-4 (trunk and 3x) is throwing an "no space left on device" error when it compiles the sqlite module in its temp dir - amd64 gentoo 3.x and ia64 Ubuntu 3.x buildbot versions seem to be too old t

Re: [Python-Dev] question about docstring formatting

2009-05-28 Thread Oleg Broytmann
On Thu, May 28, 2009 at 09:06:03AM -0400, Jeremy Hylton wrote: > It says that the summary line may be used by automatic indexing tools, > but is there any evidence that such a tool actually exists? epydoc, for one. Oleg. -- Oleg Broytmannhttp://phd.pp.ru/p...@phd.

Re: [Python-Dev] question about docstring formatting

2009-05-28 Thread David Goodger
On Thu, May 28, 2009 at 09:06, Jeremy Hylton wrote: > A question came up at work about docstring formatting.  It relates to > the description of the summary line in PEP 257. > > http://www.python.org/dev/peps/pep-0257/ > """Multi-line docstrings consist of a summary line just like a > one-line doc

Re: [Python-Dev] question about docstring formatting

2009-05-28 Thread glyph
On 01:06 pm, jer...@alum.mit.edu wrote: It says that the summary line may be used by automatic indexing tools, but is there any evidence that such a tool actually exists? Or was there once upon a time? If there are no such tools, do we still think that it is important that it fits on line line

[Python-Dev] question about docstring formatting

2009-05-28 Thread Jeremy Hylton
A question came up at work about docstring formatting. It relates to the description of the summary line in PEP 257. http://www.python.org/dev/peps/pep-0257/ """Multi-line docstrings consist of a summary line just like a one-line docstring, followed by a blank line, followed by a more elaborate d

Re: [Python-Dev] Making the GIL faster & lighter on Windows

2009-05-28 Thread Kristján Valur Jónsson
You are right, a small experiment confirmed that it is set to 0 (see SetCriticalSectionSpinCount()) I had assumed that a small non-zero value might be chosen on multiprocessor machines. Do you think that the problem lies with the use of the "event" object as such? Have you tried using a "semap

[Python-Dev] Survey on DVCS usage and experience

2009-05-28 Thread Brian de Alwis
Hello everybody. I'm Brett's former lab-mate, and am part of a team conducting a survey to understand the perceived benefits and challenges of using a decentralized or distributed version control systems (DVCS) in software development. With Python having recently chosen to switch to Mercurial, I