2012/1/19 Gregory P. Smith <greg at krypto.org> > str[-1] is not likely to work if you want to maintain ABI compatibility. > Appending it to the data after the terminating \0 is more likely to be > possible, but if there is any possibility that existing compiled extension > modules have somehow inlined code to do allocation of the str field even > that is questionable (i don't think there are?). There are. Unfortunately. https://github.com/numpy/numpy/blob/master/numpy/core/src/multiarray/scalarapi.c#L710 -- Amaury Forgeot d'Arc -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20120121/39d5e94d/attachment.html>
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