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

Antoine Pitrou solipsis at pitrou.net
Mon May 4 22:15:21 CEST 2009


Mark Dickinson <dickinsm <at> gmail.com> writes:
> 
> I *think* that third party code that's recompiled for 3.1 and that
> doesn't use the closure field will either just work, or will produce an
> easily-fixed compile error.  Larry, does this sound right?

This doesn't sound right. The functions in the third party code will get
compiled with the wrong signature, so they can crash (or behave unexpectedly)
when called by Python.





More information about the Python-Dev mailing list