Guilherme Polo <ggp...@gmail.com> added the comment: > I assume that Tcl_GetCharLength works for any object, regardless of > its internal representation?
I didn't look at its code but I assume it will create a string representation for the object in question if there isn't one in place when the call happens, so this means I /believe/ it will work for any Tcl object. > Can you update the patch for py3k, and add docs and tests? I can do it (maybe the test part may not be excellent), but not at this moment. Btw, I'm happy that you mentioned that doc requirement about unexpected results because I was going to write about it in my previous reply but I thought my English could hurt its meaning and negatively affect you. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4345> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com