Re: [Python-Dev] Coroutines and PEP 380

2012-01-24 Thread Matt Joiner
After much consideration, and playing with PEP380, I've changed my stance on this. Full blown coroutines are the proper way forward. greenlet doesn't cut it because the Python interpreter isn't aware of the context switches. Profiling, debugging and tracebacks are completely broken by this. Stackle

[Python-Dev] io module types

2012-01-24 Thread Matt Joiner
Can calls to the C types in the io module be made into module lookups more akin to how it would work were it written in Python? The C implementation for io_open invokes the C type objects for FileIO, and friends, instead of looking them up on the io or _io modules. This makes it difficult to subcla

Re: [Python-Dev] Counting collisions w/ no need for a fatal exception

2012-01-24 Thread Gregory P. Smith
On Sun, Jan 22, 2012 at 10:41 PM, Tim Delaney wrote: > On 23 January 2012 16:49, Lennart Regebro wrote: >> >> On Mon, Jan 23, 2012 at 06:02, Paul McMillan wrote: >> >> We may use a different salt per dictionary. >> > >> > If we're willing to re-hash everything on a per-dictionary basis. That >>

[Python-Dev] Status of Mac buildbots

2012-01-24 Thread Nadeem Vawda
Hi all, I've noticed that most of the Mac buildbots have been offline for a while: * http://www.python.org/dev/buildbot/all/buildslaves/parc-snowleopard-1 * http://www.python.org/dev/buildbot/all/buildslaves/parc-tiger-1 * http://www.python.org/dev/buildbot/all/buildslaves/parc-leopard-1 Does an

Re: [Python-Dev] Packaging and setuptools compatibility

2012-01-24 Thread Glyph Lefkowitz
On Jan 24, 2012, at 12:54 PM, Alexis Métaireau wrote: > I'm wondering if we should support that (a way to have plugins) in the new > packaging thing, or not. If not, this mean we should come with another > solution to support this outside of packaging (may be in distribute). If yes, > then we s

[Python-Dev] Packaging and setuptools compatibility

2012-01-24 Thread Alexis Métaireau
Hi folks, I have this in my mind since a long time, but I didn't talked about that on this list, was only writing on distutils@ or another list we had for distutils2 (the fellowship of packaging). AFAIK, we're almost good about packaging in python 3.3, but there is still something that keeps

Re: [Python-Dev] devguide: Use -j0 to maximimze parallel execution.

2012-01-24 Thread Brett Cannon
On Tue, Jan 24, 2012 at 13:52, Georg Brandl wrote: > Am 24.01.2012 18:58, schrieb brett.cannon: > > http://hg.python.org/devguide/rev/a34e4a6b89dc > > changeset: 489:a34e4a6b89dc > > user:Brett Cannon > > date:Tue Jan 24 12:58:01 2012 -0500 > > summary: > > Use -j0 to maximim

Re: [Python-Dev] devguide: Use -j0 to maximimze parallel execution.

2012-01-24 Thread Georg Brandl
Am 24.01.2012 18:58, schrieb brett.cannon: > http://hg.python.org/devguide/rev/a34e4a6b89dc > changeset: 489:a34e4a6b89dc > user:Brett Cannon > date:Tue Jan 24 12:58:01 2012 -0500 > summary: > Use -j0 to maximimze parallel execution. > > files: > runtests.rst | 2 +- > 1 f

[Python-Dev] Sprinting at PyCon US

2012-01-24 Thread Brett Cannon
I went ahead and signed us up as usual: https://us.pycon.org/2012/community/sprints/projects/ . I listed myself as the leader, but I will only be at the sprints one full day and whatever part of Tuesday I can fit in before flying out to Toronto (which is probably not much thanks to the timezone di

Re: [Python-Dev] Counting collisions for the win

2012-01-24 Thread Frank Sievertsen
Interesting idea, and I see it would avoid conversions. What happens if the data area also removed from the hash? So you enter 20 colliding keys, then 20 more that get randomized, then delete the 18 of the first 20. Can you still find the second 20 keys? Takes two sets of probes, somehow?