On Tue, Aug 24, 2010 at 8:32 AM, Sivan Greenberg <[email protected]> wrote:
> On Tue, Aug 24, 2010 at 3:21 PM, Anderson Lizardo
> <[email protected]> wrote:
>> fact Python does not do that with its builtin functions (please
>> provide some example of this, if that's the case). Functions that
>> require strings usually require you first converting the argument
>> using str() or "%s", **unless** the variable being passed is a subtype
>> of str or has the string protocol, in which case the "conversion" is
>> expected (technically, I think a conversion does not occur).
>
> Indeed , and Matti just sent an interactive snippet that proves that.
> The 'strongly typed' sort of nature has helped me to spot numerous odd
> behaviors through conversion errors with the built-ins.

Oops, my bad, I didn't notice that e-mail...

Well, the QString -> str replacement in the exceptions messages remain
as an open bug :)

Regards,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to