Re: [Python-Dev] cpython: Using 'long double' to force this structure to be worst case aligned is no

2012-12-14 Thread Ronald Oussoren
On 14 Dec, 2012, at 8:27, Gregory P. Smith g...@krypto.org wrote: On Mon, Dec 10, 2012 at 11:16 PM, Antoine Pitrou solip...@pitrou.net wrote: On Tue, 11 Dec 2012 03:05:19 +0100 (CET) gregory.p.smith python-check...@python.org wrote: Using 'long double' to force this structure to be

Re: [Python-Dev] Draft PEP for time zone support.

2012-12-14 Thread Lennart Regebro
OK, so it's been 12 hours with no further discussion, so I'll make an attempt to summarize what I think is the consensus changes before updating the PEP. 1. Python will include a timezone database both in the source distribution and the Windows installer (although I suspect that binary packages

Re: [Python-Dev] cpython: Using 'long double' to force this structure to be worst case aligned is no

2012-12-14 Thread Gregory P. Smith
On Fri, Dec 14, 2012 at 12:02 AM, Ronald Oussoren ronaldousso...@mac.comwrote: On 14 Dec, 2012, at 8:27, Gregory P. Smith g...@krypto.org wrote: On Mon, Dec 10, 2012 at 11:16 PM, Antoine Pitrou solip...@pitrou.netwrote: On Tue, 11 Dec 2012 03:05:19 +0100 (CET) gregory.p.smith

Re: [Python-Dev] cpython: Using 'long double' to force this structure to be worst case aligned is no

2012-12-14 Thread Mark Dickinson
On Fri, Dec 14, 2012 at 7:27 AM, Gregory P. Smith g...@krypto.org wrote: So changing the definition of the dummy side of the union makes zero difference to already compiled code as it (a) doesn't change the structure's size and (b) all existing implementations already align these on an 8 byte

Re: [Python-Dev] [Distutils] Is is worth disentangling distutils?

2012-12-14 Thread Lennart Regebro
On Fri, Dec 14, 2012 at 9:49 AM, Antonio Cavallo a.cava...@cavallinux.eu wrote: My requirements would quite simple: 2. cross compiling That is *not* a simple requirement. //Lennart ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] cpython: Using 'long double' to force this structure to be worst case aligned is no

2012-12-14 Thread Gregory P. Smith
Yes, see the followup. My comments before were all misinterpreting size_t. Same result on x86_64 linux. On a 64-bit platform the 24 byte structure now occupies 24 bytes instead of being padded to 32. Nice. On a 32-bit platform it should remain 16 bytes. The PyGC_Head union structure is NOT

Re: [Python-Dev] Mercurial workflow question...

2012-12-14 Thread Antoine Pitrou
Le Thu, 13 Dec 2012 21:48:23 -0500, R. David Murray rdmur...@bitdance.com a écrit : On Thu, 13 Dec 2012 20:21:24 -0500, Trent Nelson tr...@snakebite.org wrote: - Use a completely separate clone to house all the intermediate commits, then generate a diff once the final commit is

Re: [Python-Dev] cpython: Using 'long double' to force this structure to be worst case aligned is no

2012-12-14 Thread Antoine Pitrou
Le Fri, 14 Dec 2012 01:14:04 -0800, Gregory P. Smith g...@krypto.org a écrit : Yes, see the followup. My comments before were all misinterpreting size_t. Same result on x86_64 linux. On a 64-bit platform the 24 byte structure now occupies 24 bytes instead of being padded to 32. Nice. On a

Re: [Python-Dev] Draft PEP for time zone support.

2012-12-14 Thread Christian Heimes
Am 14.12.2012 09:31, schrieb Lennart Regebro: 1. Python will include a timezone database both in the source distribution and the Windows installer (although I suspect that binary packages for Linux distributions may skip this, but that's OK). You need to specify the details. Where is the

Re: [Python-Dev] Draft PEP for time zone support.

2012-12-14 Thread Barry Warsaw
On Dec 14, 2012, at 12:01 PM, Christian Heimes wrote: * It's the release managers responsibility to make sure, all final releases contain the current db. This needs to be added to the RM's TODO list. That would be PEP 101. -Barry ___ Python-Dev

Re: [Python-Dev] [Distutils] Is is worth disentangling distutils?

2012-12-14 Thread Antonio Cavallo
Mmm, so the question would be distutils2 or distlib? I think tarek made a graph of the different packages systems... seen on reddit some time ago. My requirements would quite simple: 1. support DESTDIR approach where a package can be installed in an intermediate directory before its final

[Python-Dev] Summary of Python tracker Issues

2012-12-14 Thread Python tracker
ACTIVITY SUMMARY (2012-12-07 - 2012-12-14) Python tracker at http://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue. Do NOT respond to this message. Issues counts and deltas: open3826 (+10) closed 24631 (+34) total 28457 (+44) Open issues

[Python-Dev] http.client Nagle/delayed-ack optimization

2012-12-14 Thread Ben Leslie
The http.client HTTPConnection._send_output method has an optimization for avoiding bad interactions between delayed-ack and the Nagle algorithm: http://hg.python.org/cpython/file/f32f67d26035/Lib/http/client.py#l884 Unfortunately this interacts rather poorly if the case where the message_body

Re: [Python-Dev] http.client Nagle/delayed-ack optimization

2012-12-14 Thread Antoine Pitrou
On Sat, 15 Dec 2012 06:17:19 +1100 Ben Leslie be...@benno.id.au wrote: The http.client HTTPConnection._send_output method has an optimization for avoiding bad interactions between delayed-ack and the Nagle algorithm: http://hg.python.org/cpython/file/f32f67d26035/Lib/http/client.py#l884

Re: [Python-Dev] [Distutils] Is is worth disentangling distutils?

2012-12-14 Thread Antonio Cavallo
It is not that complex... What's ahead is even more complex. Lennart Regebro wrote: On Fri, Dec 14, 2012 at 9:49 AM, Antonio Cavallo a.cava...@cavallinux.eu wrote: My requirements would quite simple: 2. cross compiling That is *not* a simple requirement. //Lennart

Re: [Python-Dev] Downloads page: Which version of Python should be listed first?

2012-12-14 Thread Devin Jeanpierre
On Thu, Dec 13, 2012 at 9:38 PM, Eric Snow ericsnowcurren...@gmail.com wrote: If you don't know which version to use, start with Python 2.7; more existing third party software is compatible with Python 2 than Python 3 right now. Firstly, is this still true? (I wouldn't have a clue.) Nope:

Re: [Python-Dev] Downloads page: Which version of Python should be listed first?

2012-12-14 Thread Chris Angelico
On Sat, Dec 15, 2012 at 12:31 PM, Devin Jeanpierre jeanpierr...@gmail.com wrote: On Thu, Dec 13, 2012 at 9:38 PM, Eric Snow ericsnowcurren...@gmail.com wrote: If you don't know which version to use, start with Python 2.7; more existing third party software is compatible with Python 2 than

Re: [Python-Dev] Downloads page: Which version of Python should be listed first?

2012-12-14 Thread Stephen J. Turnbull
Devin Jeanpierre writes: Until those numbers hit 100%, or until projects start dropping support for Python 2.x, the statement would still be true. This is simply not true. Once the numbers hit somewhere in the neighborhood of 50%, the network effects (the need to connect to the more