Alexander Belopolsky schrieb: > Another reason is that POSIX interprets negative values of ssize_t as > "an error indication", not as an offset from the end. A better POSIX > analogy would be off_t (as used in lseek). That's subtle. By this reasoning, ptrdiff_t would be wrong, as well, since it really means "negative index", not "count from the end". >> In the discussion, ptrdiff_t was never brought up as an alternative > > Yes, it was, by you <http://mail.python.org/pipermail/python-dev/2006- > January/059562.html> :-). Ah, that's why it isn't ptrdiff_t: Tim Peters said he liked ssize_t > I was not suggesting Py_ptrdiff_t. My suggestion was "Py_index_t", > but I am six month late :-(. Indeed, it is too late for such a change. 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