"Raymond Hettinger" <raymond.hettinger@verizon.net> writes: > I'm about to start working on this one and wanted > to check here first to make sure there is still a > demand for it and to get ideas on the best implementation > strategy. > Unfortunately sizeof() is implemented in ctypes with different sematics, there it has the same meaning as sizeof() in C, and only works on ctypes' data types: sizeof(c_int) == 4 on 32-bit machines. But I'm afraid a Python builtin sizeof() would win, so do I have to choose a different name? > I'm thinking of summing all of the tp_basicsize slots > while recursing through tp_traverse. > > > Raymond Hettinger Thomas
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