[Python-Dev] Proposed: drop unnecessary "context" pointer from PyGetSetDef

Amaury Forgeot d'Arc amauryfa at gmail.com
Mon May 4 19:17:15 CEST 2009


Hi,

Larry Hastings wrote:
>
> Mark Dickinson wrote:
>>
>> Still, binary compatibility seems like a fairly strong reason not to
>> remove the closure field.
>
> My understanding is that there a) 2.x extension modules are not binary
> compatible with 3.x, and b) there are essentially no 3.x extension modules
> in the field.  Is that accurate?  If we don't have an installed base (yet)
> to worry about, now's the time to make this change.

cx_Oracle at least uses this closure field, and has already been ported to 3.x:
http://www.google.com/codesearch?q=Connection_SetOCIAttr+trunk

-- 
Amaury Forgeot d'Arc


More information about the Python-Dev mailing list