This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: ob_size not removed from docs
Type: Stage:
Components: Documentation Versions: Python 3.0
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: exe, georg.brandl
Priority: normal Keywords:

Created on 2008-12-03 16:13 by exe, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg76829 - (view) Author: Kandalintsev Alexandre (exe) Date: 2008-12-03 16:13
Hello!

In http://docs.python.org/dev/3.0/extending/newtypes.html we see ob_size 
in object definition.

But if we are look on PyTypeObject in ./Include/object.h we will find 
that there no ob_size defined.


So we must remove this string from noddy_NoddyType definition or segfault 
will occur:
    0,                         /*ob_size*/
msg77026 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-12-05 15:12
Thanks, fixed in r67578.
History
Date User Action Args
2022-04-11 14:56:42adminsetgithub: 48755
2008-12-05 15:12:35georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg77026
2008-12-03 16:13:47execreate