Fredrik Lundh wrote: > Georg Brandl wrote: > >>> The example code causes segfaults and probably always has (at last to 2.2) >> >> Interesting! From a naive POV, the docs' example is quite right. > > except that it doesn't work? I wanted to say: From looking at the docs only, it should be alright. > the problem is that it's using a *high-level* API to manipulate objects > that are not properly initialized. The docs for PyList_New don't tell the user that the list object isn't properly initialized, etc. > the documentation should be fixed Clearly. I'll do that (if the release managers give permission) Georg
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