Hi,

The latest pyqt (3.15) with sip 4.3.1 seems to disallow None to be passed
into any Qt function expecting a QString.  For example, adding a line
to tut1.py:
    button.setText(None)
produced a blank button in earlier pyqt releases, but now gives an error:
    Runtime Error: cannot pass None as argument 0 in this call

Is this an intended change?

(Also, the 0-based error message is intentional, or off-by-one?)

Rgds

Anthony

This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market prices,
data and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein 
do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries 
and affiliates.

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to