[Python-modules-team] Bug#789330: closed by Dmitry Shachnev
Dmitry Shachnev
mitya57 at debian.org
Thu Jun 25 12:29:44 UTC 2015
Hi Enno,
On Thu, 25 Jun 2015 14:14:32 +0200, Enno wrote:
> Dear Dmitry,
>
> Not quite satisfactory:
> They want to tell me, that with the upgrade a line like
> QString('blahmooh').startswith('blah')
> is going to return True instead of raising an AttributeError like now?
There will be no QString at all — any method that returns a QString in C++
will return a native Python string in PyQt.
Try it yourself with:
import sip
sip.setapi('QString', 2)
See http://pyqt.sourceforge.net/Docs/PyQt4/incompatible_apis.html for details.
Any discussion on changing the behavior should happen upstream, we (Debian)
are not really deciding anything here.
--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20150625/6bb72c86/attachment.sig>
More information about the Python-modules-team
mailing list