Re: [Python-Dev] Locked-in defect? 32-bit hash values on 64-bit builds

2010-10-17 Thread Martin v. Löwis
> ISTM, the use of 64-bit builds is growing in popularity.  It was be a bummer
> to have a locked-in an effective size limit for dictionaries and sets
> because the API only supports 32-bit hash values.

If the ABI is frozen with 3.2, it would still be possible to introduce
"wide" hashes - it just will have to be a compatible change.

> The thread seems to show agreement that the hash values should be
> Py_ssize_t but the chance to fix it will be lost unless core devs get 
> more time to work on the problem or unless the ABI freeze is deferred.

I agree in principle, also, but would like to see some analysis on
existing third-party modules.

Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] Exposing pkguitl's import emulation (was Re: [Python-checkins] r85538 - python/branches/py3k/Doc/library/pkgutil.rst)

2010-10-17 Thread Nick Coghlan
I'm a little dubious about exposing these officially. They're mainly a
hack to get some parts of the standard library working (e.g. runpy) in
the absence of full PEP 302 support in the imp module, not really
something we want to encourage anyone else to use (and yes, they
should probably have underscores in their names, but we missed that
when the various private implementations scattered around the stdlib
were consolidated in pkgutil).

That said, who knows when we'll actually have it done right, so in the
meantime maybe having an official workaround is better than nothing...

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Buildbot for AIX

2010-10-17 Thread R. David Murray
On Fri, 15 Oct 2010 17:38:47 +0200, =?UTF-8?B?U8OpYmFzdGllbiBTYWJsw6k=?= 
 wrote:
> I finally got the authorization to run some buildbot slaves on our AIX 
> servers.
> 
> I made some tests with a buildbot script as close as possible to what 
> you already use. Here is a patch that show the kind of modifications I 
> had to do in order to get the buildbot slave to correctly run on AIX.
> 
> It is also necessary to apply the patch provided in issue 9862 so that 
> the tests won't hang forever.
> 
> It also would help if the corrections provided in the following issues 
> could be commited: 4499, 678250, 730467.

I've committed #9862, #4499 and #678250.  I'd like a confirming opinion
on #730467, though it sounds reasonable to me.

--
R. David Murray  www.bitdance.com
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com