Fredrik Lundh wrote: >... > besides, what about buffers and threads? if you > return a pointer from getreadbuf, wouldn't it be > good to know exactly when Python doesn't need > that pointer any more? explicit initbuffer/exitbuffer > calls around each sequence of buffer operations > would make that a lot safer... This is a pretty obvious one, I think: it lasts only as long as the object. PyString_AS_STRING is similar. Nothing new or funny here. Cheers, -g -- Greg Stein, http://www.lyra.org/
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