Serhiy Storchaka added the comment: > Serhiy: See > http://svn.python.org/projects/external/tcl-8.6.1.0/generic/tclDecls.h > where it now is > EXTERN CONST86 Tcl_ObjType * Tcl_GetObjType(const char *typeName);
Oh, my fault. I did not notice that my tcl workspace was switched to 8.3 branch. > I think the patch is wrong as it stands, as "const" is not a reserved word > in C89. "const" was introduced in ANSI C (aka C89) and it is reserved word. The patch is correct because even if Tcl_GetObjType() returns "Tcl_ObjType *", the result is compatible with "Tcl_ObjType const *" (or "const Tcl_ObjType *"). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22136> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com