Martin v. Löwis <martin <at> v.loewis.de> writes: > > I don't think that's possible. The regex engine can also operate on > objects whose representation may move in memory when you don't hold > the GIL (e.g. buffers that get mutated).
Why is it a problem? If we get a buffer through the new buffer API, the object should ensure that the representation isn't moved away until the buffer is released. Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com