[Bf-python] Thought about IRC meeting and beyond

Yann Vernier yann at donkey.dyndns.org
Tue Jan 10 18:00:55 CET 2006


On Mon, 09 Jan 2006 13:45:28 -0500
Joseph Gilbert <jgilbert at tigr.ORG> wrote:

> Again I feel that PyObject_IsTrue is too liberal for use with
> tp_getset. However I may be (other than theeth) the only person to
> feel that 'wassup' != True.

As far as Python is concerned, 'wassup' != True. However, 'wassup' has
the property of being true. Forcing scripters to adopt the curious
writing style "var and True" or "bool(var)" seems a bit odd to me;
several importers may be making use of that little shortcut of string
non-emptiness meaning presence. Restricting our arguments that way is
more complicated for both scripters and BPy developers. 



More information about the Bf-python mailing list