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? the problem is that it's using a *high-level* API to manipulate objects that are not properly initialized. the documentation should be fixed (doctest for the C API, anyone?) </F> _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com