>> A better rule would be "you may access the memory buffer in a PyString >> or PyUnicode object with the GIL released as long as you own a >> reference to the string object." Everything else is out of bounds (or >> not worth the bother). > > Is that a "yes" regarding the OP's original question about releasing the > GIL during regexp searches? No, because the regex engine may also operate on buffers that start moving around when you release the GIL. Regards, Martin
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