Re: [Python-Dev] ctypes: alignment of (simple) types

2011-11-07 Thread Amaury Forgeot d'Arc
Hi, 2011/11/7 Michael Walle > What do you think about adding a special attribute '_align_' which, if set > for > a data type overrides the hardcoded align property of that type? > It's a good idea. But you should also consider the other feature requests around custom alignments. IMO a good thi

[Python-Dev] ctypes: alignment of (simple) types

2011-11-07 Thread Michael Walle
Hi all, gcc allows to set alignments for typedefs like: typedef double MyDouble __attribute__((__aligned__(8))); Now if i use this new type within a structure: struct s { char c; MyDouble d; }; The following holds: sizeof(struct s) == 16 and offsetof(struct s, d) == 8. ctypes

Re: [Python-Dev] [Python-checkins] cpython: quote the type name for improved readability

2011-11-07 Thread Stefan Behnel
Éric Araujo, 07.11.2011 18:24: http://hg.python.org/cpython/rev/bbc929bc2224 user:Philip Jenvey summary: quote the type name for improved readability files: Python/bltinmodule.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Python/bltinmodule.c b/Pyt

Re: [Python-Dev] [Python-checkins] cpython: quote the type name for improved readability

2011-11-07 Thread Éric Araujo
Hi, > http://hg.python.org/cpython/rev/bbc929bc2224 > user:Philip Jenvey > summary: > quote the type name for improved readability > > files: > Python/bltinmodule.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > > diff --git a/Python/bltinmodule.c b/Python/bltinm

Re: [Python-Dev] Packaging and binary distributions

2011-11-07 Thread Vinay Sajip
> > It seems to me that there are two separate things going on in this > sample. It's not 100% clear that they are separate, at first glance, > as packaging currently doesn't make a strong distinction between > things going on at "build" time, and things going on at > "install" > time. This is es

Re: [Python-Dev] Packaging and binary distributions

2011-11-07 Thread Paul Moore
On 7 November 2011 09:26, Vinay Sajip wrote: > Martin v. Löwis v.loewis.de> writes: > >> >> Again, that's a bdist_msi implementation issue. It could generate custom >> actions that run the "proper" setup.cfg hooks (I presume - I have no >> idea what a setup.cfg hook actually is). >> > > I know th

Re: [Python-Dev] Packaging and binary distributions

2011-11-07 Thread Vinay Sajip
Martin v. Löwis v.loewis.de> writes: > > Again, that's a bdist_msi implementation issue. It could generate custom > actions that run the "proper" setup.cfg hooks (I presume - I have no > idea what a setup.cfg hook actually is). > I know that custom hooks are quite powerful, but my comment was

[Python-Dev] Failed issue tracker submission

2011-11-07 Thread Python tracker
The node specified by the designator in the subject of your message ("13661") does not exist. Subject was: "[issue13661] [status=closed; resolution=fixed; stage=committed/rejected]" Mail Gateway Help = Incoming messages are examined for multiple parts: . In a multipart/mixed