[Python-Dev] PySet API

Alex Martelli aleax at mac.com
Mon Mar 27 18:17:24 CEST 2006

On Mar 27, 2006, at 7:20 AM, Raymond Hettinger wrote:

> Why don't we expose _PySet_Next() for Barry and leave it out of the  
> public API
> for everyone else.

There are precedents for adding some functionality to the C API but  
not documenting it to ensure "non advanced users" don't get hurt --  
that's how we added the ability to raise exceptions in different  
threads, in particular. Not sure if this is the best solution here,  
but I'm just pointing out that it's definitely not "unthinkable",  
procedurally speaking.


More information about the Python-Dev mailing list