Mark Dickinson <dicki...@gmail.com> added the comment:

I'd call this a new feature;  removing 2.7 and 3.1 from versions.

The patch needs updating for py3k, which should be a fairly simple task.

I don't know much about Tcl, but wouldn't this change give quite confusing 
results for numeric values?  Presumably, all integers and floats would have a 
bool() of True?  (Or am I misunderstanding?)  I'm not sure what the value of 
implementing __nonzero__ is if it only works as expected for strings.

----------
nosy: +mark.dickinson
type:  -> feature request
versions:  -Python 2.7, Python 3.1

_______________________________________
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

Reply via email to