[Python-Dev] PEP 384: a request for PyType_Slot

2009-05-22 Thread Lisandro Dalcin
Martin, a small request. Any chance you consider defining PyType_Slot like below? typedef struct{ int slot;/* slot id, see below */ void *pdata; /* data pointer */ void (*pfunc)(void); /* function pointer */ } PyType_Slot Or perhaps other way? Just to avoid compilers complaining about

Re: [Python-Dev] PEP 384: Defining a Stable ABI

2009-05-22 Thread Martin v. Löwis
> Something I haven't seen explicitly mentioned as yet (in the PEP or the > python-dev list discussion) are the memory management APIs and the FILE* > APIs which can cause the MSVCRT versioning issues on Windows. > > Those would either need to be excluded from the stable ABI or else > changed to u

Re: [Python-Dev] PEP 384: Defining a Stable ABI

2009-05-22 Thread Antoine Pitrou
Jim Jewett gmail.com> writes: > > > The accessor macros to these fields (Py_REFCNT, Py_TYPE, Py_SIZE) > > are also available to applications. > > There have been several experiments in memory management, ranging from > not bothering to change the refcount on permanent objects like None, > to pro

[Python-Dev] PEP 384: Defining a Stable ABI

2009-05-22 Thread Jim Jewett
Martin v. Löwis wrote: > - PyGetSetDef (name, get, set, doc, closure) Is it fully decided that the generally-unused closure parameter will stay until python 4? > The accessor macros to these fields (Py_REFCNT, Py_TYPE, Py_SIZE) > are also available to applications. There have been several expe

Re: [Python-Dev] PEP 376 : Changing the .egg-info structure

2009-05-22 Thread Tarek Ziadé
On Wed, May 20, 2009 at 11:48 AM, Tarek Ziadé wrote: > So I guess I'll start this prototype in bitbucket and come back with it for > feedback > in Distutils-SIG, for a new PEP 376 round. Ok so FYI, I moved the discussion here: http://mail.python.org/pipermail/distutils-sig/2009-May/011933.html

[Python-Dev] Summary of Python tracker Issues

2009-05-22 Thread Python tracker
ACTIVITY SUMMARY (05/15/09 - 05/22/09) Python tracker at http://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue number. Do NOT respond to this message. 2195 open (+35) / 15716 closed (+24) / 17911 total (+59) Open issues with patches: 863 Average

Re: [Python-Dev] [Fwd: Re: PEP 384: Defining a Stable ABI]

2009-05-22 Thread William Reade
William Reade wrote: 2) Since it hasn't always been in place, its introduction won't help me in the short term: there are an awful lot of extension modules that use excluded functions (for example, all(?) PyCxx modules use PyCode_New and PyFrame_New to get nicer tracebacks), and I'll still hav