Neil Schemenauer <nas@python.ca> writes: > Tim Peters wrote: > > Recommended Practice > > > > When backward compatibility is not a concern, using this subset of > > the raw memory and object memory APIs is recommended: > > > > PyMem_{Malloc, Realloc, Free} > > PyObject_{Malloc, Realloc, Free} > > PyObject_{New, NewVar} > > This should probably come up front in the documentation. All the rest > is historical crap. :-) We should probably provide an example of preprocessor hackery that lets you use these interfaces and remain backward compatible as far as possible. Maybe even a little .h file which we can suggest extension authors bundle with their extensions. Cheers, M. -- On the other hand, the following areas are subject to boycott in reaction to the rampant impurity of design or execution, as determined after a period of study, in no particular order: ... http://www.naggum.no/profile.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