Guido van Rossum wrote:
> On 2/26/07, Travis Oliphant <[EMAIL PROTECTED]> wrote:
> 
>>Guido van Rossum wrote:
>>
> 
> 
> Excellent. Are we all set then?
> 

One more question?  What is the reason for separate read/write getbuffer 
calls.  What is the problem with just one getbuffer call with a flag to 
indicate whether or not you want a writeable memory area?

I prefer fewer function pointers because it means that extension types 
must implement fewer functions.  But, either way.

I know there is some stylistic distaste for "flags" in APIs.  One could 
still keep two C-API calls for getting read-only and writeable buffers.


-Travis


_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to