On Sat, Mar 3, 2012 at 12:39 AM, Stefan Behnel <stefan_ml at behnel.de> wrote: >> I keep failing to see the interest in making this an error in the first > place. Why would the object that bf_getbuffer() is being called on have to > be identical with the one that exports the buffer? OK, I misunderstood your suggestion. So you actually want to just remove the assert altogether, thus allowing delegation of the buffer API by defining *only* the getbuffer slot and setting obj to point to a different object? I don't see any obvious problems with that, either. It would need new test cases and some documentation updates, though. Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4