[issue4345] Implement nb_nonzero for PyTclObject

Guilherme Polo report at bugs.python.org
Wed Aug 4 22:14:12 CEST 2010


Guilherme Polo <ggpolo at gmail.com> added the comment:

Mark,

If you want to expand it to handle other data types, I'm ok with it
but I predict troubles for you. The problem is that in Tcl there is
only one "real" data type -- string. Depending on how you operate over
a value it is then, internally, treated as something more specific but
this is not directly exposed for the "API users".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4345>
_______________________________________


More information about the Python-bugs-list mailing list